[{"data":"01/01/2023","feriado":"Ano Novo","tipo":"feriado"},{"data":"19/03/2023","feriado":"Dia de Sao Jose","tipo":"feriado"},{"data":"07/04/2023","feriado":"Sexta-Feira Santa","tipo":"feriado"},{"data":"21/04/2023","feriado":"Dia de Tiradentes","tipo":"feriado"},{"data":"01/05/2023","feriado":"Dia do Trabalho","tipo":"feriado"},{"data":"15/05/2023","feriado":"Dia de Cabralzinho","tipo":"feriado"},{"data":"07/09/2023","feriado":"Independencia do Brasil","tipo":"feriado"},{"data":"13/09/2023","feriado":"Aniversario da criacao do ex-territorio federal do Amapa","tipo":"feriado"},{"data":"12/10/2023","feriado":"Nossa Senhora Aparecida","tipo":"feriado"},{"data":"02/11/2023","feriado":"Dia de Finados","tipo":"feriado"},{"data":"15/11/2023","feriado":"Proclamacao da Republica","tipo":"feriado"},{"data":"20/11/2023","feriado":"Dia da Consciencia Negra","tipo":"feriado"},{"data":"25/12/2023","feriado":"Natal","tipo":"feriado"},{"data":"20/02/2023","feriado":"Carnaval","tipo":"facultativo"},{"data":"21/02/2023","feriado":"Carnaval","tipo":"facultativo"},{"data":"22/02/2023","feriado":"Carnaval","tipo":"facultativo"},{"data":"08/06/2023","feriado":"Corpus Christi","tipo":"facultativo"},{"data":"15/10/2023","feriado":"Dia do Professor","tipo":"facultativo"},{"data":"28/10/2023","feriado":"Dia do Servidor Publico","tipo":"facultativo"}]
curl --location --request GET 'https://zylalabs.com/api/2093/brazil+holidays+api/1873/holidays+by+state?estado=AP&ano=2023' --header 'Authorization: Bearer YOUR_API_KEY'
[
{
"data": "01/01/2023",
"feriado": "Ano Novo",
"tipo": "feriado"
},
{
"data": "07/04/2023",
"feriado": "Sexta-Feira Santa",
"tipo": "feriado"
},
{
"data": "07/04/2023",
"feriado": "Sexta-feira Santa",
"tipo": "feriado"
},
{
"data": "21/04/2023",
"feriado": "Dia de Tiradentes",
"tipo": "feriado"
},
{
"data": "01/05/2023",
"feriado": "Dia do Trabalho",
"tipo": "feriado"
},
{
"data": "08/06/2023",
"feriado": "Corpus Christi",
"tipo": "feriado"
},
{
"data": "15/08/2023",
"feriado": "Assuncao de Nossa Senhora",
"tipo": "feriado"
},
{
"data": "07/09/2023",
"feriado": "Independencia do Brasil",
"tipo": "feriado"
},
{
"data": "12/10/2023",
"feriado": "Nossa Senhora Aparecida",
"tipo": "feriado"
},
{
"data": "02/11/2023",
"feriado": "Dia de Finados",
"tipo": "feriado"
},
{
"data": "15/11/2023",
"feriado": "Proclamacao da Republica",
"tipo": "feriado"
},
{
"data": "08/12/2023",
"feriado": "Imaculada Conceicao",
"tipo": "feriado"
},
{
"data": "25/12/2023",
"feriado": "Natal",
"tipo": "feriado"
},
{
"data": "20/02/2023",
"feriado": "Carnaval",
"tipo": "facultativo"
},
{
"data": "21/02/2023",
"feriado": "Carnaval",
"tipo": "facultativo"
},
{
"data": "21/02/2023",
"feriado": "Terca de Carnaval",
"tipo": "facultativo"
},
{
"data": "22/02/2023",
"feriado": "Carnaval",
"tipo": "facultativo"
},
{
"data": "08/06/2023",
"feriado": "Corpus Christi",
"tipo": "facultativo"
},
{
"data": "15/10/2023",
"feriado": "Dia do Professor",
"tipo": "facultativo"
},
{
"data": "28/10/2023",
"feriado": "Dia do Servidor Publico",
"tipo": "facultativo"
}
]
curl --location --request GET 'https://zylalabs.com/api/2093/brazil+holidays+api/1874/holidays+by+state+and+city?ano=Required&cidade=Required&estado=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 Brazil Holidays 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 🎉)
Trusted by leading companies
The Brazil Holidays API is a complete solution that provides accurate and up-to-date information about public holidays in Brazil. Designed to simplify the management and planning of holidays, this API offers developers a wealth of data and functionality related to Brazilian holidays.
One of the main features of the Brazil Holidays API is its extensive database of national, regional and municipal holidays in Brazil. It covers a wide range of holidays, including public holidays and celebrations, allowing companies and individuals to stay informed about upcoming holidays and their specific details. Whether it is a federal holiday, such as Independence Day, or a regional holiday celebrated in a particular state, this API provides reliable and detailed information to facilitate accurate holiday scheduling.
The API provides vacation information in JSON format, a widely supported and versatile data interchange format. JSON makes it easy to parse and manipulate vacation data, allowing developers to efficiently extract the information needed for their specific use cases. By returning data in this standardized format, the Brazil Holidays API ensures compatibility and ease of integration across multiple programming languages, frameworks and platforms.
The API offers several two endpoints to retrieve holiday information based on specific parameters such as year, state and city. Developers can easily query the API for a list of holidays for a particular year. This flexibility allows companies to seamlessly integrate the Brazil Holidays API into their applications, websites or internal systems, providing users with accurate and relevant holiday data.
The API is updated periodically to reflect any changes or additions to the Brazilian public holiday calendar. It ensures that users have access to the most accurate and up-to-date holiday information, eliminating the need for manual updates or maintenance.
It will receive parameters and provide you with a JSON.
Vacation Planning: Use the API to provide users with information about upcoming holidays in Brazil, helping them plan their vacations and optimize their travel.
Employee scheduling: Integrate the API into workforce management systems to take holidays into account when creating employee schedules, ensuring proper staffing and avoiding conflicts.
Marketing campaigns: Incorporate the API into marketing platforms to schedule specific campaigns around relevant holidays, allowing companies to interact with customers during holiday periods.
E-commerce promotions: Use the API to automatically trigger special promotions or discounts during holidays, attracting more customers and increasing sales.
Resource allocation: Companies can optimize resource allocation with holidays in mind, using the API to identify periods of high demand or potential staff shortages.
Besides the number of API calls, there are no other limitations.
The Brazil Holidays API returns holiday information in JSON format. Each endpoint provides a list of holidays, including dates, names, and types (e.g., federal or optional) for specified states or cities.
The key fields in the response data include "data" (the holiday date), "feriado" (the holiday name), and "tipo" (the type of holiday, such as "feriado" or "facultativo").
The endpoints accept parameters such as "state," "city," and "year." Users can customize their requests by specifying these parameters to retrieve relevant holiday data.
The response data is organized as an array of objects, each representing a holiday. Each object contains fields for the date, holiday name, and type, making it easy to parse and utilize.
Each endpoint provides information on public holidays, including national, regional, and municipal holidays. Users can access details about specific holidays based on the selected state or city.
Data accuracy is maintained through periodic updates to reflect changes in the Brazilian public holiday calendar. The API sources its data from official government announcements and reliable databases.
Typical use cases include vacation planning, employee scheduling, marketing campaigns, e-commerce promotions, and resource allocation, allowing businesses and individuals to optimize their operations around holidays.
Users can utilize the returned data by integrating it into applications for scheduling, planning, or marketing. The structured JSON format allows for easy parsing and manipulation to fit specific use cases.
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