API reference

Booking.com Hotel Search API

Hotels in a destination for a stay: name, stars, review score and count, the price for the stay, check-in and check-out times, position, photos and whether the site prefers it.

Endpoint

GET/v1/booking/search-hotelslive · proven3 credits
Try in Playground

Parameters

Query parameters

Useful optional inputs

  • sort — Choose the documented source ordering before paging through results.

    Ordering keeps the normal endpoint price and does not guarantee exhaustive results.

  • dry_run — Read a free estimate before fetching sources or scheduling paid work.

    Zero credits; cache status and availability are snapshots rather than guarantees.

NameRequiredDescriptionExample
locationnoA city, district, landmark or hotel name; resolved to a destination once and remembered (or pass destination_id and destination_type)Lisbon
destination_idnoA destination id from booking/locations-2167973
destination_typenoThe destination's type from booking/locationsCITY
checkinyesCheck-in date, YYYY-MM-DD2026-10-10
checkoutyesCheck-out date, YYYY-MM-DD2026-10-12
adultsnoAdults, 1 to 302
children_agesnoChildren's ages, separated by commas
roomsnoRooms, 1 to 301
pagenoPage number1
sortnopopularity, price, class, review_score or distance Accepted values: popularity, price, class, review_score, distance, upsort_bh, class_asc, class_desc, bayesian_review_score. Case, spaces, hyphens and underscores are interchangeable.
min_pricenoMinimum price per night in the currency
max_pricenoMaximum price per night in the currency
filtersnoThe site's category filters, separated by commas (class::4, free_cancellation::1…)
currencynoThree-letter currency codeGBP
languagenoLanguage code for the site's texten-gb
unitsnometric or imperial Accepted values: metric, imperial. Case, spaces, hyphens and underscores are interchangeable.
temperature_unitnoc or f Accepted values: c, f. Case, spaces, hyphens and underscores are interchangeable.
dry_runnoRead a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. Accepted values: 1, 0, true, false. Case, spaces, hyphens and underscores are interchangeable.1

Examples

Make the request

curl
curl "https://www.monocrawl.com/v1/booking/search-hotels?checkin=2026-10-10&checkout=2026-10-12" \
  -H "x-api-key: mn_your_key_here"
TypeScript
typescript
const key = process.env.MONOCRAWL_API_KEY;
if (!key) throw new Error('Set MONOCRAWL_API_KEY on your server.');
const res = await fetch(
  "https://www.monocrawl.com/v1/booking/search-hotels?checkin=2026-10-10&checkout=2026-10-12",
  { headers: { "x-api-key": key } },
);
const body = await res.json();

if (!body.success) {
  // one error shape for every endpoint — see /docs/errors
  throw new Error(`${body.error.type}: ${body.error.message}`);
}

console.log(body.data, "credits left:", body.credits_remaining);
Python
python
import os
import requests

res = requests.get(
    "https://www.monocrawl.com/v1/booking/search-hotels?checkin=2026-10-10&checkout=2026-10-12",
    headers={"x-api-key": os.environ["MONOCRAWL_API_KEY"]},
    timeout=60,
)
body = res.json()

if not body["success"]:
    # one error shape for every endpoint — see /docs/errors
    raise RuntimeError(f"{body['error']['type']}: {body['error']['message']}")

print(body["data"], "credits left:", body["credits_remaining"])

Response

Response fields and example

This example is illustrative, not a captured live response. Variable-cost operations may settle a charge different from the list price below. A successful response puts the platform payload in data and reports the exact credits used, remaining balance, request id and cache status beside it.

200 · application/json
{
  "success": true,
  "platform": "booking",
  "endpoint": "/v1/booking/search-hotels",
  "data": {
    "adults": 0,
    "checkin": "example",
    "checkout": "example",
    "count": 0,
    "cursor": null,
    "destination": {
      "id": "example",
      "label": "example",
      "name": "example",
      "type": "example"
    },
    "has_more": false,
    "items": [
      {
        "accurate_class": 0,
        "badges": [
          "example"
        ],
        "checkin": {
          "from": "example",
          "until": "example"
        },
        "checkin_date": "2026-09-01T12:00:00Z",
        "checkout": {
          "from": "example",
          "until": "example"
        },
        "checkout_date": "2026-09-01T12:00:00Z",
        "country_code": "example",
        "currency": "example",
        "destination_id": "example",
        "id": "example",
        "image_url": "https://example.com/example",
        "images": [
          "example"
        ],
        "label": "example",
        "latitude": 0,
        "longitude": 0,
        "name": "example",
        "platform": "example",
        "position": 0,
        "preferred": false,
        "price": {
          "amount": 0,
          "currency": "example"
        },
        "rank": 0,
        "review_count": 0,
        "review_score": 0,
        "review_score_word": "example",
        "stars": 0,
        "strikethrough_price": {
          "amount": 0,
          "currency": "example"
        },
        "type": "example"
      }
    ],
    "page": 0,
    "rooms": 0,
    "total": 0
  },
  "credits_used": 3,
  "credits_remaining": 99,
  "request_id": "req_…",
  "cached": false
}

The example is illustrative and shows a documented subset of data. The fields below are optional across supported sources; nullable fields can also be absent. Preserve unknown values and accept additional fields.

Schema basis: observed response shapes, not an exhaustive field specification. See schema coverage and validation limits.

Download the data JSON Schema. Validate response.data, not the whole envelope. A valid shape does not establish that every field or source record was returned.

Field inside dataTypeMeaning
adultsnumber | nullOptional adults supplied by this operation. Null means unknown.
checkinstring | nullOptional checkin supplied by this operation. Null means unknown.
checkoutstring | nullOptional checkout supplied by this operation. Null means unknown.
countnumber | nullNumber of records in this response, not lifetime or total matches.
cursorstring | nullOpaque next-page token; pass it back unchanged. Null does not prove complete history.
destinationobject | nullOptional destination supplied by this operation. Null means unknown.
destination.idstring | nullSource identifier. Preserve the supplied type and exact value.
destination.labelstring | nullOptional label supplied by this operation. Null means unknown.
destination.namestring | nullOptional name supplied by this operation. Null means unknown.
destination.typestring | nullOptional type supplied by this operation. Null means unknown.
has_moreboolean | nullSource continuation indicator; null means unknown.
itemsarray | nullReturned records. Source coverage and completeness vary.
items[].accurate_classnumber | nullOptional accurate class supplied by this operation. Null means unknown.
items[].badgesarray | nullOptional badges supplied by this operation. Null means unknown.
items[].checkinobject | nullOptional checkin supplied by this operation. Null means unknown.
items[].checkin.fromstring | nullOptional from supplied by this operation. Null means unknown.
items[].checkin.untilstring | nullOptional until supplied by this operation. Null means unknown.
items[].checkin_datestring | nullOptional checkin date supplied by this operation. Null means unknown.
items[].checkoutobject | nullOptional checkout supplied by this operation. Null means unknown.
items[].checkout.fromstring | nullOptional from supplied by this operation. Null means unknown.
items[].checkout.untilstring | nullOptional until supplied by this operation. Null means unknown.
items[].checkout_datestring | nullOptional checkout date supplied by this operation. Null means unknown.
items[].country_codestring | nullOptional country code supplied by this operation. Null means unknown.
items[].currencystring | nullOptional currency supplied by this operation. Null means unknown.
items[].destination_idstring | nullOptional destination id supplied by this operation. Null means unknown.
items[].idstring | nullSource identifier. Preserve the supplied type and exact value.
items[].image_urlstring | nullOptional image url supplied by this operation. Null means unknown.
items[].imagesarray | nullOptional images supplied by this operation. Null means unknown.
items[].labelstring | nullOptional label supplied by this operation. Null means unknown.
items[].latitudenumber | nullOptional latitude supplied by this operation. Null means unknown.
items[].longitudenumber | nullOptional longitude supplied by this operation. Null means unknown.
items[].namestring | nullOptional name supplied by this operation. Null means unknown.
items[].platformstring | nullOptional platform supplied by this operation. Null means unknown.
items[].positionnumber | nullOptional position supplied by this operation. Null means unknown.
items[].preferredboolean | nullOptional preferred supplied by this operation. Null means unknown.
items[].priceobject | nullSource price. Currency, taxes and availability depend on the listing.
items[].price.amountnumber | nullOptional amount supplied by this operation. Null means unknown.
items[].price.currencystring | nullOptional currency supplied by this operation. Null means unknown.
items[].ranknumber | nullOptional rank supplied by this operation. Null means unknown.
items[].review_countnumber | nullOptional review count supplied by this operation. Null means unknown.
items[].review_scorenumber | nullOptional review score supplied by this operation. Null means unknown.
items[].review_score_wordstring | nullOptional review score word supplied by this operation. Null means unknown.
items[].starsnumber | nullOptional stars supplied by this operation. Null means unknown.
items[].strikethrough_priceobject | nullOptional strikethrough price supplied by this operation. Null means unknown.
items[].strikethrough_price.amountnumber | nullOptional amount supplied by this operation. Null means unknown.
items[].strikethrough_price.currencystring | nullOptional currency supplied by this operation. Null means unknown.
items[].typestring | nullOptional type supplied by this operation. Null means unknown.
pagenumber | nullOptional page supplied by this operation. Null means unknown.
roomsnumber | nullOptional rooms supplied by this operation. Null means unknown.
totalnumber | nullSource-reported total; null is unknown.

Optional fields reviewed from preserved successful responses. Additive fields and source variations remain allowed; validate the fields your workflow requires.

The example is invented and illustrates types only; zero and empty values are not claims about a real result.

Failures use the typed error envelope. A confirmed uncharged or refunded failure reports zero; a pending reconciliation can report an unknown charge. Read credits_used and error.details.billing_status, and keep request_id for recovery. Response contract · Error reference

First call in under a minute

150 free credits and a ready-made key the moment you sign up. No card.