TripAdvisor Scraper avatar

TripAdvisor Scraper

Try for free

1 day trial then $20.00/month - No credit card required now

Go to Store
TripAdvisor Scraper

TripAdvisor Scraper

epctex/tripadvisor-scraper
Try for free

1 day trial then $20.00/month - No credit card required now

Explore with our Trip Advisor Scraper: an easy search for hotels, restaurants, attractions, and more by keywords or start URL. Enter check-in/out dates, and select currency and language. Promote locations, capture details, and retrieve emails and phone numbers if shared.

TripAdvisor Scraper Actor

What is TripAdvisor Scraper actor?

The TripAdvisor Scraper Actor is a simple tool that helps you collect travel info from TripAdvisor easily. It's great for finding out about places to stay, eat, visit, or explore, making data gathering a breeze for everyone, without any coding skills needed.

Key features

  • 🔍 Easy Searches: Start by choosing what you're interested in, like hotels or restaurants, and even use a specific TripAdvisor URL page to get exactly what you need.
  • 📅 Pick Dates: You can choose check-in and check-out dates to see availability or prices for your trip.
  • 🌐 Your Preferences Matter: Set it up in your language and currency, making the data gathered immediately useful.
  • 📚 Find Comprehensive Info: From eateries and hotels to thrilling attractions and activities, extract a wide array of information. Where available, secure direct contact details to facilitate outreach.

Use Cases | Who Can Use TripAdvisor Scraper

  • Hospitality Analysts and Market Researchers seeking deep dives into consumer trends and industry benchmarks.
  • Travel Professionals and Vacation Planners aim to craft the ultimate travel experience with up-to-the-minute information.
  • Digital Nomads and Travel Writers looking for the next story or hidden gem, requiring authentic and detailed descriptions of locales.
  • Innovators and App Developers in need of a robust dataset for building travel-related applications or analytics platforms.

Input

Either start with a keyword or specific store URLs to your research.

💡When you want to scrape over a specific list URL, just copy and paste the link as one of the startUrl.

You can choose the check-in and check-out dates for your research. Also, if you start with a keyword, don’t forget that you can include Attractions, Restaurants, Hotels, and Vacation Rentals.

You can localize your search on language and currency.

You can limit the number of output results by either writing a number for number of listing items or list end page.

💡If you would like to scrape only the first page of a list then put the link for the page and have the endPage as 1.

💡With the last approach that is explained above you can also fetch any interval of pages. If you provide the 5th page of a list and define the endPage parameter as 6 then you'll have the 5th and 6th pages only.

It is recommended to keep the other options as default.

Input Parameters Explained

The input of this scraper should be JSON containing the list of pages on TripAdvisor that should be visited. Required fields are:

  • search: (Optional) (String)

    A string specifying the name of a location for a Tripadvisor search, such as a country, city, or neighborhood. The scraper selects the first 'Location' type result based on this input.

  • checkInDate: (Optional) (String)

    The hotel check-in date to view specific offers. Leave blank to see default offers.

  • checkOutDate: (Optional) (String)

    The hotel check-out date for precise offer durations.

  • includeAttractions: (Optional) (Boolean)

    Search will include the attractions.

  • includeRestaurants: (Optional) (Boolean)

    Search will include the restaurants.

  • includeHotels: (Optional) (Boolean)

    Search will include the hotels.

  • includeVacationRentals: (Optional) (Boolean)

    Search will include the vacation rentals.

  • startUrls: (Optional) (Array)

    List of TripAdvisor URLs. You should only provide TripAdvisor list or detail URLs.

  • language: (Optional) (String)

    Language for the TripAdvisor to change the results accordingly.

  • currency: (Optional) (String)

    Currency for the TripAdvisor to change the results accordingly.

  • endPage: (Optional) (Number)

    Final number of page that you want to scrape. The default is Infinite. This applies to all search requests and startUrls individually.

  • maxItems: (Optional) (Number)

    You can limit scraped items. This should be useful when you search through the big lists or search results.

  • proxy: (Required) (Proxy Object)

    Proxy configuration.

  • extendOutputFunction: (Optional) (String)

    A function that takes a JQuery handle ($) as an argument and returns an object with data.

  • customMapFunction: (Optional) (String)

    A function that takes each object's handle as an argument and returns the object with executing the function.

