Tripadvisor Search Scraper
2 hours trial then $9.00/month - No credit card required now
Tripadvisor Search Scraper
2 hours trial then $9.00/month - No credit card required now
Scrape restaurant data from TripAdvisor search results. Extract details like name, location, cuisine, price level, ratings, and contact info. Supports multiple start URLs and configurable result limits, uses residential proxies and implements rate limiting to avoid blocking.
TripAdvisor Search Scraper
This Apify actor scrapes restaurant data from TripAdvisor search results. It allows you to extract detailed information about restaurants from specified TripAdvisor search URLs.
Features
- Scrapes restaurant data from TripAdvisor search pages
- Supports multiple start URLs
- Configurable number of results per search
- Uses residential proxies to avoid blocking
- Implements rate limiting and error handling
Input
The actor accepts the following input parameters:
startUrls
(required): An array of TripAdvisor restaurant search page URLs to start scraping from.resultsPerSearch
(optional): The number of restaurant results to scrape per search URL. Default is 30, minimum is 1.
Example input:
1{ 2 "startUrls": [ 3 { 4 "url": "https://www.tripadvisor.com/FindRestaurants?geo=188673&establishmentTypes=10591&mealTypes=10597&broadened=false" 5 }, 6 { 7 "url": "https://www.tripadvisor.com/FindRestaurants?geo=186338&establishmentTypes=10591&mealTypes=10606&broadened=true" 8 } 9 ], 10 "resultsPerSearch": 450 11}
Output
The actor stores the scraped data in the default dataset. Each item in the dataset represents a restaurant and contains the following fields:
locationId
: Unique identifier for the restaurantname
: Name of the restauranturl
: TripAdvisor URL for the restaurant's details pagelatitude
: Latitude coordinate of the restaurantlongitude
: Longitude coordinate of the restaurantmenuUrl
: URL to the restaurant's menu (if available)cuisines
: Array of cuisine typespriceLevel
: Price range indicatorrating
: Average rating of the restaurantreviewCount
: Number of reviewsaddress
: Full address of the restaurantphone
: Contact phone number
Example output item:
1{ 2 "locationId": 944622, 3 "name": "The Yacht", 4 "url": "/Restaurant_Review-g186338-d944622-Reviews-The_Yacht-London_England.html", 5 "latitude": 51.48476, 6 "longitude": -0.003814, 7 "menuUrl": "https://www.greeneking.co.uk/pubs/greater-london/yacht/menu?utm_source=exnet&utm_medium=locations&utm_campaign=UC_menu", 8 "cuisines": [ 9 "Bar", 10 "British", 11 "Pub" 12 ], 13 "priceLevel": "$$ - $$$", 14 "rating": 4, 15 "reviewCount": 401, 16 "address": "5 Crane St Greenwich, London SE10 9NP England", 17 "phone": "+44 20 8858 0175" 18}
Usage
- Create a new task for the TripAdvisor Search Scraper actor in your Apify account.
- Configure the input according to your requirements, specifying the
startUrls
and optionally adjusting theresultsPerSearch
. - Run the actor task.
- Once the run is finished, you can access the scraped data in the "Dataset" tab of the run detail.
Limitations
- The accuracy and completeness of the data depend on what's available on TripAdvisor.
- The actor currently only supports scraping from TripAdvisor Restaurant search pages.
- 5 monthly users
- 1 star
- 100.0% runs succeeded
- Created in Oct 2024
- Modified 22 days ago