Public Holidays API Blog
Practical guides for developers working with public holiday data. Ready to build? Read the API documentation.
Public holidays by country 2026 & 2027Every holiday date, weekday and long weekend for 195 countries.
Public Holidays API Pricing: Which Plan Do You Need?
Choosing a public holidays API plan comes down to two numbers: how many calls your application makes each month, and whether you need date ranges. The HolidaysMap API has a free plan for testing and four paid levels. Each one is priced in euros, with a monthly or a yearly option. This guide compares the plans and…

Get Public Holidays for a Date Range with One API Call
To get every public holiday between two dates, send one request with a start date and an end date. The API returns all matching holidays in a single response, so you do not need to make one call per day. Range queries are available on the Premium plan and above. If you are on the Free or Basic plan, see the pricing…

Export Public Holidays to Excel or Google Sheets as CSV
You can export public holidays to a CSV file and open it in Excel or Google Sheets. This is useful for planning a project calendar, a staff rota or a delivery schedule. The HolidaysMap API creates the CSV for you, so you do not need to copy dates by hand. This guide is for people who use a spreadsheet, and for…

Make Your First Public Holidays API Request in Five Minutes
You can make your first public holidays request in about five minutes. You need an account, your API key and one command. This guide walks through each step and explains the errors you are most likely to see. Go to the sign-up page and create an account. The free plan includes 100 calls a month and needs no payment…

Public Holidays API Limits: Monthly Calls and the 429 Error
The HolidaysMap API has two limits. Each plan has a monthly number of calls, and the holidays endpoint also limits how many requests one IP address can send in a minute. Knowing both limits helps you avoid errors and keeps your application working during busy periods. Your plan sets how many calls you can make in a…

How to Calculate Business Days Excluding Public Holidays
To calculate business days between two dates, count every day in the range that is not a weekend and not a public holiday in the relevant country. Weekends are simple to detect from the calendar; public holidays differ by country and change every year, so they should come from a data source instead of being…

How to Check if a Date Is a Public Holiday with an API
To check whether a date is a public holiday, send one request to a public holidays API with a country code and a date. If the response contains holidays, the date is a public holiday in that country; if it is empty, it is a regular day. With the HolidaysMap API that is a single GET request to /api/v1/holidays. A free…

Public Holidays JSON: Format, Fields and How to Use It
A public holidays API returns a JSON object with a list of holidays, where each holiday has a name, a date, a flag that says whether it is a public holiday, and the country it belongs to. This page explains the response of the HolidaysMap API field by field and shows how to read it safely. Always use ispublic to…