This solution requires the use of Proxy servers, either your own proxy servers or you can use Apify Proxy.

TripAdvisor Scraper Input Examples

1{
2  "startUrls":[
3    "https://www.tripadvisor.com/Hotel_Review-g35805-d236299-Reviews-Sofitel_Chicago_Magnificent_Mile-Chicago_Illinois.html",
4    "https://www.tripadvisor.com/Hotels-g294200-Egypt-Hotels.html"
5  ],
6  "search": "New York",
7  "checkInDate": "2025-01-01",
8  "checkOutDate": "2025-10-01",
9  "includeAttractions": true,
10  "includeRestaurants": true,
11  "includeHotels": true,
12  "includeVacationRentals": true,
13  "language": "en",
14  "currency": "USD",
15  "maxItems": 100,
16  "endPage": 1,
17  "extendOutputFunction": "($) => { return {} }",
18  "customMapFunction": "(object) => { return {...object} }",
19  "proxy": {
20    "useApifyProxy": true
21  }
22}

Compute Unit Consumption

The actor is optimized to run blazing fast and scrape as many items as possible. Therefore, it forefronts all the detailed requests. If the actor doesn't block very often it'll scrape 100 listings in 20 seconds with ~$0.005-$0.006 compute units.

Bugs, fixes, updates, and changelog

This scraper is under active development. If you have any feature requests you can create an issue from here.

During the Run

During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.

If you provide incorrect input to the actor, it will immediately stop with a failure state and output an explanation of what is wrong.

Output

Restaurant

1{
2	"id": "1049685",
3	"type": "restaurant",
4	"category": "restaurant",
5	"subcategories": [
6		"Sit down"
7	],
8	"name": "Benoit New York",
9	"locationString": "New York City, New York",
10	"description": "Restaurant, Wine Bar & Private Dining - Open since 2008, Benoit New York is the third member of internationally-acclaimed Chef Alain Ducasse's Benoit family - which also includes the bistro in Paris since 1912 and Benoit Tokyo. In New York, guests enjoy a warm and authentic experience and a menu filled with traditional bistro dishes with a modern flair. In August 2016, the restaurant underwent a renovation, bringing a contemporary New York City touch to the classic French restaurant.",
11	"image": "https://media-cdn.tripadvisor.com/media/photo-o/0d/7c/2f/fb/hors-d-oeuvre.jpg",
12	"photoCount": 383,
13	"awards": [],
14	"rankingPosition": 627,
15	"rating": 4,
16	"rawRanking": 4.039697647094727,
17	"phone": "+1 646-943-7373",
18	"address": "60 W 55th St Between Fifth & Sixth Aves, New York City, NY 10019-5308",
19	"addressObj": {
20		"street1": "60 W 55th St",
21		"street2": "Between Fifth & Sixth Aves",
22		"city": "New York City",
23		"state": "NY",
24		"country": "United States",
25		"postalcode": "10019-5308"
26	},
27	"localName": "Benoit New York",
28	"localAddress": "60 W 55th St, Between Fifth & Sixth Aves, 10019-5308",
29	"localLangCode": "en-US",
30	"email": "bistrot@benoitny.com",
31	"latitude": 40.76269,
32	"longitude": -73.97744,
33	"webUrl": "https://www.tripadvisor.com/Restaurant_Review-g60763-d1049685-Reviews-Benoit_New_York-New_York_City_New_York.html",
34	"website": "http://www.benoitny.com/",
35	"rankingString": "#627 of 14,183 places to eat in New York City",
36	"rankingDenominator": "8205",
37	"neighborhoodLocations": [
38		{
39			"id": "7102352",
40			"name": "Midtown"
41		}
42	],
43	"nearestMetroStations": [
44		{
45			"name": "57th St",
46			"localName": "57th St",
47			"address": "1392-1394 6th Ave, Long Island City, NY 10019",
48			"localAddress": "1392-1394 6th Ave, 10019",
49			"lines": [
50				{
51					"id": "new-york-new-york-city-subway-f",
52					"lineName": "F",
53					"lineSymbol": "https://static.tacdn.com/img/api/metro_stations/metro_placeholder.png",
54					"systemName": "NYC Subway",
55					"systemSymbol": "https://static.tacdn.com/img/api/metro_stations/metro_placeholder.png",
56					"type": "Rapid Transit"
57				}
58			],
59			"latitude": 40.76396942138672,
60			"longitude": -73.97745513916016,
61			"distance": 0.08839800240055308
62		}
63	],
64	"ancestorLocations": [
65		{
66			"id": "60763",
67			"name": "New York City",
68			"abbreviation": null,
69			"subcategory": "City"
70		}
71	],
72	"ratingHistogram": {
73		"count1": 35,
74		"count2": 47,
75		"count3": 128,
76		"count4": 301,
77		"count5": 470
78	},
79	"numberOfReviews": 981,
80	"priceLevel": "$$$$",
81	"priceRange": "$25 - $100",
82	"cuisines": [
83		"French",
84		"Contemporary"
85	],
86	"mealTypes": [
87		"Lunch",
88		"Dinner"
89	],
90	"dishes": [
91		"Baguette",
92		"Filet Mignon",
93		"Lobster"
94	],
95	"dietaryRestrictions": [
96		"Vegetarian Friendly",
97		"Gluten Free Options"
98	],
99	"establishmentTypes": [
100		"Restaurants"
101	],
102	"menuWebUrl": "https://www.benoitny.com/menus",
103	"isClosed": false,
104	"isLongClosed": false,
105	"hours": {
106		"weekRanges": [
107			[
108				{
109					"open": 720,
110					"openHours": "12:00",
111					"close": 1260,
112					"closeHours": "21:00"
113				}
114			]
115		],
116		"timezone": "America/New_York"
117	},
118	"booking": {
119		"provider": "OpenTable",
120		"url": "https://www.tripadvisor.com/Commerce?p=OpenTable&src=232171538&geo=1049685&from=api&area=reservation_button&slot=1&matchID=1&oos=0&cnt=1&silo=45582&bucket=979641&nrank=1&crank=1&clt=R&ttype=Restaurant&tm=288266674&managed=false&capped=false&gosox=9DMvibDTWdNaFeGYL8QTakyv1LBYZaGpeB4MEHn-hv2mZBN376EHVCGusTIRxmJ8AObDCfP9_-JSKy-iI9MlddieEOHSA0Xrk7G74dAg8PM&cs=18e91e712bfe3b841eba52767082a89f5"
121	}
122}

