Geography

Countries

Returns the full list of countries available in the system, including multilingual names, capital city, continent, phone codes, and product configurations.

get/countries

Request

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

Query parameters

productstring required

Product type used to filter available countries. 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.