Booking.com API for hotel prices, rooms and reviews
Look 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.
{
"search_parameters": {
"engine": "booking_calendar",
"pagename": "moxy-boston-downtown",
"country": "us",
"start_date": "2027-02-11",
"days": 3,
"currency": "USD",
"adults": 2,
"rooms": 1,
"country_market": "GB"
},
"property": {
"pagename": "moxy-boston-downtown",
"hotel_id": 5375786
…For many hotels Booking.com is the largest source of OTA bookings, so its price is the one revenue teams watch most closely. Its own APIs are built for partners who sell or supply rooms, not for teams that want to read prices across many hotels. This API returns the public property page as data: you send the hotel’s Booking.com slug and get back prices, rooms and reviews.
Prices on Booking.com depend on where the visitor is. Set country_market and the request is priced as a guest from that country would see it, and the response says which market it was actually collected from. Booking.com returns 61 nights at a time; longer calendars are paged for you inside the same call, so a full year is one request and one charge.
What you get
- recommended_match
- the hotel’s Booking.com slug and country from a name and city search, with a confidence score
- calendar[]
- one entry per night: available, price, currency and minimum length of stay
- point_of_sale
- the visitor market the prices were collected for, and whether it was verified
- rooms[].rate_plans[]
- price per rate plan in its stated currency, whether taxes are included (and the taxes and fees when they are not), Genius member rates with their public price, and free cancellation, no prepayment and breakfast flags
- cheapest_public_rate
- the lowest price for your party that needs no sign-in
- room_size, max_persons, beds
- room details, where Booking.com publishes them
- reviews[]
- rating out of 10, title, text, guest country, room type, stay date and the property’s reply
- provenance
- when and how each nightly price was observed
One call, structured JSON
POST /v1/ota/booking, 12 credits per successful call.

curl -X POST "https://api.scrapercompany.com/v1/ota/booking" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pagename": "moxy-boston-downtown",
"country": "us",
"days": 61,
"currency": "USD"
}'{
"search_parameters": {
"engine": "booking_calendar",
"pagename": "moxy-boston-downtown",
"country": "us",
"start_date": "2027-02-11",
"days": 3,
"currency": "USD",
"adults": 2,
"rooms": 1,
"country_market": "GB"
},
"property": {
"pagename": "moxy-boston-downtown",
"hotel_id": 5375786
},
"point_of_sale": {
"country_market": "GB"
},
"calendar": [
{
"stay_date": "2027-02-11",
"available": true,
"availability": "available",
"is_soldout": false,
"price": 453,
"currency": "USD",
"min_length_of_stay": 1,
"provenance": {
"schema_version": 1,
"observation_id": "rateobs_0123456789abcdef0123456789abcdef",
"collection_id": "ratecol_0123456789abcdef0123456789abcdef",
"observed_at": "2026-08-07T01:23:45.678Z",
"source": "booking_com",
"source_kind": "ota_calendar",
"source_property_id": "ChUIoben2Mv6-CYaCi9tLzA3czVwbjQQAQ",
"requested_market": "US",
"requested_currency": "USD",
"returned_currency": "USD",
"price_basis": "room_base_before_taxes_and_fees",
"derivation": "normalized_upstream"
}
},
{
"stay_date": "2027-02-12",
"available": false,
"availability": "sold_out",
"is_soldout": true,
"currency": "USD",
"min_length_of_stay": 1
}
],
"unavailable_dates": [
"2027-02-12",
"2027-02-13"
],
"meta": {
"source": "booking",
"collection_id": "ratecol_0123456789abcdef0123456789abcdef",
"observed_at": "2026-08-07T01:23:45.678Z",
"calls": 1,
"elapsed_s": 2.147,
"dates": 3,
"priced": 1
}
}Every field, documented before you buy
What one POST /v1/ota/booking call returns: 21 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 |
|---|---|---|---|
| property | object | ||
| property.pagename | string | "moxy-boston-downtown" | |
| property.hotel_id | integer | null | 5375786 | Booking.com's numeric hotel id as returned upstream. |
| point_of_sale | object | The visitor market the prices were collected for, and whether it was verified | |
| point_of_sale.country_market | string | "GB" | |
| calendar | array of object | One entry per night: available, price, currency and minimum length of stay | |
| calendar[].stay_date | string (date) | "2027-02-11" | |
| calendar[].available | boolean | true | Whether it can be booked. |
| calendar[].availability | string | "available" | |
| calendar[].is_soldout | boolean | false | True when nothing can be booked for this date. |
| calendar[].price | number | null | 453 | Null for unsellable dates. |
| calendar[].currency | string | "USD" | ISO 4217 currency code of the prices. |
| calendar[].min_length_of_stay | integer | null | 1 | |
| calendar[].provenance | object | Where, when and how one normalized price was observed. | |
| unavailable_dates | array of string (date) | ||
| meta | object | About the call: what was asked for and how big the answer is. | |
| meta.collection_id | string | "ratecol_0123456789abcdef0123456789abcdef" | One id shared by every price collected in this response, for joining rows later. |
| meta.observed_at | string | "2026-08-07T01:23:45.678Z" | When the data was read, in UTC (ISO 8601). |
| meta.calls | integer | 1 | |
| meta.dates | integer | 3 | |
| meta.priced | integer | 1 |
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 | The two-letter segment in the URL *before* the slug — part of the property's address on Booking, not your own location.Default us. Min length 2, max length 2. |
| start | string (date) | null | Optional | Defaults to today. |
| days | integer | Optional | Booking truncates any single response to 61 days, so larger windows are paged automatically — a year is 6 calls, not 1.Default 61. Min 1, max 365. |
| currency | string | Optional | ISO 4217 code for the returned prices.Default USD. |
| adults | integer | Optional | Adults in the room.Default 2. Min 1, max 8. |
| rooms | integer | Optional | Rooms requested.Default 1. Min 1, max 8. |
| country_market | string | null | Optional | Visitor country (point of sale), two letters, e.g. |
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 |
|---|---|---|---|
| Hotel search POST /v1/ota/booking/search | Booking.com slug for a hotel name and city, with match confidence | 4 credits | $8.00 – $2.39 |
| Price calendar POST /v1/ota/booking | Nightly prices from a start date, 61 nights by default and up to 365 in one call | 12 credits | $24.00 – $7.18 |
| Rooms and rate plans POST /v1/ota/booking/rooms | Every room type and rate plan for one stay | 12 credits | $24.00 – $7.18 |
| Reviews POST /v1/ota/booking/reviews | Guest reviews, up to 25 per page, sorted or filtered by keyword | 2 credits | $4.00 – $1.20 |
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
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
property,point_of_sale,calendar,unavailable_datesandmeta, typed and named the same way on every call. A failed call costs 0 credits, so retrying is free.
Limits and coverage
- Where it works
- Worldwide
- Up to 365 days per call (
days) - Up to 8 adults per call (
adults) - Up to 8 rooms per call (
rooms)
Is it legal to scrape Booking.com?
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 Booking.com 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 Booking.com.
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 Booking.com 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. Booking.com is a trademark of its owner. ScraperCompany is independent: not affiliated with or endorsed by Booking.com, and this is not an official Booking.com API.
Frequently asked questions
Read next
Guides
Does Booking.com have a public API?
Not one you can sign up for. Booking.com’s Demand API is for approved affiliate partners, and its Connectivity APIs are for property-management systems and channel managers that supply rooms. Neither is meant for reading prices across hotels you do not manage, which is what this API does.
How do I find a hotel’s Booking.com ID?
Send the hotel name and city to the hotel search endpoint. It returns the slug and country from the hotel’s Booking.com URL (for booking.com/hotel/us/moxy-boston-downtown.html, the slug is moxy-boston-downtown and the country is us), with a confidence score. Store it once and reuse it.
Can I see the prices guests in another country see?
Yes. Booking.com prices by the visitor’s country, so set country_market (for example GB or DE) and the request is collected from that market. The point_of_sale block in the response confirms which market the prices came from.
How many nights does one call return?
Up to 365. Booking.com returns 61 nights per response, so the API pages through longer windows for you inside the same call. It is billed once, at the calendar price, however many nights you ask for; a full year takes longer to answer than 61 nights.
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 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.
Vrbo APISearch Vrbo for a destination and stay, then quote any rental for exact dates: Vrbo’s nightly figure, its fee-inclusive total, the payment model and whether the dates can be booked. 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 salesVolume, custom terms, invoices
- Read the quickstartFirst call in five minutes