The Global Holiday Data Fetcher API allows you to determine whether a specific date is a holiday in any country in the world. Designed for users who need accurate holiday data, this API offers a simple way to integrate real-time holiday detection into your applications, calendars, human resources systems, and logistics platforms.
With a simple query that includes the country code and date, the API returns a clear and structured response, for example, is_holiday: true, along with additional information such as the name of the holiday, the local celebration, and whether it is a national, regional, or bank holiday. This enables seamless automation of workflows that depend on accurate scheduling and time-based decision-making.
The data is continuously updated to reflect official changes, ensuring high reliability and global coverage. The API supports all countries and includes localized information about holidays, making it ideal for international teams, travel agencies, and global service providers who need to adapt their operations based on regional celebrations.
By integrating the Global Holiday Data Fetcher API, you can enhance your applications with real-time information on international holidays, reduce scheduling errors, and improve global coordination. Whether you manage international teams, automate processes, or develop location-aware applications, this API provides the accuracy and reliability needed to ensure your systems are always in sync with holiday calendars around the world.
Get the available countries for which you can consult information about public holidays.
[{"country_code":"AD","name":"Andorra"},{"country_code":"AL","name":"Albania"},{"country_code":"AM","name":"Armenia"},{"country_code":"AR","name":"Argentina"},{"country_code":"AT","name":"Austria"},{"country_code":"AU","name":"Australia"},{"country_code":"AX","name":"Åland Islands"},{"country_code":"BA","name":"Bosnia and Herzegovina"},{"country_code":"BB","name":"Barbados"},{"country_code":"BE","name":"Belgium"},{"country_code":"BG","name":"Bulgaria"},{"country_code":"BJ","name":"Benin"},{"country_code":"BO","name":"Bolivia"},{"country_code":"BR","name":"Brazil"},{"country_code":"BS","name":"Bahamas"},{"country_code":"BW","name":"Botswana"},{"country_code":"BY","name":"Belarus"},{"country_code":"BZ","name":"Belize"},{"country_code":"CA","name":"Canada"},{"country_code":"CD","name":"DR Congo"},{"country_code":"CG","name":"Congo"},{"country_code":"CH","name":"Switzerland"},{"country_code":"CL","name":"Chile"},{"country_code":"CN","name":"China"},{"country_code":"CO","name":"Colombia"},{"country_code":"CR","name":"Costa Rica"},{"country_code":"CU","name":"Cuba"},{"country_code":"CY","name":"Cyprus"},{"country_code":"CZ","name":"Czechia"},{"country_code":"DE","name":"Germany"},{"country_code":"DK","name":"Denmark"},{"country_code":"DO","name":"Dominican Republic"},{"country_code":"EC","name":"Ecuador"},{"country_code":"EE","name":"Estonia"},{"country_code":"EG","name":"Egypt"},{"country_code":"ES","name":"Spain"},{"country_code":"FI","name":"Finland"},{"country_code":"FO","name":"Faroe Islands"},{"country_code":"FR","name":"France"},{"country_code":"GA","name":"Gabon"},{"country_code":"GB","name":"United Kingdom"},{"country_code":"GD","name":"Grenada"},{"country_code":"GE","name":"Georgia"},{"country_code":"GG","name":"Guernsey"},{"country_code":"GI","name":"Gibraltar"},{"country_code":"GL","name":"Greenland"},{"country_code":"GM","name":"Gambia"},{"country_code":"GR","name":"Greece"},{"country_code":"GT","name":"Guatemala"},{"country_code":"GY","name":"Guyana"},{"country_code":"HK","name":"Hong Kong"},{"country_code":"HN","name":"Honduras"},{"country_code":"HR","name":"Croatia"},{"country_code":"HT","name":"Haiti"},{"country_code":"HU","name":"Hungary"},{"country_code":"ID","name":"Indonesia"},{"country_code":"IE","name":"Ireland"},{"country_code":"IM","name":"Isle of Man"},{"country_code":"IS","name":"Iceland"},{"country_code":"IT","name":"Italy"},{"country_code":"JE","name":"Jersey"},{"country_code":"JM","name":"Jamaica"},{"country_code":"JP","name":"Japan"},{"country_code":"KR","name":"South Korea"},{"country_code":"KZ","name":"Kazakhstan"},{"country_code":"LI","name":"Liechtenstein"},{"country_code":"LS","name":"Lesotho"},{"country_code":"LT","name":"Lithuania"},{"country_code":"LU","name":"Luxembourg"},{"country_code":"LV","name":"Latvia"},{"country_code":"MA","name":"Morocco"},{"country_code":"MC","name":"Monaco"},{"country_code":"MD","name":"Moldova"},{"country_code":"ME","name":"Montenegro"},{"country_code":"MG","name":"Madagascar"},{"country_code":"MK","name":"North Macedonia"},{"country_code":"MN","name":"Mongolia"},{"country_code":"MS","name":"Montserrat"},{"country_code":"MT","name":"Malta"},{"country_code":"MX","name":"Mexico"},{"country_code":"MZ","name":"Mozambique"},{"country_code":"NA","name":"Namibia"},{"country_code":"NE","name":"Niger"},{"country_code":"NG","name":"Nigeria"},{"country_code":"NI","name":"Nicaragua"},{"country_code":"NL","name":"Netherlands"},{"country_code":"NO","name":"Norway"},{"country_code":"NZ","name":"New Zealand"},{"country_code":"PA","name":"Panama"},{"country_code":"PE","name":"Peru"},{"country_code":"PG","name":"Papua New Guinea"},{"country_code":"PH","name":"Philippines"},{"country_code":"PL","name":"Poland"},{"country_code":"PR","name":"Puerto Rico"},{"country_code":"PT","name":"Portugal"},{"country_code":"PY","name":"Paraguay"},{"country_code":"RO","name":"Romania"},{"country_code":"RS","name":"Serbia"},{"country_code":"RU","name":"Russia"},{"country_code":"SE","name":"Sweden"},{"country_code":"SG","name":"Singapore"},{"country_code":"SI","name":"Slovenia"},{"country_code":"SJ","name":"Svalbard and Jan Mayen"},{"country_code":"SK","name":"Slovakia"},{"country_code":"SM","name":"San Marino"},{"country_code":"SR","name":"Suriname"},{"country_code":"SV","name":"El Salvador"},{"country_code":"TN","name":"Tunisia"},{"country_code":"TR","name":"Türkiye"},{"country_code":"UA","name":"Ukraine"},{"country_code":"US","name":"United States"},{"country_code":"UY","name":"Uruguay"},{"country_code":"VA","name":"Vatican City"},{"country_code":"VE","name":"Venezuela"},{"country_code":"VN","name":"Vietnam"},{"country_code":"ZA","name":"South Africa"},{"country_code":"ZW","name":"Zimbabwe"}]
curl --location --request GET 'https://zylalabs.com/api/10756/global+holiday+data+fetcher+api/20377/countries' --header 'Authorization: Bearer YOUR_API_KEY'
Returns whether a specific date is a holiday in a given country.
{"is_holiday":true}
curl --location --request GET 'https://zylalabs.com/api/10756/global+holiday+data+fetcher+api/20381/check+holiday+by+date&country_code=Required&/=Required&year=Required&/=Required&month=Required&/=Required&day=Required' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The "GET Countries" endpoint returns a list of countries with their corresponding country codes. The "GET Check Holiday by date" endpoint returns whether a specific date is a holiday in a given country, along with additional details like the holiday name and type.
For the "GET Countries" endpoint, key fields include "country_code" and "name." For the "GET Check Holiday by date" endpoint, the key field is "is_holiday," indicating if the date is a holiday, along with optional fields for holiday name and type.
The response data is structured in JSON format. The "GET Countries" endpoint returns an array of country objects, while the "GET Check Holiday by date" endpoint returns a single object with holiday status and details.
The "GET Countries" endpoint provides a comprehensive list of countries available for holiday checks. The "GET Check Holiday by date" endpoint offers information on whether a specific date is a holiday, including the holiday's name and classification (national, regional, bank).
The "GET Check Holiday by date" endpoint requires two parameters: "country_code" (the ISO code of the country) and "date" (the date to check in YYYY-MM-DD format). The "GET Countries" endpoint does not require any parameters.
Data accuracy is maintained through continuous updates that reflect official changes in holiday schedules. The API sources its data from reliable governmental and official holiday calendars to ensure high reliability.
Typical use cases include integrating holiday data into applications for scheduling, automating HR systems to account for holidays, and enhancing logistics platforms to avoid scheduling conflicts during holidays.
Users can utilize the returned data by checking the "is_holiday" field to determine scheduling needs. The holiday name and type can help in customizing user experiences or planning events around holidays in specific regions.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
163ms
Service Level:
100%
Response Time:
81ms
Service Level:
100%
Response Time:
451ms
Service Level:
100%
Response Time:
1,366ms
Service Level:
100%
Response Time:
6,797ms
Service Level:
40%
Response Time:
120ms
Service Level:
100%
Response Time:
157ms
Service Level:
100%
Response Time:
76ms
Service Level:
100%
Response Time:
2,040ms
Service Level:
100%
Response Time:
1,158ms
Service Level:
100%
Response Time:
1,381ms
Service Level:
100%
Response Time:
464ms
Service Level:
100%
Response Time:
1,064ms
Service Level:
100%
Response Time:
302ms
Service Level:
100%
Response Time:
234ms
Service Level:
100%
Response Time:
274ms
Service Level:
100%
Response Time:
330ms
Service Level:
100%
Response Time:
3,967ms
Service Level:
100%
Response Time:
7,904ms
Service Level:
100%
Response Time:
190ms