Brazil Holidays API

Brazil Holidays API

With Brazil Holidays, access accurate data on holidays in Brazil. Simplify vacation planning and optimize business operations.

API description

About the API:  

 

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.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Vacation Planning: Use the API to provide users with information about upcoming holidays in Brazil, helping them plan their vacations and optimize their travel.

  2. Employee scheduling: Integrate the API into workforce management systems to take holidays into account when creating employee schedules, ensuring proper staffing and avoiding conflicts.

  3. Marketing campaigns: Incorporate the API into marketing platforms to schedule specific campaigns around relevant holidays, allowing companies to interact with customers during holiday periods.

  4. E-commerce promotions: Use the API to automatically trigger special promotions or discounts during holidays, attracting more customers and increasing sales.

  5. Resource allocation: Companies can optimize resource allocation with holidays in mind, using the API to identify periods of high demand or potential staff shortages.

 

Are there any limitations to your plans?

Besides the number of API calls, there are no other limitations.

API Documentation

Endpoints


To use this endpoint, simply enter in the parameters the addition of a capitalized state along with a year.



                                                                            
GET https://zylalabs.com/api/2093/brazil+holidays+api/1873/holidays+by+state
                                                                            
                                                                        

Holidays by state - Endpoint Features
Object Description
estado [Required]
ano [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"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"}]
                                                                                                                                                                                                                    
                                                                                                    

Holidays by state - CODE SNIPPETS


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.



                                                                            
GET https://zylalabs.com/api/2093/brazil+holidays+api/1874/holidays+by+state+and+city
                                                                            
                                                                        

Holidays by state and city - Endpoint Features
Object Description
cidade [Required]
estado [Required]
ano [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"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"}]
                                                                                                                                                                                                                    
                                                                                                    

Holidays by state and city - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2093/brazil+holidays+api/1874/holidays+by+state+and+city?cidade=belo_horizonte&estado=MG&ano=2023' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

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 REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
1,629ms

Category:


Tags:


Related APIs