/trip/destinations/search
Resolve a destination keyword (city, district, province, landmark, airport, or station) into matching Trip.com destinations. Each result carries the destination name, type, location context, the numeric city id used for hotel search, the city/district/province/country names and ids, and coordinates.
Price: 1 credit
💡 AI Hint: Resolve a place name into Trip.com destinations. Returns ranked matches, each with id, name, type (city, district, province, airport, station, landmark, commercial), description, city_id (use it to search hotels), city_name, district_name, province_id, province_name, country_id, country_name, latitude and longitude.
Authorizations
API token from the dashboard
Headers
Body
Destination keyword to resolve, e.g. a city, district, or landmark name
1"New York"
"Tokyo"
"Manhattan"
Max number of destinations to return
x >= 1Max scrapping execution timeout (in seconds)
20 <= x <= 1500Response
Successful Response