Hotel reviews API: guest reviews from five sites in one shape
Read a hotel’s guest reviews from Google Hotels, Booking.com, Expedia, Hotels.com and Tripadvisor with the same fields on every row: rating and its scale, text, author, date and the hotel’s reply. Structured JSON, priced per page.
{
"source": "booking",
"pagename": "newbury-guest-house",
"hotel_id": 236725,
"ufi": 20061717,
"country": "us",
"total": 523,
"skip": 0,
"limit": 10,
"sort": "MOST_RELEVANT",
"rating_scale": 10,
"count": 2,
"reviews": [
{
"source": "booking",
…Hotels and the agencies that manage their reputation answer reviews on several sites, and each site holds a different set. Even Expedia and Hotels.com, which answer the same reviews query, keep separate pools of reviews for the same hotel. Collecting them by hand means five ID schemes and five ways to page. This API returns every source’s reviews in one shape, so one parser and one table cover all five.
Ratings are not on one scale. Booking.com, Expedia and Hotels.com rate out of 10 and Tripadvisor out of 5, while Google mixes its own reviews with Tripadvisor’s, Priceline’s and others’, each on its provider’s scale. The API keeps every rating in the scale the site uses and says which, with rating_scale on the page and provider on Google’s rows, instead of converting silently. The hotel’s answer comes back as management_reply on the same row.
What you get
- reviews[].rating
- the guest’s rating, in the source’s own scale
- rating_scale
- 10 for Booking.com, Expedia and Hotels.com, 5 for Tripadvisor
- reviews[].text, title, author, date
- the review, its headline where the site has one, the guest’s name and the publication date
- reviews[].management_reply
- the hotel’s published answer to the review
- reviews[].provider
- on Google rows, the site the review came from, such as Tripadvisor or Priceline
- reviews[].stay_date, room_type, trip_type
- stay details, where the source publishes them
- total
- the source’s own count of reviews for the property
- next_page_token
- Google’s cursor to continue past the pages already fetched
One call, structured JSON
POST /v1/ota/booking/reviews, 2 credits per successful call.
curl -X POST "https://api.scrapercompany.com/v1/ota/booking/reviews" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pagename": "newbury-guest-house"
}'{
"source": "booking",
"pagename": "newbury-guest-house",
"hotel_id": 236725,
"ufi": 20061717,
"country": "us",
"total": 523,
"skip": 0,
"limit": 10,
"sort": "MOST_RELEVANT",
"rating_scale": 10,
"count": 2,
"reviews": [
{
"source": "booking",
"review_id": "48b4dc6c098c149e",
"rating": 8,
"title": "Good value, warm and inviting staff and very neat and clean rooms.",
"text": "No breakfast but coffee/tea in lobby, location very good-on fanciest street in Boston and room was clean neat and comfortable.",
"date": "2024-05-23",
"author": "Anna",
"author_country": "United States",
"stay_date": "2024-05-23",
"room_type": "Deluxe Room",
"management_reply": "Hello Anna, we are pleased that you enjoyed your stay. We value your kind words and feedback.",
"language": "xu",
"helpful_votes": 0,
"url": "48b4dc6c098c149e"
},
{
"source": "booking",
"review_id": "23d02bc7e442bfa9",
"rating": 10,
"title": "I will be returning to this hotel",
"text": "This location was excellent. close to food and shops.",
"negative_text": "getting to parking was tricky but doable",
"date": "2024-11-08",
"author": "Deborah",
"author_country": "United States",
"stay_date": "2024-11-06",
"room_type": "Luxury Double",
"language": "xu",
"helpful_votes": 0,
"url": "23d02bc7e442bfa9"
}
],
"rating_scores": [
{
"name": "Staff",
"value": 9.3,
"count": 258
}
],
"sorters": [
{
"value": "MOST_RELEVANT",
"name": "Most relevant"
},
{
"value": "NEWEST_FIRST",
"name": "Newest first"
}
],
"provenance": {
"schema_version": 1,
"observation_id": "rateobs_99462a8ea61e5fc7aea1b45a237f615c",
"collection_id": "ratecol_0123456789abcdef0123456789abcdef",
"observed_at": "2026-08-07T01:23:45.678Z",
"source": "booking_com",
"source_kind": "reviews",
"source_property_id": "newbury-guest-house",
"price_basis": "unknown",
"derivation": "upstream"
},
"elapsed_s": 0.521,
"collection_id": "ratecol_0123456789abcdef0123456789abcdef",
"observed_at": "2026-08-07T01:23:45.678Z"
}Every field, documented before you buy
What one POST /v1/ota/booking/reviews call returns: 42 fields with their type and a value from the example above, then every input the call takes.
In the response
| Field | Type | Example | What it is |
|---|---|---|---|
| pagename | string | "newbury-guest-house" | |
| hotel_id | integer | 236725 | |
| ufi | integer | 20061717 | |
| country | string | "us" | |
| total | integer | 523 | The source’s own count of reviews for the property |
| skip | integer | 0 | |
| limit | integer | 10 | |
| sort | string | "MOST_RELEVANT" | |
| rating_scale | integer | 10 | 10 for Booking.com, Expedia and Hotels.com, 5 for Tripadvisor |
| count | integer | 2 | |
| reviews | array | ||
| reviews[].review_id | string | "48b4dc6c098c149e" |
Arrays show their first item; every item has the same fields. Full schema in the API reference
In the request
| Input | Type | Required | What it does |
|---|---|---|---|
| pagename | string | Required | URL slug returned by POST /v1/ota/booking/search.Min length 2. |
| country | string | Optional | Two-letter segment before the slug in that URL.Default us. |
| url | string | null | Optional | A Booking.com hotel page link, instead of pagename and country. |
| skip | integer | Optional | Reviews to skip before this page.Default 0. Min 0. |
| limit | integer | Optional | Reviews per page (Booking caps at 25).Default 10. Min 1, max 25. |
| sort | string | Optional | One of Booking's own sort enums: MOST_RELEVANT, NEWEST_FIRST, OLDEST_FIRST, SCORE_DESC (highest scores first), SCORE_ASC (lowest first).Default MOST_RELEVANT. |
| text | string | null | Optional | Keyword filter Booking applies server-side.Max length 100. |
Endpoints and price per call
Credits per successful call, and what 1,000 calls cost: from a credit pack down to the Scale plan. Failed requests cost nothing.
| Endpoint | What it returns | Credits | Per 1,000 calls |
|---|---|---|---|
| Google Hotels POST /v1/hotels/reviews | Reviews Google shows for a property token, 10 per page and up to 10 pages per call | from 2 credits | from $4.00 – $1.20 |
| Booking.com POST /v1/ota/booking/reviews | Up to 25 per page, by relevance or date, with an optional keyword filter | 2 credits | $4.00 – $1.20 |
| Expedia POST /v1/ota/expedia/reviews | Up to 25 per page, newest first, from the US or Canadian site | 2 credits | $4.00 – $1.20 |
| Hotels.com POST /v1/ota/hotels/reviews | Up to 25 per page, newest first, from 11 Hotels.com points of sale | 2 credits | $4.00 – $1.20 |
| Tripadvisor POST /v1/ota/tripadvisor/reviews | Up to 30 per page for a location ID, newest first, or many pages in one call with max_reviews | 1 credit | $2.00 – $0.60 |
Your first call in three steps
- 01
Get an API key
Create an account and verify your email, then copy a key from the dashboard. The free trial is 500 free calls, once, no card needed.
- 02
Send POST /v1/ota/booking/reviews
Put the key in the
x-api-keyheader and passpagename. Every other input is optional and listed above. - 03
Read the JSON
The answer is one JSON object with
pagename,hotel_id,ufi,countryandtotal, typed and named the same way on every call. A failed call costs 0 credits, so retrying is free.
Limits and coverage
- Google Hotels: where it works
- Worldwide; market and currency are selectable, taxes and fees normalized per market
- Booking.com: where it works
- Worldwide
- Expedia: where it works
- US and CA points of sale; the point of sale decides the currency
- Hotels.com: where it works
- Point-of-sale specific prices
- Tripadvisor: where it works
- Worldwide
- Up to 25 results per call (
limit) - Google Hotels: One calendar call replaces one request per night.
- Google Hotels: Destination search returns about 20 properties a page with price, rating, class and amenity filters, each with the property token the calendar takes.
- Google Hotels: Offers and rooms break one night down by seller, the OTAs and the hotel's own site; offers cost 10 credits (14 with require_rooms).
- Google Hotels: SERP-compatible shapes are served at /v1/serp/google_hotels, /v1/serp/google_hotels_calendar and /v1/serp/google_hotels_property.
- Tripadvisor: Name search for prices is not available yet: take the location id from the URL, the number after -d in /Hotel_Review-g…-d12345-….
- Tripadvisor: Reviews and details also take a name and city; a name with no single confident match answers 404 with candidates, uncharged.
Is it legal to scrape hotel reviews?
It depends on what you collect and what you do with it. Here is what the API does, and what stays with you once the data is yours.
Public pages only
The API reads what each review site shows anyone who opens the page without signing in. It uses no account and opens nothing behind a paywall.
Facts are not the same as content
A price on a date, a rating or a count is a fact, and copyright does not protect facts. Review text, photos, descriptions and transcripts belong to their authors or the site. Counting, scoring or summarising them is a different use from republishing them, and republishing usually needs permission.
Databases have their own right in the EU and UK
Whoever invested in building a database there can stop others taking a substantial part of it, and repeated extraction of small parts can add up to a substantial part. Collect the fields and dates you need, not a copy of each review site.
Personal data is yours to handle
Guest reviews carry reviewer names, home countries and sometimes photos; host names appear on rental listings. If you keep it, the GDPR and UK GDPR apply to people in Europe and the UK, and other places have their own privacy laws: you need a lawful basis, must tell people you hold their data unless an exemption applies, should collect no more than you need, and should delete it on a schedule. The simplest route is not to keep it: drop names and handles before you store anything. A hashed name is still personal data.
The site’s terms, and ours
The terms of use of each review site may limit automated access to it or reuse of its data. Our Terms make you responsible for how you use the data you collect, for following the terms of the sites it comes from, for data protection law, and for having the rights you need.
This is general information, not legal advice. For a specific use, ask a lawyer where you operate. The sites named here are trademarks of their owners. ScraperCompany is not affiliated with or endorsed by any of them.
Frequently asked questions
Read next
Guides
Is there an official hotel reviews API?
Not one that covers these sites. Google’s Places API returns at most five reviews for a place, and Booking.com’s Guest Review API is for a property’s own reviews and internal use. This API is independent of all five sites and returns the reviews each one shows on its public pages, page by page.
Which hotel ID does each source need?
Google Hotels takes a property_token from a hotel search, Booking.com the slug and country from the hotel’s URL, Expedia and Hotels.com their numeric property_id, and Tripadvisor the location_id, the number after -d in a hotel URL. Each site’s hotel search endpoint returns these IDs from a hotel name.
Are ratings converted to one scale?
No. Each rating stays in the scale the site uses: out of 10 on Booking.com, Expedia and Hotels.com, and out of 5 on Tripadvisor. Google’s list mixes providers, so each Google row names its provider and keeps that provider’s scale, 5 for Google and Tripadvisor and 10 for Priceline. To compare, divide each rating by its scale.
How are review pages billed?
Per page. Booking.com, Expedia and Hotels.com return one page per call, and you page with skip or start_index; Tripadvisor does too with offset. Google Hotels can follow up to 10 pages of 10 reviews in one call and is billed for each page it fetched; next_page_token continues from there. Tripadvisor’s max_reviews fetches its pages of 20 in parallel in one call and is billed for each page fetched.
How do I pick up only new reviews?
Expedia, Hotels.com and Tripadvisor return reviews newest first, and Booking.com does with sort set to NEWEST_FIRST. Poll the first page and stop at the first review_id you have already stored. On Tripadvisor, since_date does the stopping for you: the call ends at the first review older than that date.
Do failed requests cost credits?
No. A failed or blocked call (any 4xx or 5xx response) costs 0 credits, and so does a search page that comes back empty. You pay only for successful results.
How do I get an API key?
Create an account on the sign-up page and verify your email. You get a free trial of 500 free calls, once, no card needed; for everything else, and after the trial, buy a credit pack (from $20) or pick a plan. You create and rotate keys yourself in the dashboard.
More APIs on the same key
All APIsLook a hotel up by name, then read what Booking.com shows a guest: a nightly price calendar, each room type with its rate plans, and the reviews with the property’s replies. Structured JSON, priced per call.
Expedia APILook a hotel up by name, then read what Expedia shows a guest for one stay: every room type and rate plan with its total, nightly price and cancellation terms, and the guest reviews with the property’s replies.
Hotels.com APIFind a hotel’s Hotels.com id by name, then read what a guest on the Hotels.com site for their country sees: the headline price for a stay, every room type and rate plan, and the guest reviews.
Agoda APILook a hotel up by name, then read every room type and rate plan Agoda shows a guest for one stay, with the stay total, discounts, meal plan and cancellation terms, in any of 23 currencies.
Tripadvisor APISend a hotel’s Tripadvisor id and a stay, and get the offers Tripadvisor lists from Booking.com, Expedia, Hotels.com and other sites, each with what its price means. Read the hotel’s guest reviews and management replies from the same id.
Airbnb APISearch Airbnb by destination or map area and get each listing with its trip price and breakdown. Then read a listing’s calendar: availability, stay rules and the price Airbnb itself quotes for the nights you choose. Structured JSON, priced per call.
Start with 500 free calls
Create an account and verify your email: your own API keys and 500 free calls, once, no card needed. When you need more, pay $20 as you go or pick a plan from $39 a month.
No card needed. Then $20 for 10,000 credits, or plans from $39 a month.
- Failed calls cost 0 credits
- Cancel anytime
- Unused pack credits refundable for 60 days
- Public status page
- Talk to sales Volume, custom terms, invoices
- Read the quickstart First call in five minutes