This endpoint retrieves all bank and public holidays for a specific country and year.
šļø The holidays endpoint supports the query parameters in various combinations. Each of these optional parameters can be chained together to filter the results flexibly. See the below combining multiple filters section for more details.
šļø The majority of the query parameters accept multiple values in a comma-separated way.
Filter out holidays for a specific type (e.g. national):
?country=DE&year=2024&type=national
Filter out holidays for multiple types (e.g. local or religious):
?country=DE&year=2024&type=local,religious
Filter out holidays for a specific religion:
?country=BA&year=2024&religion=2
Filter out holidays for multiple religions:
?country=BA&year=2024&religion=1,2
Filter out holidays for a specific region:
?country=BA&year=2024®ion=BIH
Filter out holidays for multiple regions:
?country=BA&year=2024®ion=BIH,SRP
Fetch localized holiday names in a specific language:
?country=AT&year=2024&lang=de
Fetch localized holiday names in multiple languages:
?country=AT&year=2024&lang=de,en,tr
The holidays endpoint supports combining multiple filters to retrieve more complex queries. All the query string parameters that were listed above can be chained together to filter the results flexibly. For example to fetch ālocalā holidays for āChristianityā in āJuneā in āBIHā region of Bosnia and Herzegovina as āxmlā and in āGermanā and āJapaneseā languages, a query string would be as follows:
Most of our customers only focus on government/bank holidays. In order to obtain these, your best option is to filter holidays using eitherĀ nationalĀ orĀ localĀ parameter. If any of these isĀ true, itās very likely that government offices and banks will be closed in a given country.
religiousĀ parameter is typically very useful to identify religious holidays, which in some countries, can be specific to certain religious groups. Unless aĀ religiousĀ holiday has eitherĀ nationalĀ orĀ localĀ attribute also set toĀ true, it will very likely be an optional holiday for certain religious groups, or no holiday at all.
Bearer authentication of the form Bearer <token>, where token is your auth token.