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
/v1/booking/search-hotelslive · proven3 creditsParameters
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.
| Name | Required | Description | Example |
|---|---|---|---|
location | no | A city, district, landmark or hotel name; resolved to a destination once and remembered (or pass destination_id and destination_type) | Lisbon |
destination_id | no | A destination id from booking/locations | -2167973 |
destination_type | no | The destination's type from booking/locations | CITY |
checkin | yes | Check-in date, YYYY-MM-DD | 2026-10-10 |
checkout | yes | Check-out date, YYYY-MM-DD | 2026-10-12 |
adults | no | Adults, 1 to 30 | 2 |
children_ages | no | Children's ages, separated by commas | |
rooms | no | Rooms, 1 to 30 | 1 |
page | no | Page number | 1 |
sort | no | popularity, 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_price | no | Minimum price per night in the currency | |
max_price | no | Maximum price per night in the currency | |
filters | no | The site's category filters, separated by commas (class::4, free_cancellation::1…) | |
currency | no | Three-letter currency code | GBP |
language | no | Language code for the site's text | en-gb |
units | no | metric or imperial Accepted values: metric, imperial. Case, spaces, hyphens and underscores are interchangeable. | |
temperature_unit | no | c or f Accepted values: c, f. Case, spaces, hyphens and underscores are interchangeable. | |
dry_run | no | Read 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 "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
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
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.
{
"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 data | Type | Meaning |
|---|---|---|
adults | number | null | Optional adults supplied by this operation. Null means unknown. |
checkin | string | null | Optional checkin supplied by this operation. Null means unknown. |
checkout | string | null | Optional checkout supplied by this operation. Null means unknown. |
count | number | null | Number of records in this response, not lifetime or total matches. |
cursor | string | null | Opaque next-page token; pass it back unchanged. Null does not prove complete history. |
destination | object | null | Optional destination supplied by this operation. Null means unknown. |
destination.id | string | null | Source identifier. Preserve the supplied type and exact value. |
destination.label | string | null | Optional label supplied by this operation. Null means unknown. |
destination.name | string | null | Optional name supplied by this operation. Null means unknown. |
destination.type | string | null | Optional type supplied by this operation. Null means unknown. |
has_more | boolean | null | Source continuation indicator; null means unknown. |
items | array | null | Returned records. Source coverage and completeness vary. |
items[].accurate_class | number | null | Optional accurate class supplied by this operation. Null means unknown. |
items[].badges | array | null | Optional badges supplied by this operation. Null means unknown. |
items[].checkin | object | null | Optional checkin supplied by this operation. Null means unknown. |
items[].checkin.from | string | null | Optional from supplied by this operation. Null means unknown. |
items[].checkin.until | string | null | Optional until supplied by this operation. Null means unknown. |
items[].checkin_date | string | null | Optional checkin date supplied by this operation. Null means unknown. |
items[].checkout | object | null | Optional checkout supplied by this operation. Null means unknown. |
items[].checkout.from | string | null | Optional from supplied by this operation. Null means unknown. |
items[].checkout.until | string | null | Optional until supplied by this operation. Null means unknown. |
items[].checkout_date | string | null | Optional checkout date supplied by this operation. Null means unknown. |
items[].country_code | string | null | Optional country code supplied by this operation. Null means unknown. |
items[].currency | string | null | Optional currency supplied by this operation. Null means unknown. |
items[].destination_id | string | null | Optional destination id supplied by this operation. Null means unknown. |
items[].id | string | null | Source identifier. Preserve the supplied type and exact value. |
items[].image_url | string | null | Optional image url supplied by this operation. Null means unknown. |
items[].images | array | null | Optional images supplied by this operation. Null means unknown. |
items[].label | string | null | Optional label supplied by this operation. Null means unknown. |
items[].latitude | number | null | Optional latitude supplied by this operation. Null means unknown. |
items[].longitude | number | null | Optional longitude supplied by this operation. Null means unknown. |
items[].name | string | null | Optional name supplied by this operation. Null means unknown. |
items[].platform | string | null | Optional platform supplied by this operation. Null means unknown. |
items[].position | number | null | Optional position supplied by this operation. Null means unknown. |
items[].preferred | boolean | null | Optional preferred supplied by this operation. Null means unknown. |
items[].price | object | null | Source price. Currency, taxes and availability depend on the listing. |
items[].price.amount | number | null | Optional amount supplied by this operation. Null means unknown. |
items[].price.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
items[].rank | number | null | Optional rank supplied by this operation. Null means unknown. |
items[].review_count | number | null | Optional review count supplied by this operation. Null means unknown. |
items[].review_score | number | null | Optional review score supplied by this operation. Null means unknown. |
items[].review_score_word | string | null | Optional review score word supplied by this operation. Null means unknown. |
items[].stars | number | null | Optional stars supplied by this operation. Null means unknown. |
items[].strikethrough_price | object | null | Optional strikethrough price supplied by this operation. Null means unknown. |
items[].strikethrough_price.amount | number | null | Optional amount supplied by this operation. Null means unknown. |
items[].strikethrough_price.currency | string | null | Optional currency supplied by this operation. Null means unknown. |
items[].type | string | null | Optional type supplied by this operation. Null means unknown. |
page | number | null | Optional page supplied by this operation. Null means unknown. |
rooms | number | null | Optional rooms supplied by this operation. Null means unknown. |
total | number | null | Source-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