Search TripAdvisor places
Searches TripAdvisor places in the area given by the required geo_id, for the required type: hotel, restaurant, attraction, all, or an attraction category type from /tripadvisor/enums. Hotel and restaurant filters, offset, limit, locale, currency and sort are optional. Each result has title, URL, rating, review count, rank, price and location. Unsupported entity-only types return a validation error.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/tripadvisor/search
- Auth: API key in header x-api-key
Query parameters
TripAdvisor geo id
Listing type
Optional hotel filter id
Hotel class filter
Hotel amenity filter ids
Minimum hotel price filter
Maximum hotel price filter
Hotel pricing mode
Filter Travelers' Choice hotels
Filter Best of the Best hotels
Restaurant availability date
Restaurant availability time
Restaurant guest count
Restaurant establishment type ids
Restaurant online option ids
Zero-based result offset
Maximum results
TripAdvisor locale
Currency code
Sort value
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"currency": "HKD",
"geo_id": 294217,
"limit": 30,
"locale": "en-HK",
"results": [
{
"currency": "HKD",
"id": "5493196",
"latitude": 22.28331,
"longitude": 114.15874,
"parent": "Hong Kong",
"price": "HK$7,793",
"price_level": "$$ - $$$",
"provider": "Agoda",
"rank": 12,
"rank_label": "#12 of 12000 restaurants in Hong Kong",
"rating": 4.5,
"review_count": 1217,
"star_rating": 5,
"title": "Hong Kong Asian Cuisine",
"type": "restaurant"
}
],
"sort": "POPULARITY",
"source": "html_listing",
"type": "restaurant",
"unsupported_types": [
"vacation_rental",
"tour",
"airline"
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.