data

Public holidays for a country/year (python-holidays library)

List of public holidays for a country in a given year, with optional sub-national breakdown. Coverage: 200+ countries including India with 36 state subdivisions (subdivision='KA' for Karnataka, 'MH' for Maharashtra, etc.). Backed by the BSD-3-licensed holidays Python library — in-process lookup, no network hop, no rate limit. The response includes the full list of available subdivisions for the country so the caller can drill in. License: BSD-3-holidays-py.

get/v1/holidays/{country_iso2}/{year}

Request

  • Base URL: https://api.travelminds.ai
  • URL: https://api.travelminds.ai/v1/holidays/{country_iso2}/{year}
  • Auth: none declared

Path parameters

country_iso2string required
yearinteger required

Query parameters

subdivisionstring nullable

Headers

authorizationstring nullable
x-rapidapi-proxy-secretstring nullable
x-rapidapi-userstring nullable
x-tmai-proxy-secretstring nullable
x-tmai-proxy-providerstring nullable
x-tmai-proxy-userstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.