Booking.com booking.com Search API
Scrape Booking.com search results with prices. Call the Booking.com booking.com Search API for JSON. 1 credit per call. Every call returns the same flat shape.
Request
query is required.
Response
If successful, the response body contains the standard envelope.data.results[] contains the hotels, each with its price, taxes, review score and address.
The following example is a real response, truncated: each list shows one item and long strings are cut.
Optional parameters
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
Results are paginated. To retrieve the next page, pass the value ofdata.cursor as cursor in a subsequent request. A response that omits cursor is the last page.
Related methods
- Booking.com booking.com Hotel: Accepts
hotelUrl. Scrape a Booking.com hotel page. - Booking.com booking.com Hotel Reviews: Accepts
hotelUrl. Scrape a Booking.com hotel’s guest reviews.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Cut every text value in the response to this many characters. A value that was cut ends with …, and a page whose text was cut has isTruncated set to true. A screenshot is never cut. Leave it out to get the full text.
x >= 1Body
Where to stay: a city, region or landmark, like Lisbon.
2 - 200Defaults to tomorrow.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Defaults to one night after checkIn.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Adults across all rooms. Prices are for the whole group.
1 <= x <= 30Rooms to book, at most one per adult. Prices are for all rooms together.
1 <= x <= 30ISO 4217 currency code, e.g. USD.
^[A-Z]{3}$Booking.com's own Sort by: relevance (Our top picks) or distance (closest to the center of the place first).
relevance, distance The cursor from the previous response. Send it as is.
1