/despegar/places/search
Resolve a city, airport, hotel or point of interest name into Despegar geo identifiers. Returns ranked matches with the geo id (e.g. CIT_982 for a city, AIR_192636 for an airport, HOT_335526 for a hotel, POI_531400 for a point of interest), the plain numeric id, place type, city code, airport IATA code, display name, parent country, city and administrative-division ids and coordinates. Use the returned ids as the destination for hotel and activity search. Pick the product the place is resolved for (hotels or activities) to bias which matches surface; the returned geo ids are usable across products.
Price: 1 credit
⚠️ Common errors: 412: No places matched the given keyword
Authorizations
API token from the dashboard
Headers
Body
1x >= 120 <= x <= 1500AR, BO, CL, CO, CR, EC, SV, GT, MX, NI, PA, PY, PE, PR, US, UY hotels, activities Response
Successful Response