{
  "x402Version": 2,
  "id": 72377,
  "slug": "saylorinnovations-api-calendar-convert",
  "resource": "https://saylorinnovations.com/api/calendar/convert",
  "description": "Convert a Gregorian date into the Islamic, Hebrew, Chinese, Persian, Indian, Buddhist, Japanese era, Coptic, Ethiopic and Minguo calendars with Julian day",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "gregorian": {
        "type": "object",
        "description": "The input date with weekday, day of year and Julian day number"
      },
      "calendars": {
        "type": "object",
        "description": "The same date in each calendar (islamic, hebrew, chinese, persian, indian, buddhist, japanese, coptic, ethiopic, roc) with year, month, day, era and a formatted string"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "gregorian",
      "calendars"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "date": "2026-10-17"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "gregorian": {
              "date": "2026-10-17",
              "weekday": "Saturday",
              "day_of_year": 290,
              "julian_day_number": 2461331
            },
            "calendars": {
              "islamic-umalqura": {
                "calendar": "Islamic (Umm al-Qura)",
                "year": "1448",
                "month": "Jumada I",
                "day": "6",
                "era": "AH",
                "year_name": null,
                "formatted": "Jumada I 6, 1448 AH"
              },
              "islamic-civil": {
                "calendar": "Islamic (civil)",
                "year": "1448",
                "month": "Jumada I",
                "day": "5",
                "era": "AH",
                "year_name": null,
                "formatted": "Jumada I 5, 1448 AH"
              },
              "hebrew": {
                "calendar": "Hebrew",
                "year": "5787",
                "month": "Heshvan",
                "day": "6",
                "era": "AM",
                "year_name": null,
                "formatted": "6 Heshvan 5787 AM"
              },
              "chinese": {
                "calendar": "Chinese",
                "year": "2026",
                "month": "Ninth Month",
                "day": "8",
                "era": null,
                "year_name": "bing-wu",
                "formatted": "Ninth Month 8, 2026(bing-wu)"
              },
              "persian": {
                "calendar": "Persian (Solar Hijri)",
                "year": "1405",
                "month": "Mehr",
                "day": "25",
                "era": "AP",
                "year_name": null,
                "formatted": "Mehr 25, 1405 AP"
              },
              "indian": {
                "calendar": "Indian national (Saka)",
                "year": "1948",
                "month": "Asvina",
                "day": "25",
                "era": "Śaka",
                "year_name": null,
                "formatted": "Asvina 25, 1948 Śaka"
              },
              "buddhist": {
                "calendar": "Buddhist",
                "year": "2569",
                "month": "October",
                "day": "17",
                "era": "BE",
                "year_name": null,
                "formatted": "October 17, 2569 BE"
              },
              "japanese": {
                "calendar": "Japanese era",
                "year": "8",
                "month": "October",
                "day": "17",
                "era": "Reiwa",
                "year_name": null,
                "formatted": "October 17, 8 Reiwa"
              },
              "coptic": {
                "calendar": "Coptic",
                "year": "1743",
                "month": "Baba",
                "day": "7",
                "era": "AM",
                "year_name": null,
                "formatted": "Baba 7, 1743 AM"
              },
              "ethiopic": {
                "calendar": "Ethiopic",
                "year": "2019",
                "month": "Tekemt",
                "day": "7",
                "era": "AM",
                "year_name": null,
                "formatted": "Tekemt 7, 2019 AM"
              },
              "roc": {
                "calendar": "Minguo (Republic of China)",
                "year": "115",
                "month": "October",
                "day": "17",
                "era": "Minguo",
                "year_name": null,
                "formatted": "October 17, 115 Minguo"
              }
            },
            "note": "Computed with the ICU calendar data in …",
            "source": "ICU / Intl calendars"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "description": "optional Gregorian date YYYY-MM-DD, default today"
                  }
                }
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "gregorian": {
                    "type": "object",
                    "description": "The input date with weekday, day of year and Julian day number"
                  },
                  "calendars": {
                    "type": "object",
                    "description": "The same date in each calendar (islamic, hebrew, chinese, persian, indian, buddhist, japanese, coptic, ethiopic, roc) with year, month, day, era and a formatted string"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "gregorian",
                  "calendars"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "convert a date to the hijri",
    "hebrew date for today",
    "chinese lunar calendar date",
    "persian solar hijri date",
    "gregorian to buddhist era year"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.938Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "optional Gregorian date YYYY-MM-DD, default today"
        }
      },
      "required": []
    },
    "exampleResponse": {
      "gregorian": {
        "date": "2026-10-17",
        "weekday": "Saturday",
        "day_of_year": 290,
        "julian_day_number": 2461331
      },
      "calendars": {
        "islamic-umalqura": {
          "calendar": "Islamic (Umm al-Qura)",
          "year": "1448",
          "month": "Jumada I",
          "day": "6",
          "era": "AH",
          "year_name": null,
          "formatted": "Jumada I 6, 1448 AH"
        },
        "islamic-civil": {
          "calendar": "Islamic (civil)",
          "year": "1448",
          "month": "Jumada I",
          "day": "5",
          "era": "AH",
          "year_name": null,
          "formatted": "Jumada I 5, 1448 AH"
        },
        "hebrew": {
          "calendar": "Hebrew",
          "year": "5787",
          "month": "Heshvan",
          "day": "6",
          "era": "AM",
          "year_name": null,
          "formatted": "6 Heshvan 5787 AM"
        },
        "chinese": {
          "calendar": "Chinese",
          "year": "2026",
          "month": "Ninth Month",
          "day": "8",
          "era": null,
          "year_name": "bing-wu",
          "formatted": "Ninth Month 8, 2026(bing-wu)"
        },
        "persian": {
          "calendar": "Persian (Solar Hijri)",
          "year": "1405",
          "month": "Mehr",
          "day": "25",
          "era": "AP",
          "year_name": null,
          "formatted": "Mehr 25, 1405 AP"
        },
        "indian": {
          "calendar": "Indian national (Saka)",
          "year": "1948",
          "month": "Asvina",
          "day": "25",
          "era": "Śaka",
          "year_name": null,
          "formatted": "Asvina 25, 1948 Śaka"
        },
        "buddhist": {
          "calendar": "Buddhist",
          "year": "2569",
          "month": "October",
          "day": "17",
          "era": "BE",
          "year_name": null,
          "formatted": "October 17, 2569 BE"
        },
        "japanese": {
          "calendar": "Japanese era",
          "year": "8",
          "month": "October",
          "day": "17",
          "era": "Reiwa",
          "year_name": null,
          "formatted": "October 17, 8 Reiwa"
        },
        "coptic": {
          "calendar": "Coptic",
          "year": "1743",
          "month": "Baba",
          "day": "7",
          "era": "AM",
          "year_name": null,
          "formatted": "Baba 7, 1743 AM"
        },
        "ethiopic": {
          "calendar": "Ethiopic",
          "year": "2019",
          "month": "Tekemt",
          "day": "7",
          "era": "AM",
          "year_name": null,
          "formatted": "Tekemt 7, 2019 AM"
        },
        "roc": {
          "calendar": "Minguo (Republic of China)",
          "year": "115",
          "month": "October",
          "day": "17",
          "era": "Minguo",
          "year_name": null,
          "formatted": "October 17, 115 Minguo"
        }
      },
      "note": "Computed with the ICU calendar data in …",
      "source": "ICU / Intl calendars"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "date": "2026-10-17"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "gregorian": {
                "date": "2026-10-17",
                "weekday": "Saturday",
                "day_of_year": 290,
                "julian_day_number": 2461331
              },
              "calendars": {
                "islamic-umalqura": {
                  "calendar": "Islamic (Umm al-Qura)",
                  "year": "1448",
                  "month": "Jumada I",
                  "day": "6",
                  "era": "AH",
                  "year_name": null,
                  "formatted": "Jumada I 6, 1448 AH"
                },
                "islamic-civil": {
                  "calendar": "Islamic (civil)",
                  "year": "1448",
                  "month": "Jumada I",
                  "day": "5",
                  "era": "AH",
                  "year_name": null,
                  "formatted": "Jumada I 5, 1448 AH"
                },
                "hebrew": {
                  "calendar": "Hebrew",
                  "year": "5787",
                  "month": "Heshvan",
                  "day": "6",
                  "era": "AM",
                  "year_name": null,
                  "formatted": "6 Heshvan 5787 AM"
                },
                "chinese": {
                  "calendar": "Chinese",
                  "year": "2026",
                  "month": "Ninth Month",
                  "day": "8",
                  "era": null,
                  "year_name": "bing-wu",
                  "formatted": "Ninth Month 8, 2026(bing-wu)"
                },
                "persian": {
                  "calendar": "Persian (Solar Hijri)",
                  "year": "1405",
                  "month": "Mehr",
                  "day": "25",
                  "era": "AP",
                  "year_name": null,
                  "formatted": "Mehr 25, 1405 AP"
                },
                "indian": {
                  "calendar": "Indian national (Saka)",
                  "year": "1948",
                  "month": "Asvina",
                  "day": "25",
                  "era": "Śaka",
                  "year_name": null,
                  "formatted": "Asvina 25, 1948 Śaka"
                },
                "buddhist": {
                  "calendar": "Buddhist",
                  "year": "2569",
                  "month": "October",
                  "day": "17",
                  "era": "BE",
                  "year_name": null,
                  "formatted": "October 17, 2569 BE"
                },
                "japanese": {
                  "calendar": "Japanese era",
                  "year": "8",
                  "month": "October",
                  "day": "17",
                  "era": "Reiwa",
                  "year_name": null,
                  "formatted": "October 17, 8 Reiwa"
                },
                "coptic": {
                  "calendar": "Coptic",
                  "year": "1743",
                  "month": "Baba",
                  "day": "7",
                  "era": "AM",
                  "year_name": null,
                  "formatted": "Baba 7, 1743 AM"
                },
                "ethiopic": {
                  "calendar": "Ethiopic",
                  "year": "2019",
                  "month": "Tekemt",
                  "day": "7",
                  "era": "AM",
                  "year_name": null,
                  "formatted": "Tekemt 7, 2019 AM"
                },
                "roc": {
                  "calendar": "Minguo (Republic of China)",
                  "year": "115",
                  "month": "October",
                  "day": "17",
                  "era": "Minguo",
                  "year_name": null,
                  "formatted": "October 17, 115 Minguo"
                }
              },
              "note": "Computed with the ICU calendar data in …",
              "source": "ICU / Intl calendars"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string",
                      "description": "optional Gregorian date YYYY-MM-DD, default today"
                    }
                  }
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "gregorian": {
                      "type": "object",
                      "description": "The input date with weekday, day of year and Julian day number"
                    },
                    "calendars": {
                      "type": "object",
                      "description": "The same date in each calendar (islamic, hebrew, chinese, persian, indian, buddhist, japanese, coptic, ethiopic, roc) with year, month, day, era and a formatted string"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "gregorian",
                    "calendars"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/calendar/convert?date=2026-10-17",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "gregorian": {},
    "calendars": {},
    "note": "string",
    "source": "string"
  }
}