71trust / 100

Holidays

by Busker Holidays & Business Days in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Public holidays for ~200 countries and their subdivisions, plus business-day arithmetic: is this date a holiday or business day, next business day, add N business days, count business days between dates. Configurable weekend and holiday types.

POST https://workbot1.oddsys.org/holidays

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
2.2 s typical, 2.3 s slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://workbot1.oddsys.org/holidays" \
  -H "content-type: application/json" \
  -d '{"country":"US","days":3,"from":"2026-12-24"}'
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%2Fworkbot1.oddsys.org%2Fholidays
const res = await pay("https://workbot1.oddsys.org/holidays", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"country":"US","days":3,"from":"2026-12-24"}),
});
console.log(await res.json());

Example input

{
  "country": "US",
  "days": 3,
  "from": "2026-12-24"
}

Example output

{
  "calendar": {
    "country": "US",
    "countryName": "United States of America",
    "source": "date-holidays ruleset (data CC-BY-3.0, attribution required if redistributed)",
    "types": [
      "public"
    ],
    "weekend": [
      "Sunday",
      "Saturday"
    ]
  },
  "days": 3,
  "from": "2026-12-24",
  "result": "2026-12-30",
  "skipped": {
    "holidays": [
      {
        "date": "2026-12-25",
        "name": "Christmas Day"
      }
    ],
    "weekendDays": 2
  },
  "weekday": "Wednesday"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed4022.2 s$0.002
7 h agoPassed4022.3 s$0.002
11 h agoPassed4024.3 s$0.002
15 h agoPassed4022.2 s$0.002
18 h agoPassed4022.2 s$0.002
22 h agoPassed4022.1 s$0.002
25 h agoPassed4022.2 s$0.002
29 h agoPassed4022.2 s$0.002
34 h agoPassed4022.2 s$0.002