81trust / 100

Proxy Holidays

by Public Holidays API in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Public and bank holidays for 200+ countries and their regions (states, cantons) for any year, with local names. Optionally check whether a given date is a holiday. Params: country (ISO 3166-1 alpha-2, required, e.g. DE, US, CH, JP), region (e.g. BY, CA, ZH), year (default current), date (YYYY-MM-DD to check), language (e.g. en), include_observances (default false).

POST https://agentsvc.io/api/v1/proxy/holidays

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
35 ms typical, 35 ms 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://agentsvc.io/api/v1/proxy/holidays" \
  -H "content-type: application/json" \
  -d '{"country":"DE","date":"2026-10-03","region":"BY","year":2026}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentsvc.io%2Fapi%2Fv1%2Fproxy%2Fholidays
const res = await pay("https://agentsvc.io/api/v1/proxy/holidays", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"country":"DE","date":"2026-10-03","region":"BY","year":2026}),
});
console.log(await res.json());

Example input

{
  "country": "DE",
  "date": "2026-10-03",
  "region": "BY",
  "year": 2026
}

Example output

{
  "data": {
    "count": 14,
    "country": "DE",
    "date_check": {
      "date": "2026-10-03",
      "is_holiday": true,
      "name": "Tag der Deutschen Einheit",
      "weekday": "Saturday"
    },
    "holidays": [
      {
        "date": "2026-01-01",
        "name": "Neujahr",
        "substitute": false,
        "type": "public"
      },
      {
        "date": "2026-01-06",
        "name": "Heilige Drei Könige",
        "substitute": false,
        "type": "public"
      }
    ],
    "region": "BY",
    "year": 2026
  },
  "success": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40235 ms$0.003