{"slug":"api-duoleads-com-v1-time-calendar-63f768","title":"Convert a Gregorian date to other calendar systems and back","host":"api.duoleads.com","method":"GET","resource":"https://api.duoleads.com/v1/time/calendar","category":"other","description":"Convert a Gregorian date to other calendar systems and back: Islamic (both the tabular civil calendar and the Umm al-Qura variant), Hebrew, Japanese imperial era, Republic of China, Buddhist and Persian. Also computes Easter Sunday for a year in both the Gregorian and Julian reckonings. Uses the cal","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":23,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"date":"2026-09-28","to":"islamic,hebrew,japanese"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"date":{"description":"Gregorian date YYYY-MM-DD. Required when op=convert.","maxLength":32,"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"op":{"default":"convert","description":"convert (default) a Gregorian date, or easter for a year.","enum":["convert","easter"],"maxLength":64,"type":"string"},"rite":{"default":"western","description":"Easter reckoning: western (default) or eastern.","enum":["western","eastern"],"maxLength":64,"type":"string"},"to":{"description":"Comma-separated calendar ids: islamic, islamic-umalqura, hebrew, japanese, roc, buddhist, persian. Default all.","maxLength":256,"type":"string"},"year":{"description":"Year for op=easter, 326-9999.","maxLength":64,"pattern":"^[+-]?\\d+$","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"type":"object"},"meta":{"properties":{"computed_at":{"type":"string"},"deterministic":{"type":"boolean"},"disclaimer":{"type":"string"},"price_usd":{"type":"string"},"request_id":{"type":"string"},"sources":{"type":"array"}},"required":["request_id","computed_at","price_usd","deterministic","disclaimer"],"type":"object"},"ok":{"const":true,"type":"boolean"},"route":{"type":"string"},"version":{"type":"string"}},"required":["ok","route","version","data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":23,"error":null}],"description_full":"Convert a Gregorian date to other calendar systems and back: Islamic (both the tabular civil calendar and the Umm al-Qura variant), Hebrew, Japanese imperial era, Republic of China, Buddhist and Persian. Also computes Easter Sunday for a year in both the Gregorian and Julian reckonings. Uses the calendar support built into the runtime, with the algorithm named in every response.","last_updated":"2026-09-28T23:37:54.583Z","schemes":["exact"]}