Geography

Continent by ID

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

get/continents/{id}

Request

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

Path parameters

idstring required

Internal numeric identifier of the continent. E.g.: 30002 (Africa), 30006 (Europe).

Query parameters

productstring required

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

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 continent.

gidstring

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

codestring

Internal code of the continent. E.g.: AF, EU, SA.

descriptionsobject

Localized continent names keyed by language code. E.g.: { "es": "África", "pt": "África", "en": "Africa" }.

configurationsstring[]

List of product and platform configurations in which this continent is available.

picturesobject[]

List of pictures associated with the continent. Always empty for continents.

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.