Public holidays API by country and year
Nationwide public holidays for a year in the US (federal), UK (England and Wales), Sweden, Germany, France, Norway, Denmark and Finland: date, local and English name, and the weekday it is observed on where a weekend moves it. Computed from statutory rules for 2024-2100. Use for scheduling, delivery dates and business-day maths.
When to use it
- List a country's public holidays for scheduling
- Skip holidays when planning deliveries or meetings
Guide: Public holidays API
Inputs
| Name | Type | Description |
|---|---|---|
country (required) | string | ISO 3166-1 alpha-2 code: US, GB (UK), SE, DE, FR, NO, DK or FI; English country names also work |
year | integer | Year, 2024-2100 (default this year) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/holidays?country=SE"
Or one of your 25 free calls, no key:
curl "https://tools.funwords.eu/holidays?country=SE&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"country": "SE",
"countryName": "Sweden",
"year": 2026,
"count": 13,
"holidays": [
{
"date": "2026-01-01",
"localName": "Nyårsdagen",
"name": "New Year's Day",
"nationwide": true,
"types": [
"Public"
],
"observed": null
}
],
"note": "Computed from statutory rules; nationwide holidays only. Regional holidays and one-off proclamations are not included."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is holidays, and the first 25 successful calls are free:
https://tools.funwords.eu/mcp
Questions
Which countries?
Countries covered by the Nager.Date public holiday data, by two-letter code.
How do I pay?
Each successful call costs $0.01; failed calls are not charged. The first 25 calls are free. Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.