Business-day count excluding weekends and full-day Public or Bank holidays; Optional and H
Business-day count excluding weekends and full-day Public or Bank holidays; Optional and HalfDay observances remain business days.
5000 (raw units)
price
4
calls / 30d
3
unique payers
2026-09-17
updated
Provider
holidays.use.x402atlas.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x8C128f1Ee62Bb5e47867CfbAe2ad89be325Df1b2",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "calendar",
"info": {
"input": {
"method": "GET",
"queryParams": {
"country": "DE",
"from": "2026-01-01",
"language": "EN",
"subdivision": "DE-BE",
"to": "2026-01-10"
},
"type": "http"
},
"output": {
"example": {
"business_days": 6,
"country": "DE",
"from": "2026-01-01",
"holiday_weekdays": 1,
"queried_at": "2026-07-27T12:00:00Z",
"subdivision": "DE-BE",
"to": "2026-01-10",
"total_days": 10,
"weekend_days": 3
},
"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": "Supported ISO 3166-1 alpha-2 country code: AD Andorra; AL Albania; AT Austria; BE Belgium; BG Bulgaria; BR Brazil; BY Belarus; CH Switzerland; CZ Czechia; DE Germany; EE Estonia; ES Spain; FR France; HR Croatia; HU Hungary; IE Ireland; IT Italy; LI Liechtenstein; LT Lithuania; LU Luxembourg; LV Latvia; MC Monaco; MD Moldova; MT Malta; MX Mexico; NL Netherlands; PL Poland; PT Portugal; RO Romania; RS Serbia; SE Sweden; SI Slovenia; SK Slovakia; SM San Marino; VA Vatican City; ZA South Africa.",
"enum": [
"AD",
"AL",
"AT",
"BE",
"BG",
"BR",
"BY",
"CH",
"CZ",
"DE",
"EE",
"ES",
"FR",
"HR",
"HU",
"IE",
"IT",
"LI",
"LT",
"LU",
"LV",
"MC",
"MD",
"MT",
"MX",
"NL",
"PL",
"PT",
"RO",
"RS",
"SE",
"SI",
"SK",
"SM",
"VA",
"ZA"
],
"type": "string"
},
"from": {
"description": "Inclusive range start",
"format": "date",
"type": "string"
},
"language": {
"description": "Optional two-letter ISO 639-1 result language. Defaults to English when available.",
"pattern": "^[A-Z]{2}$",
"type": "string"
},
"subdivision": {
"description": "Optional regional subdivision code beginning with the selected country code, for example DE-BE.",
"maxLength": 20,
"pattern": "^[A-Z]{2}-.+$",
"type": "string"
},
"to": {
"description": "Inclusive range end, at most 365 days after from",
"format": "date",
"type": "string"
}
},
"required": [
"country",
"from",
"to"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"business_days": {
"type": "integer"
},
"country": {
"type": "string"
},
"from": {
"format": "date",
"type": "string"
},
"holiday_weekdays": {
"description": "Weekdays closed by full-day Public or Bank holidays",
"type": "integer"
},
"queried_at": {
"format": "date-time",
"type": "string"
},
"subdivision": {
"type": "string"
},
"to": {
"format": "date",
"type": "string"
},
"total_days": {
"type": "integer"
},
"weekend_days": {
"type": "integer"
}
},
"required": [
"country",
"from",
"to",
"total_days",
"business_days",
"weekend_days",
"holiday_weekdays",
"queried_at"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"business-days",
"working-days",
"public-holidays",
"date-range",
"payroll",
"sla-deadlines",
"scheduling"
]
}
}Use it
curl
curl "https://holidays.use.x402atlas.com/business-days" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://holidays.use.x402atlas.com/business-days");
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://holidays.use.x402atlas.com/business-days")
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/1376.json, and this resource appears in /discovery/resources and /discovery/search.