Geography

Cities

Returns a paginated list of cities for a given country, including their geographic location, timezone, and administrative hierarchy.

get/cities

Request

  • Base URL
    https://api-dev.despegar.com/v3
  • URL
    https://api-dev.despegar.com/v3/cities
  • 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 cities. 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.