Public Holidays API: Free JSON by Country
Public holidays for 204 countries, 2025 to 2028, as JSON: the date, the English and the local name, and whether the holiday applies nationwide or only in some regions. Free, with no key.
Try it live
API playground
Request code
The code follows the form above and always uses the production address.
Endpoints
| Endpoint | What it returns |
|---|---|
| GET /api/v1/holidays | Public holidays from the site's static Nager.Date files (2025–2028). Regional holidays are included and flagged with their subdivisions. |
| GET /api/v1/calendar | A month laid out in ISO weeks (Monday first) with ISO week numbers. With "country", that country's weekend days and public holidays are marked and its business days counted. |
| GET /api/v1/countries/{cc} | Capital, population, area, calling code, currency, weekend days, public-holiday coverage and every time zone of the country with its current offset and largest cities. |
| GET /api/v1/countries | Countries known to the site, with capital, IANA time zones and the years of public-holiday data available. |
Things worth knowing before you build on it
- Regional holidays are included, not hidden. Each entry has “nationwide”; when it is false, “subdivisions” lists the ISO 3166-2 codes of the regions that observe it. Filter on that field if you only want the holidays everyone gets.
- The data covers 2025–2028. A year or a country without data answers 404 (year_not_found or country_not_found) instead of an empty list, so “no holidays” can never be confused with “no data”.
- Only public holidays are in the data: school holidays, bank-only holidays and observances are not.
- Holidays set by decree or by moon sighting — Eid, for example — are published as calculated or announced dates and can move. Each response carries “lastUpdated”, the date the data was generated.
- To see what is covered,
/api/v1/countrieslists every country with its “publicHolidayYears”; an empty list means there is no holiday data for it. - Responses may be cached for a day, and the data only changes when the site is rebuilt: fetch a year once and keep it.
A real request and its response
France in 2026. Names come in English and in the local language:
curl 'https://clockcrest.com/api/v1/holidays?country=FR&year=2026'
{
"country": "FR",
"countryName": "France",
"year": 2026,
"count": 11,
"holidays": [
{
"date": "2026-01-01",
"name": "New Year's Day",
"localName": "Jour de l'an",
"nationwide": true,
"types": ["Public"]
},
// … 10 more
],
"source": "Nager.Date",
"sourceUrl": "https://date.nager.at",
"dataYears": [2025, 2026, 2027, 2028],
"lastUpdated": "2026-11-30"
}Every example is real output, captured on 2026-12-01 from a local run of the same code. Live values differ. Shortened: long lists show their first item and a “// … N more” line.
Questions and answers
Where does the holiday data come from?
From Nager.Date, an open public-holiday project. The site keeps a static copy and serves it from there, so a request never depends on a third-party service being up. Every response names the source and the date the copy was generated.
Which countries are missing?
Holiday data exists for 204 countries. The developer overview lists the countries and territories without data; requests for them answer 404.
Can I get a whole month laid out as a calendar?
Yes. /api/v1/calendar returns a month in ISO weeks with week numbers and, when you pass a country, marks its weekend days and public holidays and counts its business days.
Does it tell me which days are the weekend?
Yes. /api/v1/countries/{cc} returns the weekend days of a country — Friday and Saturday in several countries — next to its holiday coverage and time zones.