[{"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/10753/retrieve+worldwide+holiday+information+api/20380/countries' --header 'Authorization: Bearer YOUR_API_KEY'
{"is_holiday":true}
curl --location --request GET 'https://zylalabs.com/api/10753/retrieve+worldwide+holiday+information+api/20382/check+holiday+by+date&country_code=Required&/=Required&year=Required&/=Required&month=Required&/=Required&day=Required' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Retrieve Worldwide Holiday Information API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
The Retrieve Worldwide Holiday Information 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 Retrieve Worldwide Holiday Information 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.
The "GET Countries" endpoint returns a list of countries with their respective country codes and names. The "GET Check Holiday by date" endpoint returns a boolean indicating if a specific date is a holiday, 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," which indicates if the date is a holiday, along with optional fields for holiday name and type.
The "GET Check Holiday by date" endpoint requires two parameters: "country_code" (to specify the country) and "date" (to specify the date to check). The "GET Countries" endpoint does not require any parameters.
The response from the "GET Countries" endpoint is structured as an array of objects, each containing "country_code" and "name." The "GET Check Holiday by date" endpoint returns a JSON object with "is_holiday" and potentially other holiday details.
The holiday data is sourced from official government and public holiday calendars, ensuring accuracy and reliability. Continuous updates are made to reflect any changes in holiday designations.
Typical use cases include scheduling applications, HR systems for managing employee leave, logistics planning to avoid delays, and travel agencies needing to inform clients about local holidays.
Users can utilize the "is_holiday" field to automate scheduling decisions, while additional holiday details can enhance user interfaces by providing context about local celebrations, improving user experience.
If the "GET Check Holiday by date" endpoint returns an empty result, it indicates that the date is not a holiday. Users should implement logic to handle such cases, possibly by providing default scheduling options or alerts for non-holiday dates.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund