APIs / Travel / Booking.com

1 credit per call11 endpointsChecked working 6 Dec 2026

Booking.com API

Booking.com API for hotel search and prices by destination and dates, plus rooms, reviews, review scores and photos, as JSON. 1 credit per call.

Booking.com
GET/v1/booking/search?ss=Paris&checkin=2027-01-04&checkout=2027-01-07&group_adults=2&dest_id=-1456928&dest_type=city
{
  "success": true,
  "data": {
    "title": "Booking.com: Hotels in Paris. Book your hotel now!",
    "canonical_url": "https://www.booking.com/searchresults.html",
    "og": {
      "site_name": "Booking.com",
      "type": "website",
      "url": "https://www.booking.com/searchresults.html",
      "title": "Help! Which property is best?",
      "description": "I found these great hotels on Booking.com and love them all. Help me decide which one to book!",
      "locale": "en_US"
    },
    "total_results": 0,
    "parsed": true
  },
  "meta": {
    "url": "https://www.booking.com/searchresults.html?ss=Paris&checkin=2026-06-01&checkout=2026-06-04&group_adults=2&dest_id=-1456928&dest_type=city",
    "duration_ms": 4979.6,
    "scraped_at": "2026-11-12T13:14:46+00:00",
    "cached": false,
    "booking_pool_attempts": 2,
    "booking_pool_stages": [
      "aws_waf_replay_attempts_exhausted",
      "aws_waf_replay_success"
    ]
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/booking/search?ss=Paris&checkin=2027-01-04&checkout=2027-01-07&group_adults=2&dest_id=-1456928&dest_type=city" \
  -H "X-API-Key: $API_KEY"

Booking.com · 11 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
POST/v1/booking/bulk-prices
searches+1 optional
JSON1 credit
GET/v1/booking/destinations
q+2 optional
namelabeldest_iddest_typecountry_codelatitude+2 more
1 credit
GET/v1/booking/facilities
none+10 optional
titlecanonical_urlfacilitiesparsed
1 credit
GET/v1/booking/hotel
none+3 optional
titlecanonical_urlogtwitterh1page_type+4 more
1 credit
GET/v1/booking/photos
none+10 optional
titlecanonical_urlphotosparsed
1 credit
GET/v1/booking/prices
sscheckincheckout+8 optional
titlecanonical_urlpricesparsed
1 credit
GET/v1/booking/review-scores
none+10 optional
titlecanonical_urlaggregate_ratingreview_scoreparsed
1 credit
GET/v1/booking/reviews
none+8 optional
titlecanonical_urlreviewspaginationparsed
1 credit
GET/v1/booking/rooms
none+10 optional
titlecanonical_urlroomsparsed
1 credit
GET/v1/booking/search
ss+10 optional
titlecanonical_urlogparsed
1 credit
GET/v1/booking/search-by-url
url
titlecanonical_urlogh1resultsparsed
1 credit

Overview

About the Booking.com API

What you can get

The Booking.com API returns Booking.com hotel data as JSON through 11 endpoints.

  • Search and prices: search and prices take a destination in ss, with checkin, checkout, group_adults, group_children, no_rooms, dest_id, dest_type (city, region, district, hotel, landmark or airport), lang and currency. search-by-url takes a Booking.com url, and bulk-prices is a POST that takes a list of searches.
  • Destinations: destinations takes q, with lang and currency.
  • Hotels: hotel, rooms, facilities, photos and review-scores take a hotel url, or its country and slug; most also take the stay dates and guests.
  • Reviews: reviews takes the same hotel fields, with page, limit and sort (recent_desc, recent_asc, score_desc or score_asc).

The recorded prices call for Paris, 20 to 23 November for 2 adults, returns prices, each with name, url, price, review_score, location and image, and total_prices. The recorded rooms call returns rooms with name, price, occupancy, beds and available.

How a call works

Get prices for a destination, then open a hotel: GET /v1/booking/prices?ss=Paris&checkin=2027-01-08&checkout=2027-01-11&group_adults=2 with your key in the X-API-Key header. The first hotel in the recording has the url https://www.booking.com/hotel/fr/royal-saint-michel.html, and the recorded rooms call passes country fr and slug royal-saint-michel from it. Every successful call costs 1 credit; failed calls cost nothing.

TravelJSONRESTMCP

More travel APIs

Use cases

Track hotel prices in a destination for set dates

Use the Booking.com API to track hotel prices in a destination for set dates

Compare review scores across hotels in an area

Use the Booking.com API to compare review scores across hotels in an area

Check room availability for a hotel and stay

Use the Booking.com API to check room availability for a hotel and stay

Collect reviews for sentiment analysis

Use the Booking.com API to collect reviews for sentiment analysis

FAQ

Questions

Do I need a Booking.com affiliate account?

No. You call this Booking.com API with your Perceptlayer key in the `X-API-Key` header, with no Booking.com partner account to set up.

How much does the Booking.com API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side. In the recordings, `price` and `review_score` are strings.

Is this the official Booking.com API?

No. Perceptlayer is an independent service and is not affiliated with Booking.com. It returns Booking.com data as JSON with a Perceptlayer key, so there is no Booking.com developer account, app review or partner approval to get first. It only reads data: if Booking.com has an official API and you need to act on your own Booking.com account, such as posting, managing orders or reading private data, use that one.

Should I build a Booking.com scraper instead?

You can, but a Booking.com scraper is code you maintain: page changes break it, requests get blocked, and Booking.com's terms govern how you collect data. The Booking.com API gives you 11 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Booking.com API with 100 free credits

No credit card. Failed calls are never billed.