Hotel

1{
2	"id": "262330",
3	"type": "hotel",
4	"category": "hotel",
5	"subcategories": [
6		"Hotel"
7	],
8	"name": "Millennium Downtown New York",
9	"locationString": "New York City, New York",
10	"description": "Millennium New York Downtown is located in the heart of the Financial District, just steps from The Oculus, One World Observatory, and the 9/11 Memorial & Museum. Guests love our City View rooms and suites, featuring some of the best views in Lower Manhattan: unobstructed views overlooking the Oculus NYC and One World Trade Center to the West, and the iconic Woolworth Building and Brooklyn Bridge in East-facing rooms. With 11 subway stops within a block of the property and ferry access just a 10 minute walk away, we're also one of the most convenient hotels in the city, offering easy access to Times Square, Madison Square Garden, Downtown Brooklyn, and all 5 boroughs. Iconic attractions like Wall Street, City Hall, Brooklyn Bridge, and the South Street Seaport are within a half mile.",
11	"image": "https://media-cdn.tripadvisor.com/media/photo-o/29/52/3c/b1/manhattan-sky-view.jpg",
12	"photoCount": 3015,
13	"awards": [],
14	"rankingPosition": 411,
15	"rating": 4,
16	"rawRanking": 3.164475440979004,
17	"phone": "+1 212-693-2001",
18	"address": "55 Church Street, New York City, NY 10007",
19	"addressObj": {
20		"street1": "55 Church Street",
21		"street2": "",
22		"city": "New York City",
23		"state": "NY",
24		"country": "United States",
25		"postalcode": "10007"
26	},
27	"localName": "Millennium Downtown New York",
28	"localAddress": "55 Church Street, 10007",
29	"localLangCode": "en-US",
30	"email": "reservations@millenniumdowntownnyc.com",
31	"latitude": 40.711433,
32	"longitude": -74.01038,
33	"webUrl": "https://www.tripadvisor.com/Hotel_Review-g60763-d262330-Reviews-Millennium_Downtown_New_York-New_York_City_New_York.html",
34	"website": "https://www.millenniumhotels.com/en/new-york/millennium-downtown-new-york/",
35	"rankingString": "#411 of 542 hotels in New York City",
36	"rankingDenominator": "542",
37	"neighborhoodLocations": [
38		{
39			"id": "15565677",
40			"name": "Downtown Manhattan (Downtown)"
41		}
42	],
43	"nearestMetroStations": [
44		{
45			"name": "Cortlandt St",
46			"localName": "Cortlandt St",
47			"address": "19 Church St, New York City, NY 10007",
48			"localAddress": "19 Church St, 10007",
49			"lines": [
50				{
51					"id": "new-york-new-york-city-subway-r",
52					"lineName": "R",
53					"lineSymbol": "https://static.tacdn.com/img/api/metro_stations/metro_placeholder.png",
54					"systemName": "NYC Subway",
55					"systemSymbol": "https://static.tacdn.com/img/api/metro_stations/metro_placeholder.png",
56					"type": "Rapid Transit"
57				}
58			],
59			"latitude": 40.71066665649414,
60			"longitude": -74.01103210449219,
61			"distance": 0.06300009596063123
62		}
63	],
64	"ancestorLocations": [
65		{
66			"id": "60763",
67			"name": "New York City",
68			"abbreviation": null,
69			"subcategory": "City"
70		}
71	],
72	"ratingHistogram": {
73		"count1": 477,
74		"count2": 516,
75		"count3": 1055,
76		"count4": 2131,
77		"count5": 2531
78	},
79	"numberOfReviews": 6710,
80	"hotelClass": "4.0",
81	"hotelClassAttribution": "This property is classified according to Giata.",
82	"amenities": [
83		"Room service",
84		"Fitness center"
85	],
86	"priceLevel": "$$$",
87	"priceRange": "$177 - $341",
88	"roomTips": [
89		{
90			"user": {
91				"userId": "96E2FA3F61227B32D609734C7C222EE7",
92				"type": "user",
93				"username": "W5540ABmichaelb",
94				"userLocation": {
95					"name": "New York City, New York",
96					"id": "60763"
97				},
98				"avatar": "https://media-cdn.tripadvisor.com/media/photo-l/1a/f6/eb/43/default-avatar-2020-11.jpg",
99				"link": "https://www.tripadvisor.com/MemberProfile-a_uid.96E2FA3F61227B32D609734C7C222EE7",
100				"points": 0,
101				"createdTime": "2014-02-06T11:34:02-0500"
102			},
103			"type": "room_tip",
104			"text": "Avoid this hotel - price point is good but experince is distressing and upsetting.",
105			"rating": 1,
106			"reviewId": "938914393",
107			"id": "938914393",
108			"createdTime": "2024-02-19T07:33:15-05:00"
109		}
110	],
111	"isClosed": false,
112	"isLongClosed": false,
113	"images": [
114		"https://media-cdn.tripadvisor.com/media/photo-o/29/52/3c/b1/manhattan-sky-view.jpg",
115		"https://media-cdn.tripadvisor.com/media/photo-m/1280/22/43/cb/4e/view-from-a-room.jpg",
116		"https://media-cdn.tripadvisor.com/media/photo-o/12/9a/28/76/liquid-assets-lobby-bar.jpg"
117	],
118	"numberOfRooms": 569,
119	"offers": [
120		{
121			"priceText": "$132",
122			"taxesAndFeesText": "$58",
123			"totalStayPriceText": "$51,870",
124			"priceBeforeSale": null,
125			"provider": "Expedia",
126			"vendor": "Expedia.com",
127			"canPayInInstallments": true
128		}
129	],
130	"reviewTags": [
131		{
132			"text": "freedom tower"
133		},
134		{
135			"text": "millennium hilton"
136		}
137	],
138	"checkInDate": "2025-01-01",
139	"checkOutDate": "2025-10-01"
140}

