Scrape a TripAdvisor list (restaurants / hotels / attractions)
Given a TripAdvisor list url (Restaurants, Hotels or Attractions for a city/area), returns the places as JSON: name, url, image, rating, reviewCount, priceRange, cuisine, phone, address, country and coordinates. Paginates through TripAdvisor's -oaN- pages up to max_results. Data is read from TripAdvisor's schema.org ld+json, which is more stable than its HTML.
Request
- Base URL: https://api.scrapeunblocker.com
- URL: https://api.scrapeunblocker.com/travel/tripadvisor
- Auth: API key in header x-scrapeunblocker-key
Query parameters
TripAdvisor list URL (Restaurants / Hotels / Attractions), e.g. https://www.tripadvisor.com/Restaurants-g60763-New_York_City_New_York.html
How many places to collect across pages (~30 per page, max 1020). TripAdvisor renders slowly, so large values take a while.
1-based results page to start from.
Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE'). Leave blank to let the API pick.
Response
JSON with a places array plus totals.
Changes
No recorded changes to this operation across all 1 revision of this API.