curl --request GET \
--url https://api.partoo.co/v2/holidays/{country} \
--header 'x-APIKey: <api-key>'{
"holidays": [
{
"name": "Armistice",
"date": "2023-11-11"
},
{
"name": "Noël",
"date": "2023-12-25"
},
{
"name": "Jour de l'an",
"date": "2024-01-01"
},
{
"name": "Lundi de Pâques",
"date": "2024-04-01"
},
{
"name": "Fête du Travail",
"date": "2024-05-01"
},
{
"name": "Fête de la Victoire",
"date": "2024-05-08"
},
{
"name": "Ascension",
"date": "2024-05-09"
},
{
"name": "Lundi de Pentecôte",
"date": "2024-05-20"
},
{
"name": "Fête nationale",
"date": "2024-07-14"
},
{
"name": "Assomption",
"date": "2024-08-15"
},
{
"name": "Toussaint",
"date": "2024-11-01"
},
{
"name": "Christmas",
"date": "2024-12-25"
},
{
"name": "New Year's Day",
"date": "2025-01-01"
}
]
}This endpoint allows you to retrieve a list of upcoming bank holidays for a specified country within the next 365 days. The holidays are ordered based on their occurrence dates.
curl --request GET \
--url https://api.partoo.co/v2/holidays/{country} \
--header 'x-APIKey: <api-key>'{
"holidays": [
{
"name": "Armistice",
"date": "2023-11-11"
},
{
"name": "Noël",
"date": "2023-12-25"
},
{
"name": "Jour de l'an",
"date": "2024-01-01"
},
{
"name": "Lundi de Pâques",
"date": "2024-04-01"
},
{
"name": "Fête du Travail",
"date": "2024-05-01"
},
{
"name": "Fête de la Victoire",
"date": "2024-05-08"
},
{
"name": "Ascension",
"date": "2024-05-09"
},
{
"name": "Lundi de Pentecôte",
"date": "2024-05-20"
},
{
"name": "Fête nationale",
"date": "2024-07-14"
},
{
"name": "Assomption",
"date": "2024-08-15"
},
{
"name": "Toussaint",
"date": "2024-11-01"
},
{
"name": "Christmas",
"date": "2024-12-25"
},
{
"name": "New Year's Day",
"date": "2025-01-01"
}
]
}The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
Country code from ISO 3166 international standard - https://www.iban.com/country-codes
Preferred language for holiday names. If no language is provided, the user's default language will be used. If the user's default language is unavailable, the country's primary language will be used.
fr, en, es, it, pt-br, de, ar "fr"
Was this page helpful?