Attraction

1{
2	"id": "282090",
3	"type": "attraction",
4	"category": "attraction",
5	"subcategories": [
6		"Sights & Landmarks"
7	],
8	"name": "New York State Capitol",
9	"locationString": "Albany, New York",
10	"description": "The New York State Capitol has served as the seat of government for New York since the 1880's. Over 125 years old, the building is a marvel of late 19th-century architectural grandeur. Built by hand of solid masonry, it took 5 architects and 32 years to complete. Over the years meticulous restoration has been done to maintain and protect the Capitol for future generations of New Yorkers.",
11	"image": "https://media-cdn.tripadvisor.com/media/photo-o/0b/ae/8c/6d/new-york-state-capitol.jpg",
12	"photoCount": 735,
13	"awards": [],
14	"rankingPosition": 2,
15	"rating": 4.5,
16	"rawRanking": 4.156702041625977,
17	"phone": "+1 518-474-2418",
18	"address": "State St., Albany, NY 12207",
19	"addressObj": {
20		"street1": "State St.",
21		"street2": "",
22		"city": "Albany",
23		"state": "NY",
24		"country": "United States",
25		"postalcode": "12207"
26	},
27	"localName": "New York State Capitol",
28	"localAddress": "State St., 12207",
29	"localLangCode": "en-US",
30	"email": "Plaza.Visitor.Center@ogs.ny.gov",
31	"latitude": 42.652542,
32	"longitude": -73.7574,
33	"webUrl": "https://www.tripadvisor.com/Attraction_Review-g29786-d282090-Reviews-New_York_State_Capitol-Albany_New_York.html",
34	"website": "http://www.empirestateplaza.ny.gov",
35	"rankingString": "#2 of 84 things to do in Albany",
36	"rankingDenominator": "84",
37	"nearestMetroStations": [],
38	"ancestorLocations": [
39		{
40			"id": "29786",
41			"name": "Albany",
42			"abbreviation": null,
43			"subcategory": "City"
44		},
45		{
46			"id": "28953",
47			"name": "New York",
48			"abbreviation": "NY",
49			"subcategory": "State"
50		},
51		{
52			"id": "191",
53			"name": "United States",
54			"abbreviation": null,
55			"subcategory": "Country"
56		}
57	],
58	"ratingHistogram": {
59		"count1": 3,
60		"count2": 3,
61		"count3": 37,
62		"count4": 204,
63		"count5": 618
64	},
65	"numberOfReviews": 865,
66	"isClosed": false,
67	"isLongClosed": false,
68	"hours": {
69		"weekRanges": [
70			[],
71			[
72				{
73					"open": 420,
74					"openHours": "07:00",
75					"close": 1140,
76					"closeHours": "19:00"
77				}
78			],
79			[
80				{
81					"open": 420,
82					"openHours": "07:00",
83					"close": 1140,
84					"closeHours": "19:00"
85				}
86			],
87			[
88				{
89					"open": 420,
90					"openHours": "07:00",
91					"close": 1140,
92					"closeHours": "19:00"
93				}
94			],
95			[
96				{
97					"open": 420,
98					"openHours": "07:00",
99					"close": 1140,
100					"closeHours": "19:00"
101				}
102			],
103			[
104				{
105					"open": 420,
106					"openHours": "07:00",
107					"close": 1140,
108					"closeHours": "19:00"
109				}
110			],
111			[]
112		],
113		"timezone": "America/New_York"
114	},
115	"booking": {
116		"provider": "Viator",
117		"url": "https://www.tripadvisor.com/Commerce?url=https%3A%2F%2Fwww.viator.com%2Ftours%2FAlbany%2FLets-Roams-Albany-Scavenger-Hunt-Empire-State-Of-Mind%2Fd23070-104204P22%3Feap%3Dtripadvisor-main-11383%26aid%3Dtripen1&partnerKey=1&urlKey=2aa6884054dd6d3f2&logme=true&uidparam=refid&attrc=true&Provider=Viator&area=TOP&slot=1&cnt=1&geo=282090&clt=TD&from=api&nt=true"
118	},
119	"offerGroup": {
120		"lowestPrice": "$0.12",
121		"offerList": [
122			{
123				"url": "https://www.tripadvisor.com/Commerce?url=https%3A%2F%2Fwww.viator.com%2Ftours%2FAlbany%2FLets-Roams-Albany-Scavenger-Hunt-Empire-State-Of-Mind%2Fd23070-104204P22%3Feap%3Dtripadvisor-main-11383%26aid%3Dtripen1&partnerKey=1&urlKey=2aa6884054dd6d3f2&logme=true&uidparam=refid&attrc=true&Provider=Viator&area=viator_multi&slot=1&cnt=1&geo=282090&clt=TD&from=api&nt=true",
124				"price": "$12.31",
125				"roundedUpPrice": "$13",
126				"offerType": "",
127				"title": "Albany Scavenger Hunt: Empire State Of Mind",
128				"productCode": "104204P22",
129				"partner": "Viator",
130				"imageUrl": "https://media.tacdn.com/media/attractions-splice-spp-360x240/09/17/31/14.jpg",
131				"description": null,
132				"primaryCategory": "Self-guided Tours & Rentals"
133			}
134		]
135	}
136}

