Geography
City by ID
Returns the details of a specific city identified by its internal numeric ID.
get/cities/{id}
Request
- Base URLhttps://api-dev.despegar.com/v3
- URLhttps://api-dev.despegar.com/v3/cities/{id}
- AuthAPI key in header x-apikey
Path parameters
idstring required
Internal numeric identifier of the city. E.g.: 982 (Buenos Aires).
Query parameters
productstring required
Product type used to filter configurations. E.g.: HOTELS, FLIGHTS.
languagestring required
Comma-separated list of language codes for the descriptions field. E.g.: ES,PT,EN.
ratiostring
Aspect ratio for pictures, if available. E.g.: 4:3, 16:9.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.