API · Booking.com
GET /booking/hotel/rooms
A Booking.com property’s room types for a stay, with the best available price and nightly prices.
| Request | GET /v1/booking/hotel/rooms |
| Operation id | booking.hotel.rooms |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Booking.com property’s room types for a stay, with the best available price and nightly prices.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | no | Booking.com hotel id. Example: 280149. |
url | string | no | A property link, https://www.booking.com/hotel/<cc>/<name>.html. Example: https://www.booking.com/hotel/gb/the-savoy.html. |
check_in | string | no | Arrival day, YYYY-MM-DD (required). Example: 2026-12-10. |
check_out | string | no | Departure day, YYYY-MM-DD (required). Example: 2026-12-10. |
adults | integer | no | Adults (default 2). |
children | integer | null | no | Children; their ages default to 8 unless children_ages is given. |
children_ages | string | no | Comma-separated ages 0-17, one per child. Example: 5,9. |
rooms | integer | no | Rooms (default 1). |
currency | string | no | ISO currency for prices (default USD). Example: EUR. |
language | string | no | Booking.com language for texts (en-us, en-gb, de, fr, …). Example: en-gb. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The stay’s offer and the room types. | BookingRoomsResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Booking.com property or destination by that id, link or name. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Booking.com is temporarily unavailable. Retryable; nothing was charged. | Error |
BookingRoomsResponse fields
| Field | Type | Description |
|---|---|---|
hotel_id | integer | |
check_in | string | |
check_out | string | |
available | boolean | Booking.com has an offer for this stay and party. |
best_offer | object | The lowest-priced room offer for the stay (what search shows). |
price | object | |
nights | object[] | |
rooms | BookingRoom[] | The property’s room types. |
Errors use one shape everywhere; see Errors for every code and what to do.