Geography

Continents

Returns the full list of continents available in the system, including multilingual names, code, and product configurations.

get/continents

Request

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

Query parameters

productstring required

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

languagestring required

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

Response

OK. Returns an array of continents directly.

idstring

Internal numeric identifier of the continent.

gidstring

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

codestring

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

descriptionsobject

Localized continent names keyed by language code. E.g.: { "es": "Europa", "pt": "Europa", "en": "Europe" }.

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.