How to get Tripadvisor hotels, ratings and reviews for a whole city
Updated · 1ToolRing team
To get Tripadvisor hotel reviews for a whole city, search Tripadvisor for hotels in that location, keep rating and review count side by side, then fetch reviews for the hotels on your shortlist. With 1ToolRing your agent uses dataforseo/tripadvisor/search for the list and dataforseo/tripadvisor/reviews for the text. Both are paid per call from your prepaid balance, and the city lookup that comes first is free.
A hotel revenue manager watching a competitive set and a travel writer building a shortlist want the same table: the hotels in a city with their ratings, plus what guests say about the ones that matter. Opening each hotel page by hand is slow, and ratings copied without review counts produce a ranking nobody should trust.
Two habits spoil most hotel lists. One is reading the order the search returns as a quality ranking, though nothing says it is sorted by rating. The other is comparing a perfect score from a few guests with a slightly lower one from thousands. Keep both numbers, sort on a field you choose and pull review text only for the hotels you will act on.
Paste this into your agent
Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.
Set up 1ToolRing from 1toolring.com/install, then list hotels in Lisbon, Portugal from Tripadvisor. Use dataforseo/tripadvisor/locations to get the location code, then dataforseo/tripadvisor/search for hotels there. Inspect the price first and cap the list at 100 places. Drop anything that is not a hotel, drop hotels with fewer than 50 reviews, sort by rating, and for the top 10 fetch the newest reviews with dataforseo/tripadvisor/reviews. Return a table of hotel, rating, review count and the two most common complaints with example quotes.First time? Set up takes one command or one connector URL:
set up 1ToolRing - https://1toolring.com/llms.txtPaste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.
Tools this workflow uses
Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.
| Tool | What it does here | Price |
|---|---|---|
dataforseo/tripadvisor/locations | Looks up the Tripadvisor location code for the city, for free, so the search is pinned to the right place. | FreeFree |
dataforseo/tripadvisor/search | Searches Tripadvisor for places in a location and returns their ratings and review counts. | $0.0020 / callRp36 / call |
dataforseo/tripadvisor/reviews | Fetches the reviews of one place by its Tripadvisor URL path. | $0.0020 / callRp36 / call |
serpapi/tripadvisor/search | Searches Tripadvisor for hotels, restaurants and attractions as a second view of the same city, billed once per successful search. | $0.020 / callRp353 / call |
serpapi/tripadvisor/reviews | Gets traveler reviews of one Tripadvisor place found through the second view. | $0.020 / callRp353 / call |
anyapi/booking.search | Searches Booking.com stays for a destination and dates and returns name, price, review score and location, so Booking.com scores can sit beside Tripadvisor ratings. | $0.0065 / unitRp117 / unit |
Step by step
- Pin the city. Have the agent look up the city with
dataforseo/tripadvisor/locations, which is free. A city name on its own can match a region or a district that shares the name. - Search hotels with a cap. Run
inspect_toolondataforseo/tripadvisor/searchto read the inputs and the price, then search that location with your cap. Tripadvisor covers hotels, restaurants and attractions, so check the type of every row and drop what is not a hotel. - Set a review count floor. Drop hotels below a minimum number of reviews, or show the count beside every rating. A perfect score from a handful of guests cannot be compared with a slightly lower one from thousands.
- Sort on the field you mean. Do not assume the search order ranks hotels by rating. Sort by rating, by review count or by a weighted mix of the two, and name the rule in the column header.
- Pull reviews for the shortlist. Fetch reviews only for hotels you will act on, using
dataforseo/tripadvisor/reviewsand the URL path from the search row. Tag complaints into a short theme list, for example noise, cleanliness, staff and location. - Add prices only if you need them. Tripadvisor ratings say nothing about what a room costs on your dates. For that, run
anyapi/booking.searchfor the same city and dates, join on hotel name and check each match by hand.
What does a Tripadvisor hotel search return?
A Tripadvisor hotel search returns the places Tripadvisor lists for a location, each with a rating and a review count. The reviews call adds the text guests wrote. Prices for your dates are a separate question, covered in hotel price comparison.
Why does a hotel rating alone mislead?
A rating is an average, and an average built on a few reviews swings with every new one. Keep the review count in the next column, set a minimum before you rank, and when two hotels are close, read their recent reviews before deciding which is better. Recent reviews also catch a renovation or a change of management that the long-run average hides.
Which Tripadvisor tool should I use for each job?
Start with the free location lookup, and open reviews only for the hotels you keep.
| Job | Tool | Notes |
|---|---|---|
| Find the city code | dataforseo/tripadvisor/locations | Free lookup |
| List hotels with ratings | dataforseo/tripadvisor/search | Per call, includes review counts |
| Read one hotel's reviews | dataforseo/tripadvisor/reviews | Takes the URL path from the search row |
| Second view of the same city | serpapi/tripadvisor/search | One charge per successful search |
| Traveler reviews from the second view | serpapi/tripadvisor/reviews | One place per call |
| Booking.com prices and scores for dates | anyapi/booking.search | Needs a destination and dates |
How do I compare Tripadvisor ratings with Booking.com scores?
Run anyapi/booking.search for the same destination and dates; it returns each hotel's name, price, review score and location. Booking.com scores use their own scale, so give them their own column and never average them with Tripadvisor ratings. Match hotels by name and check the matches, since one hotel can be listed under slightly different names on each site.
When is Tripadvisor the wrong source?
Tripadvisor ratings carry no prices or availability, so for exact dates you need a hotel price search. The reviewers are also the guests who wanted to write something, which slants the sample. If you manage the hotel, a guest survey will tell you more about why people come back or stay away.
What does it cost?
One city: a free location lookup, one hotel search, reviews for ten hotels and one Booking.com search for the same dates.
| Call | Tool | Count | USD | IDR |
|---|---|---|---|---|
| Location lookup | dataforseo/tripadvisor/locations | 1 | $0 | Rp0 |
| Hotel search, one city | dataforseo/tripadvisor/search | 1 | $0.0020 | Rp36 |
| Reviews for 10 hotels | dataforseo/tripadvisor/reviews | 10 | $0.020 | Rp360 |
| Booking.com search for the same dates | anyapi/booking.search | 1 | $0.0065 | Rp117 |
| Total | $0.028 | Rp513 | ||
Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.
Questions
Is there a free Tripadvisor API?
Can I get reviews for every hotel in a city?
Why did my hotel search return an attraction?
Can I track a competitive set over time?
Does this include room prices?
anyapi/booking.search or the tools in hotel price comparison.