Geography

Geo Point by ID

Returns the details of a specific geographic point (airport, hotel, city, etc.) identified by its internal numeric ID.

get/geo-points/{id}

Request

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

Path parameters

idstring required

Internal numeric identifier of the geo point. E.g.: 192635 (Ezeiza Airport).

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

idstring

Internal numeric identifier of the geo point.

gidstring

Global identifier combining type prefix and id. The prefix reflects the entity type. E.g.: AIR_192635 for airports, POI_149061 for points of interest.

typestring

Type of the geo point. E.g.: AIRPORT, PLACE_OF_INTEREST, SHOPPING_MALL, THEATRE, BEACH_LAKE, AMUSEMENT_PARK, THEME_PARK, STADIUM, PARK_GREEN_SPACE.

codestring

IATA or internal code of the geo point. Present for airports (e.g. EZE). May be empty or absent for other types.

descriptionsobject

Localized names keyed by language code.

city_idstring

Internal numeric identifier of the city this geo point belongs to.

city_gidstring

Global identifier of the city. E.g.: CIT_982.

commercialboolean

Indicates whether this is a commercial point. Not always present.

manual_orderinteger

Manual ordering weight used to prioritize results. Not always present.

picturesobject[]

List of pictures associated with the geo point. Always empty.

last_update_datestring date-time

Date and time of the last update to this record.

aliasesstring[]

List of alternative names for the geo point. Not always present.

place_idstring

External place identifier (e.g. Google Place ID). Not always present.

Changes

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