Agoda Scraper
/places/autocompleteAutocomplete
Get typeahead suggestions for a place or hotel name: cities, areas, landmarks and hotels, each with a location key.
QUERY PARAMS
Place or hotel name as a traveler would type it. Each result's location key feeds Search Hotels.
Examples:
TokyoMarina Bay Sands
Site language for the place names: one of Agoda's locales or a bare language code (ja → ja-jp).
Default: en-us
Allowed values: en-us, en-gb, en-au, en-ca, en-in, en-nz, en-sg, en-my, en-ph, en-za, en-ie, zh-cn, zh-tw, zh-hk, ja-jp, ko-kr, th-th, vi-vn, id-id, ms-my, tl-ph, fr-fr, fr-ca, de-de, es-es, es-mx, es-ar, it-it, pt-pt, pt-br, nl-nl, pl-pl, ru-ru, uk-ua, tr-tr, ar-ae, he-il, hi-in, sv-se, fi-fi, da-dk, nb-no, cs-cz, sk-sk, hu-hu, el-gr, ro-ro, bg-bg, hr-hr, sl-si
{
"query": "Tokyo",
"language": "en-us",
"count": 6,
"results": [
{
"type": "city",
"id": 5085,
"name": "Tokyo",
"location": "city:5085",
"address": "Tokyo, Japan",
"city_id": 5085,
"country_code": "JP",
"hotel_count": 12486,
"latitude": null,
"longitude": null,
"is_popular": false,
"link": "https://www.agoda.com/search?city=5085"
},
{
"type": "city",
"id": 108512,
"name": "Hachioji",
"location": "city:108512",
"address": "Hachioji, Japan",
"city_id": 108512,
"country_code": "JP",
"hotel_count": 194,
"latitude": null,
"longitude": null,
"is_popular": false,
"link": "https://www.agoda.com/search?city=108512"
},
{
"type": "city",
"id": 108568,
"name": "Musashino",
"location": "city:108568",
"address": "Musashino, Japan",
"city_id": 108568,
"country_code": "JP",
"hotel_count": 137,
"latitude": null,
"longitude": null,
"is_popular": false,
"link": "https://www.agoda.com/search?city=108568"
},
{
"type": "city",
"id": 108498,
"name": "Chofu",
"location": "city:108498",
"address": "Chofu, Japan",
"city_id": 108498,
"country_code": "JP",
"hotel_count": 124,
"latitude": null,
"longitude": null,
"is_popular": false,
"link": "https://www.agoda.com/search?city=108498"
},
{
"type": "area",
"id": 565745,
"name": "Tokyo Station",
"location": "area:565745",
"address": null,
"city_id": 5085,
"country_code": "JP",
"hotel_count": 474,
"latitude": null,
"longitude": null,
"is_popular": false,
"link": "https://www.agoda.com/search?area=565745"
},
{
"type": "area",
"id": 31078,
"name": "Tokyo Disney Resort",
"location": "area:31078",
"address": null,
"city_id": 5085,
"country_code": "JP",
"hotel_count": 214,
"latitude": null,
"longitude": null,
"is_popular": false,
"link": "https://www.agoda.com/search?area=31078"
}
]
}