Booking.com APIBooking.com

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.

$4.00 per 1,000 calls with a credit pack, down to $1.20 on the Scale plan500 free calls, no card. Failed calls are free. Then $20 for 10,000 credits, or plans from $39 a month.Checked Hotel price API: rate shopping and parity
POST /v1/ota/booking12 credits
{
  "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.

One POST /v1/ota/booking call from start to finish: the inputs you send, a failed attempt retried on our side and charged nothing, and typed JSON back with hotel_id, available, price and currency, for 12 credits. Values from the API's own example.
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"
  }'
Response (trimmed)
{
  "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

FieldTypeExampleWhat it is
propertyobject
property.pagenamestring"moxy-boston-downtown"
property.hotel_idinteger | null5375786Booking.com's numeric hotel id as returned upstream.
point_of_saleobjectThe visitor market the prices were collected for, and whether it was verified
point_of_sale.country_marketstring"GB"
calendararray of objectOne entry per night: available, price, currency and minimum length of stay
calendar[].stay_datestring (date)"2027-02-11"
calendar[].availablebooleantrueWhether it can be booked.
calendar[].availabilitystring"available"
calendar[].is_soldoutbooleanfalseTrue when nothing can be booked for this date.
calendar[].pricenumber | null453Null for unsellable dates.
calendar[].currencystring"USD"ISO 4217 currency code of the prices.

Arrays show their first item; every item has the same fields. Full schema in the API reference

In the request

InputTypeRequiredWhat it does
pagenamestringRequiredURL slug returned by POST /v1/ota/booking/search.Min length 2.
countrystringOptionalThe 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.
startstring (date) | nullOptionalDefaults to today.
daysintegerOptionalBooking 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.
currencystringOptionalISO 4217 code for the returned prices.Default USD.
adultsintegerOptionalAdults in the room.Default 2. Min 1, max 8.
roomsintegerOptionalRooms requested.Default 1. Min 1, max 8.
country_marketstring | nullOptionalVisitor 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.

EndpointWhat it returnsCreditsPer 1,000 calls
Hotel search
POST /v1/ota/booking/search
Booking.com slug for a hotel name and city, with match confidence4 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 call12 credits$24.00 – $7.18
Rooms and rate plans
POST /v1/ota/booking/rooms
Every room type and rate plan for one stay12 credits$24.00 – $7.18
Reviews
POST /v1/ota/booking/reviews
Guest reviews, up to 25 per page, sorted or filtered by keyword2 credits$4.00 – $1.20

See all plans

Your first call in three steps

  1. 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.

  2. 02

    Send POST /v1/ota/booking

    Put the key in the x-api-key header and pass pagename. Every other input is optional and listed above.

  3. 03

    Read the JSON

    The answer is one JSON object with property, point_of_sale, calendar, unavailable_dates and meta, 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)
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.

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.