43trust / 100

Calendar Convert

by Saylor Innovations Data Desk in Documents & files

x402 APIFailing, checked 3 h ago

Convert a Gregorian date into the Islamic, Hebrew, Chinese, Persian, Indian, Buddhist, Japanese era, Coptic, Ethiopic and Minguo calendars with Julian day

GET
https://saylorinnovations.com/api/calendar/convert
Price
$0.01
per call in USDC
Uptime
75.5%
last 30 days
Response time
210 ms
512 ms slowest 5%
Last check
Failed
3 h ago, next in 23 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 3 h ago: Expected HTTP 402, got 404

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://saylorinnovations.com/api/calendar/convert

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://saylorinnovations.com/api/calendar/convert?date=2026-10-17

Parameters

ParameterTypeRequiredDescription
datestringNooptional Gregorian date YYYY-MM-DD, default today

Example response

The provider's example. We can't check it without paying.

Example response, 111 lines
{
  "calendars": {
    "buddhist": {
      "calendar": "Buddhist",
      "day": "17",
      "era": "BE",
      "formatted": "October 17, 2569 BE",
      "month": "October",
      "year": "2569",
      "year_name": null
    },
    "chinese": {
      "calendar": "Chinese",
      "day": "8",
      "era": null,
      "formatted": "Ninth Month 8, 2026(bing-wu)",
      "month": "Ninth Month",
      "year": "2026",
      "year_name": "bing-wu"
    },
    "coptic": {
      "calendar": "Coptic",
      "day": "7",
      "era": "AM",
      "formatted": "Baba 7, 1743 AM",
      "month": "Baba",
      "year": "1743",
      "year_name": null
    },
    "ethiopic": {
      "calendar": "Ethiopic",
      "day": "7",
      "era": "AM",
      "formatted": "Tekemt 7, 2019 AM",
      "month": "Tekemt",
      "year": "2019",
      "year_name": null
    },
    "hebrew": {
      "calendar": "Hebrew",
      "day": "6",
      "era": "AM",
      "formatted": "6 Heshvan 5787 AM",
      "month": "Heshvan",
      "year": "5787",
      "year_name": null
    },
    "indian": {
      "calendar": "Indian national (Saka)",
      "day": "25",
      "era": "Śaka",
      "formatted": "Asvina 25, 1948 Śaka",
      "month": "Asvina",
      "year": "1948",
      "year_name": null
    },
    "islamic-civil": {
      "calendar": "Islamic (civil)",
      "day": "5",
      "era": "AH",
      "formatted": "Jumada I 5, 1448 AH",
      "month": "Jumada I",
      "year": "1448",
      "year_name": null
    },
    "islamic-umalqura": {
      "calendar": "Islamic (Umm al-Qura)",
      "day": "6",
      "era": "AH",
      "formatted": "Jumada I 6, 1448 AH",
      "month": "Jumada I",
      "year": "1448",
      "year_name": null
    },
    "japanese": {
      "calendar": "Japanese era",
      "day": "17",
      "era": "Reiwa",
      "formatted": "October 17, 8 Reiwa",
      "month": "October",
      "year": "8",
      "year_name": null
    },
    "persian": {
      "calendar": "Persian (Solar Hijri)",
      "day": "25",
      "era": "AP",
      "formatted": "Mehr 25, 1405 AP",
      "month": "Mehr",
      "year": "1405",
      "year_name": null
    },
    "roc": {
      "calendar": "Minguo (Republic of China)",
      "day": "17",
      "era": "Minguo",
      "formatted": "October 17, 115 Minguo",
      "month": "October",
      "year": "115",
      "year_name": null
    }
  },
  "gregorian": {
    "date": "2026-10-17",
    "day_of_year": 290,
    "julian_day_number": 2461331,
    "weekday": "Saturday"
  },
  "note": "Computed with the ICU calendar data in the runtime. Religious calendars that depend on moon sighting (Islamic civil/Umm al-Qura, Hebrew) are the standard arithmetic or tabular forms; the observed start of a month can differ by a day.",
  "source": "ICU / Intl calendars"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/calendar/convert?date=2026-10-17'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/calendar/convert?date=2026-10-17' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fcalendar%2Fconvert
const res = await pay("https://saylorinnovations.com/api/calendar/convert?date=2026-10-17");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://saylorinnovations.com/api/calendar/convert?date=2026-10-17")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoExpected HTTP 402, got 404404217 ms-
34 h agoTimed out---
4 days agoExpected HTTP 402, got 404404172 ms-
4 days agoPassed402296 ms$0.01
5 days agoPassed402339 ms$0.01
Show 10 older checks
6 days agoPassed402370 ms$0.01
6 days agoPassed402303 ms$0.01
7 days agoPassed402512 ms$0.01
7 days agoPassed402219 ms$0.01
8 days agoPassed402415 ms$0.01
8 days agoPassed402517 ms$0.01
9 days agoPassed402432 ms$0.01
9 days agoPassed402466 ms$0.01
10 days agoPassed402649 ms$0.01
10 days agoPassed402210 ms$0.01

History

2 Nov 2026Price on Solana changed from 101538 units of So11111111111111111111111111111111111111112 to 102417 units of So11111111111111111111111111111111111111112
2 Nov 2026Price on Solana changed from 103554 units of So11111111111111111111111111111111111111112 to 101538 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102666 units of So11111111111111111111111111111111111111112 to 103554 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 102266 units of So11111111111111111111111111111111111111112 to 102666 units of So11111111111111111111111111111111111111112
1 Nov 2026Price on Solana changed from 101315 units of So11111111111111111111111111111111111111112 to 102266 units of So11111111111111111111111111111111111111112
29 Oct 2026Price on Solana changed from 94901 units of So11111111111111111111111111111111111111112 to 96401 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 96143 units of So11111111111111111111111111111111111111112 to 94901 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95284 units of So11111111111111111111111111111111111111112 to 96143 units of So11111111111111111111111111111111111111112
28 Oct 2026Price on Solana changed from 95877 units of So11111111111111111111111111111111111111112 to 95284 units of So11111111111111111111111111111111111111112
27 Oct 2026Price on Solana changed from 96469 units of So11111111111111111111111111111111111111112 to 95877 units of So11111111111111111111111111111111111111112
26 Oct 2026Price on Solana changed from 95378 units of So11111111111111111111111111111111111111112 to 96469 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 96058 units of So11111111111111111111111111111111111111112 to 95378 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 95480 units of So11111111111111111111111111111111111111112 to 96058 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 94781 units of So11111111111111111111111111111111111111112 to 95480 units of So11111111111111111111111111111111111111112
25 Oct 2026Price on Solana changed from 95641 units of So11111111111111111111111111111111111111112 to 94781 units of So11111111111111111111111111111111111111112