Public holidays for any country and year, plus optional business-day checking
Public holidays for any country and year, plus optional business-day checking. Pass country= (ISO alpha-2) and year=; add date= to learn whether that day is a business day, whether it is a weekend or public holiday, the holiday name, and the next business day. Covers 100+ countries. JSON response. $0.01 USDC per call, pay via x402, no API key.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-12
updated
Provider
toolcall.click · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x84FA7Ea8303d4f503267e2e998A3F7D980e814a5",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"country": "US",
"year": 2026
},
"type": "http"
},
"output": {
"example": {
"country": "US",
"dateCheck": {
"date": "2026-07-04",
"isBusinessDay": false,
"isPublicHoliday": true,
"nextBusinessDay": "2026-07-06"
},
"holidayCount": 11,
"holidays": [
{
"date": "2026-01-01",
"global": true,
"name": "New Year's Day"
}
],
"year": 2026
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"country": {
"description": "ISO 3166 alpha-2 country code, e.g. US, GB, DE",
"type": "string"
},
"date": {
"description": "YYYY-MM-DD to run a business-day check, optional",
"type": "string"
},
"year": {
"description": "Year, default current",
"type": "integer"
}
},
"required": [
"country"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://toolcall.click/t/time/holidays" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://toolcall.click/t/time/holidays");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://toolcall.click/t/time/holidays")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1072.json, and this resource appears in /discovery/resources and /discovery/search.