Endpoint Playground
Returns TripAdvisor typeahead suggestions for the required query `q`, optionally narrowed by `limit`, `locale`, `scope_geo_id` and a `type` hint. Each result has its id, title, type, URL, image, parent location and coordinates, and may carry nested search shortcuts. Results can be locations, hotels, restaurants or attractions.
14 Oct 2026: 4 results; 3 fields had a value in every checked item and 7 varied between items.
Sample value profiles: title: “California” and 3 other values; url: tripadvisor.com; nested_results: median 2 entries.
curl "https://api.crawlora.net/api/v1/tripadvisor/autocomplete?q=hong+kong" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | Yes | hong kong | Autocomplete query |
| limit | integer | No | Maximum results | |
| locale | string | No | TripAdvisor locale | |
| scope_geo_id | integer | No | Optional scoped geo id | |
| type | string | No | Optional result type hint | |
| search_session_id | string | No | Optional captured search session id | |
| typeahead_id | string | No | Optional captured typeahead id | |
| route_uid | string | No | Optional captured route uid |
{
"code": 200,
"msg": "OK",
"data": {
"query": "california",
"locale": "en-HK",
"scope_geo_id": 294217,
"results": [
{
"id": "28926",
"document_id": "loc;28926;g28926",
"title": "California",
"type": "geo",
"url": "https://www.tripadvisor.com/Tourism-g28926-California-Vacations.html",
"image": "https://dynamic-media-cdn.tripadvisor.com/media/photo.jpg",
"parent": "United States, North America",
"latitude": 37.511375,
"longitude": -121.07013,
"nested_results": [
{
"title": "Things to Do",
"type": "attraction_search",
"query": "california things to do",
"url": "https://www.tripadvisor.com/Attractions-g28926-Activities-California.html"
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.