Calendar conversion API

Use the Calendar conversion API to retrieve Gregorian date as structured JSON from Calendar. Choose date, destination and year as optional query conditions to select the source records or view required for your request. Use these results to convert dates between supported calendar systems and connect the equivalent dates in a schedule. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (12)
Gregorian date (YYYY-MM-DD); default today.
Comma-separated target calendars: hebrew, persian, islamic, islamic-civil, chinese, dangi, indian, ethiopic, coptic, buddhist, japanese, roc, gregorian (default: the main ones).
Convert from this calendar instead (with year, month, day).
Year in that calendar.
Month number in that calendar (Hebrew: civil order from Tishri).
Day of the month.
1 for a Chinese or Korean leap month.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

{
  "cached": false,
  "conversions": {
    "buddhist": {
      "calendar": "buddhist",
      "day": 3,
      "era": "BE",
      "formatted": "Tuesday, November 3, 2569 BE",
      "formatted_native": "3 พฤศจิกายน 2569",
      "month": 11,
      "month_name": "November",
      "year": 2569
    },
    "chinese": {
      "calendar": "chinese",
      "day": 25,
      "era": null,
      "formatted": "Tuesday, Ninth Month 25, 2026(bing-wu)",
      "formatted_native": "2026丙午年九月廿五",
      "month": 9,
      "month_name": "Ninth Month",
      "related_gregorian_year": 2026,
      "year": 2026
    },
    "coptic": {
      "calendar": "coptic",
      "day": 24,
      "era": "AM",
      "formatted": "Tuesday, Baba 24, 1743 AM",
      "formatted_native": "Baba 24, 1743 AM",
      "month": 2,
      "month_name": "Baba",
      "year": 1743
    },
    "ethiopic": {
      "calendar": "ethiopic",
      "day": 24,
      "era": "AM",
      "formatted": "Tuesday, Tekemt 24, 2019 AM",
      "formatted_native": "24 ጥቅምት 2019 AM",
      "month": 2,
      "month_name": "Tekemt",
      "year": 2019
    },
    "hebrew": {
      "calendar": "hebrew",
      "day": 23,
      "era": "AM",
      "formatted": "Tuesday, 23 Heshvan 5787",
      "formatted_native": "57870223 12:00 PM",
      "month": 2,
      "month_name": "Heshvan",
      "year": 5787
    },
    "indian": {
      "calendar": "indian",
      "day": 12,
      "era": "Śaka",
      "formatted": "Tuesday, Kartika 12, 1948 Śaka",
      "formatted_native": "12 कार्तिक 1948 शक",
      "month": 8,
      "month_name": "Kartika",
      "year": 1948
    },
    "islamic": {
      "calendar": "islamic-umalqura",
      "day": 23,
      "era": "AH",
      "formatted": "Tuesday, Jumada I 23, 1448 AH",
      "formatted_native": "23 جمادى الأولى 1448 هـ",
      "month": 5,
      "month_name": "Jumada I",
      "year": 1448
    },
    "japanese": {
      "calendar": "japanese",
      "day": 3,
      "era": "Reiwa",
      "formatted": "Tuesday, November 3, 8 Reiwa",
      "formatted_native": "令和8年11月3日",
      "month": 11,
      "month_name": "November",
      "year": 8
    },
    "persian": {
      "calendar": "persian",
      "day": 12,
      "era": "AP",
      "formatted": "Tuesday, Aban 12, 1405 AP",
      "formatted_native": "۱۲ آبان ۱۴۰۵",
      "month": 8,
      "month_name": "Aban",
      "year": 1405
    }
  },
  "credits_used": 1,
  "day_of_week": "Tuesday",
  "from": "gregorian",
  "gregorian": "2026-11-03",
  "julian_day": 2461349
}

Response result

Response structure

Inferred from examples
  • cachedboolean
  • conversionsobject
    • buddhistobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • chineseobject
      • calendarstring
      • dayinteger
      • eranull
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • related_gregorian_yearinteger
      • yearinteger
    • copticobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • ethiopicobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • hebrewobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • indianobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • islamicobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • japaneseobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
    • persianobject
      • calendarstring
      • dayinteger
      • erastring
      • formattedstring
      • formatted_nativestring
      • monthinteger
      • month_namestring
      • yearinteger
  • credits_usedinteger
  • day_of_weekstring
  • fromstring
  • gregorianstring
  • julian_dayinteger

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Calendar conversion API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.