latestOpenAPI 3.1.02026-08-21211181.8 KB
e5d7af502419
Countries
Public holidays for a market
Public holidays in one Wego market over a date range, for spotting long weekends before searching flights. Give both fromDate and toDate, or neither – omit both and the API searches the next 90 days and says so in metadata.window/from/to.
get/v1/countries/{countryCode}/holidays
Path parameters
countryCodestring required
Example:AE
ISO 3166-1 alpha-2 code of the Wego market whose public holidays you want (e.g. AE). A destination MARKET, not a passport: it must be one of Wego's markets, and an unknown one is rejected 400. The same path segment means a passport on the visa-free route.
Query parameters
fromDatestring
Inclusive ISO start date. Give both fromDate and toDate, or neither.
toDatestring
Inclusive ISO end date. Give both fromDate and toDate, or neither.
localestring
Locale for localized names (e.g. en, ar). Defaults to en.
Response
Holidays in the searched range, plus that range.