CalendarPublic API
Holidays
Historical data regarding holidays
Before you call it
What this listing means in practice
You will need an API key
Register with the provider, create a key and send it in the header or query parameter their documentation specifies. Keys usually belong in environment variables, never in client-side code.
HTTPS supported
Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.
CORS not confirmed
If CORS is not enabled, call this API from a server, serverless function or build step and proxy the response to your frontend.
Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.
https://holidayapi.com/No API calls are proxied by this directory. Links go directly to the provider.
API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.
Overview
About Holidays
Holidays needs an API key, like 5 other calendar APIs in the directory. If you want something to test with straight away, 15 calendar APIs need no key at all.
It supports HTTPS but CORS is not confirmed, so plan to call it from a server or serverless function. That is true for 12 of the 22 APIs in this category.
Documentation is on holidayapi.com.
Calendar APIs in general
Calendar APIs mostly answer one question: is this date a holiday, and where? A few also handle scheduling and full calendar sync.
What people build with them
- Skipping public holidays in delivery estimates
- Payroll and leave calculations
- Showing local holidays in a booking app
Watch out for
Holiday rules differ by region inside a country. Check whether the API supports states or provinces before using it for payroll.
First request
Calling Holidays
Check the docs for the exact header or query parameter name. Some providers use X-API-Key or ?apikey= instead of a Bearer token.
JavaScript (server)// Keep the key in an environment variable, never in frontend code
const res = await fetch("https://holidayapi.com/<endpoint>", {
headers: { Authorization: `Bearer ${process.env.HOLIDAYS_API_KEY}` },
});
const data = await res.json();Compare
Holidays vs similar APIs
| API | Auth | HTTPS | CORS |
|---|---|---|---|
| Holidays | API key | Yes | Unknown |
| The Calendar | No key | Yes | Yes |
| Non-Working Days | No key | Yes | Yes |
| Namedays Calendar | No key | Yes | Yes |
| Intellibook | No key | Yes | Yes |
| India Public Holidays | No key | Yes | Yes |
FAQ
Common questions about Holidays
Does Holidays need an API key?
Yes. You need to register with Holidays and send your key with each request, as described in its documentation.
Can I call Holidays from the browser?
CORS is not confirmed, so the browser may block direct calls. Call it from your server or a serverless function and pass the result to your frontend.
Is Holidays free?
We do not track pricing. Many keyed APIs have a free tier with limits. The Holidays documentation lists current plans.
What are some alternatives to Holidays?
Other calendar APIs in the directory include The Calendar (no key), Non-Working Days (no key), Namedays Calendar (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.
Same category
More Calendar APIs
Next step
Keep looking until the constraints fit.
Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.