Geography

Region by ID

Returns the details of a specific region identified by its internal numeric ID.

get/regions/{id}

Request

  • Base URL
    https://api-dev.despegar.com/v3
  • URL
    https://api-dev.despegar.com/v3/regions/{id}
  • Auth
    API key in header x-apikey

Path parameters

idstring required

Internal numeric identifier of the region. E.g.: 34046.

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.

Response

OK

idstring

Internal numeric identifier of the region.

gidstring

Global identifier combining type and id. E.g.: REG_34046.

descriptionsobject

Localized region names keyed by language code.

aliasesstring[]

List of alternative names for the region. Not always present.

forced_city_idsstring[]

List of city IDs explicitly included in this region.

related_political_divisionsobject

Political divisions related to this region. May be empty.

included_pointsobject

Points of interest explicitly included in this region, keyed by point type (e.g. port). Each key maps to an array of internal IDs. May be empty.

excluded_pointsobject

Points of interest explicitly excluded from this region, keyed by point type. May be empty.

picturesobject[]

List of pictures associated with the region. Always empty.

last_update_datestring date-time

Date and time of the last update to this record.

Changes

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