List the official holidays for a country and year, with exact observed dates inc
List the official holidays for a country and year, with exact observed dates including substitute days (e.g. a Saturday July 4th observed on Friday). Query: country (ISO 3166-1 alpha-2, 200+ supported), year, optional region (subdivision code like CA for US-California or BY for DE-Bavaria), optional types filter (public, bank, school, optional, observance — comma-separated), optional lang (ISO 639-1) for localized names. Returns one item per holiday: { date (YYYY-MM-DD), name, type, substitute, rule }. Dates are computed from maintained per-country rules — including movable feasts and lunar-calendar holidays — so they stay correct year over year. Use for scheduling, delivery estimates, payment terms, and SLA math.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://2s.io/api/calendar/holidays
| Category | Code and developer |
|---|---|
| Provider host | 2s.io |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 5 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.0025 | 397 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"country": "US",
"types": "public",
"year": "2026"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"method": {
"const": "GET"
},
"queryParams": {
"properties": {
"country": {
"description": "ISO 3166-1 alpha-2 country code, e.g. US, DE, JP.",
"type": "string"
},
"lang": {
"description": "Optional ISO 639-1 language for holiday names.",
"type": "string"
},
"region": {
"description": "Optional subdivision code, e.g. CA (US-California), BY (DE-Bavaria).",
"type": "string"
},
"types": {
"description": "Optional comma-separated filter: public, bank, school, optional, observance.",
"type": "string"
},
"year": {
"description": "Calendar year, e.g. 2026.",
"type": "string"
}
},
"required": [
"country",
"year"
]
},
"type": {
"const": "http"
}
},
"required": [
"type",
"method",
"queryParams"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}