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.
To use this endpoint, simply enter in the parameters the addition of a capitalized state along with a year.
Holidays by state - Endpoint Features
| Object | Description |
|---|---|
estado |
[Required] |
ano |
[Required] |
[{"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'
To use this endpoint, simply enter in the parameters the addition of a state with its city and insert a year.
Holidays by state and city - Endpoint Features
| Object | Description |
|---|---|
ano |
[Required] |
cidade |
[Required] |
estado |
[Required] |
[
{
"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'
| 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 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.
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:
451ms
Service Level:
100%
Response Time:
304ms
Service Level:
100%
Response Time:
157ms
Service Level:
40%
Response Time:
122ms
Service Level:
100%
Response Time:
163ms
Service Level:
100%
Response Time:
81ms
Service Level:
75%
Response Time:
295ms
Service Level:
100%
Response Time:
97ms
Service Level:
100%
Response Time:
218ms
Service Level:
100%
Response Time:
1,366ms
Service Level:
100%
Response Time:
636ms
Service Level:
100%
Response Time:
1,364ms
Service Level:
100%
Response Time:
1,021ms
Service Level:
100%
Response Time:
943ms
Service Level:
100%
Response Time:
271ms
Service Level:
100%
Response Time:
1,107ms
Service Level:
100%
Response Time:
1,674ms
Service Level:
100%
Response Time:
1,139ms
Service Level:
100%
Response Time:
478ms
Service Level:
100%
Response Time:
1,923ms