Public APIs
OpenHolidays API favicon

OpenHolidays API

Calendar

Public and school holidays for many countries via an open REST API.

OpenHolidays API's website screenshot

About OpenHolidays API

OpenHolidays API is an open data project providing a REST API for public holiday and school holiday data. It covers over 35 countries across Europe, the Americas, and Africa, including Germany, France, Italy, Spain, Brazil, Mexico, and South Africa, with data available from 2020 onward (public holidays only for some countries, such as Brazil, Mexico, and Sweden).

The API returns data as JSON or iCal format. Endpoints allow querying supported countries, available languages, principal administrative subdivisions (such as federal states or cantons), and groups (used for school holiday filters not tied to administrative units, such as language regions). Public and school holiday queries can be filtered by country, subdivision, date range (up to three years), and output language, with holiday names available in each country's official language(s) as well as German and English translations. Country codes follow ISO 3166-1, language codes follow ISO 639-1, and subdivision codes follow ISO 3166-2 and HASC.

This service is aimed at developers who need programmatic access to holiday data, such as for scheduling, calendar, or localization applications.

Key features

  • Public holiday data for 30+ countries via REST API
  • School holiday data with subdivision-level filtering (e.g. federal states, cantons)
  • Results available in JSON or iCal format
  • Multi-language holiday names, including translations into German and English
  • Query holidays for any date range up to three years
  • Country, language, and subdivision lookup endpoints using ISO 3166-1, ISO 639-1, and ISO 3166-2 codes

Frequently asked questions

Is the OpenHolidays API free to use?

It is described as a small Open Data project offering an open REST API interface, with no mention of paid plans or authentication requirements.

Which countries and data are covered?

It covers public holidays and/or school holidays for over 30 countries including Germany, France, Spain, Italy, and Brazil, generally starting from 2020.

What response formats does the API support?

Public holiday and school holiday data can be returned as JSON or in iCal format.

How do I filter school holidays by region?

School holidays can be queried per country and administrative subdivision (such as federal states or cantons), or by groups like holiday zones, language boundaries, or school types where subdivisions do not apply.

What is the maximum date range for a query?

Both public holiday and school holiday queries can cover any period as long as it does not exceed three years.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product