Vacation Rental

1{
2	"id": 7164901,
3	"type": "vacationRental",
4	"webUrl": "https://www.tripadvisor.com/VacationRentalReview-g48808-d7164901.html",
5	"name": "Beautiful Estate home in the Hamptons, New York",
6	"latitude": 40.944626,
7	"longitude": -72.36356,
8	"rating": -1,
9	"description": "This beautiful estate home in Water Mill, New York borders the prestigious Matt Lauer's 40 acre horse farm with distant ocean views.  This estate features 7 bedrooms with 7 en suite bathrooms, 2 1/2 baths, two master bedrooms.  There are five full masonry fireplaces, pool room, wine room, cigar room, 15 seated high dif theater, sauna with dressing and shower facilities.  Outdoors features a 60 foot free form gunite pool with 7 person spa with waterfall, outdoor shower.  There is a sunken in all weather tennis court with stone walls, separate maids quarters, mature landscaping, and wrought iron gates complete this package.",
10	"image": "https://media-cdn.tripadvisor.com/media/vr-splice-j/01/46/b5/ab.jpg",
11	"photos": [
12		{
13			"url": "https://media-cdn.tripadvisor.com/media/vr-splice-l/01/46/b5/ab.jpg",
14			"description": "front of estate"
15		},
16		{
17			"url": "https://media-cdn.tripadvisor.com/media/vr-splice-l/01/46/b5/aa.jpg",
18			"description": "free form pool with waterfall hottub"
19		}
20	],
21	"numberOfReviews": 0,
22	"numberOfRooms": 7,
23	"baseDailyRate": {
24		"amount": 6914,
25		"currency": "USD"
26	},
27	"bedroomInfo": "",
28	"bathroomInfo": "7 Full baths",
29	"bathCount": 7,
30	"features": [
31		{
32			"feature": "DVD player",
33			"hasFeature": true
34		},
35		{
36			"feature": "Air conditioning",
37			"hasFeature": true
38		}
39	]
40}

