Geography

Administrative Divisions

Returns a paginated list of administrative divisions (states, provinces, or equivalent) for a given country.

get/administrative-divisions

Request

  • Base URL
    https://api-dev.despegar.com/v3
  • URL
    https://api-dev.despegar.com/v3/administrative-divisions
  • Auth
    API key in header x-apikey

Query parameters

country_idstring required

Internal numeric identifier of the country to filter by. E.g.: 20010 (Argentina).

productstring required

Product type used to filter available divisions. E.g.: HOTELS, FLIGHTS, PACKAGES.

languagestring required

Comma-separated list of language codes for the descriptions field. E.g.: ES,PT,EN.

Response

OK

Changes

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