78trust / 100

Time Calendar

by Duo Data Utilities in Productivity & SaaS

x402 APIPassing, checked 29 min ago

Convert a Gregorian date to other calendar systems: 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.

GET https://api.duoleads.com/v1/time/calendar

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
146 ms typical, 449 ms slowest 5%
Last check
29 min ago
Next check
in 3 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.duoleads.com/v1/time/calendar?date=2026-09-28&to=islamic%2Chebrew%2Cjapanese"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.duoleads.com%2Fv1%2Ftime%2Fcalendar
const res = await pay("https://api.duoleads.com/v1/time/calendar?date=2026-09-28&to=islamic%2Chebrew%2Cjapanese");
console.log(await res.json());

Example input

{
  "date": "2026-09-28",
  "to": "islamic,hebrew,japanese"
}

Example output

{
  "data": {
    "calendars": {
      "hebrew": {
        "algorithm": "Hebrew calendar (months numbered from Tishri = 1)",
        "day": 17,
        "era": "AM",
        "formatted": "17 Tishri 5787",
        "month": 1,
        "month_name": "Tishri",
        "year": 5787
      },
      "islamic": {
        "algorithm": "tabular civil (islamic-civil)",
        "day": 15,
        "era": "AH",
        "formatted": "Rabiʻ II 15, 1448 AH",
        "month": 4,
        "month_name": "Rabiʻ II",
        "year": 1448
      },
      "japanese": {
        "algorithm": "Japanese imperial eras on the Gregorian calendar",
        "day": 28,
        "era": "Reiwa",
        "formatted": "September 28, 8 Reiwa",
        "month": 9,
        "month_name": "September",
        "year": 8
      }
    },
    "gregorian": "2026-09-28"
  },
  "meta": {
    "computed_at": "2026-09-28T12:00:00.000Z",
    "deterministic": true,
    "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
    "price_usd": "0.05",
    "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
  },
  "ok": true,
  "route": "/v1/time/calendar",
  "version": "1.0.0"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
29 min agoPassed402146 ms$0.05
5 h agoPassed40247 ms$0.05
8 h agoPassed402449 ms$0.05
12 h agoPassed402229 ms$0.05
16 h agoPassed40245 ms$0.05
19 h agoPassed402680 ms$0.05
24 h agoPassed40259 ms$0.05