FAQ

🤔 How can I specify what to search for?
The actor provides a rich set of customization options, from keywords 🔑 and category selection 🏷️ to precise control over dates 📅, language 🌍, and currency 💵, enabling highly targeted searches.

🌐 Is it possible to scrape data using a specific URL?
Absolutely! Initiating your data extraction with a specific TripAdvisor page URL 🖥️ is fully supported, offering pinpoint accuracy in your scraping endeavors.

📚 What categories of information does the scraper cover?
It adeptly pulls detailed listings on a broad spectrum of travel-related categories ✈️🏨🍴, including the potential to gather direct contacts 📞📧 when openly available.

🌍 How does it adapt to my regional preferences?
Yes, you can set it to show info in your preferred language 🗣️ and currency💲.

📝 If I want to scrape reviews, what should I do?
For scraping reviews, we have another product specifically designed for this purpose: TripAdvisor Reviews Scraper 🌟. This dedicated tool is tailored to efficiently collect review data from TripAdvisor, ensuring you have access to comprehensive feedback and insights.

Contact

Please visit us through epctex.com to see all the products that are available for you. If you are looking for any custom integration or so, please reach out to us through the chat box in epctex.com. In need of support? devops@epctex.com is at your service.

Developer
Maintained by Community

Actor Metrics

  • 43 monthly users

  • 6 stars

  • 98% runs succeeded

  • 13 hours response time

  • Created in Feb 2024

  • Modified 18 hours ago

Categories