Skip to main content
Piloterr
Back to library

Booking Hotel Search API

Search Booking.com stays by city name, or by a city, region, district, landmark, airport or search URL. A hotel page URL belongs on hotel info.

Active3 credits = 1 requestGET/v2/booking/hotel/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Queries Booking.com through an unlocked browser session and returns structured JSON. language is the Booking locale suffix (fr, en-gb, de, …), not a country domain. currency is an ISO 4217 code sent as selected_currency. One call returns one page.

A plain city name is resolved through Booking autocomplete, then the city hub is read when the search-results shell has no cards. A full URL is fetched as-is and keeps its locale.

QuickstartLink to Quickstart

https://api.piloterr.com/v2/booking/hotel/search?query=Paris&check_in=2026-06-15&check_out=2026-06-18&adults=2&language=fr&currency=EUR
https://api.piloterr.com/v2/booking/hotel/search?query=https://www.booking.com/city/fr/paris.fr.html&language=fr&currency=EUR&page=1

ParametersLink to Parameters

Parameter Type Required Description
check_in string no Check-in date, YYYY-MM-DD. Optional. Must be before check_out.
check_out string no Check-out date, YYYY-MM-DD. Required when check_in is set.
adults integer no Adults. Default 2.
children integer no Children. Default 0. Without children_ages, each child is treated as age 8.
children_ages string no Comma-separated ages, one per child, 0-17.
rooms integer no Rooms. Default 1.
language string no Booking locale: fr, en-gb, en-us, de, es, it, pt-pt, nl, … Aliases: en, uk, gb, pt, zh, br.
currency string no ISO 4217 code. Default USD. Example EUR.
page integer no Page number. Listings use 25 items per page when the source is paginated.
query string yes City name, or a full Booking URL (searchresults, city, region, district, landmark, airport). Example: Paris or https://www.booking.com/city/fr/paris.fr.html
min_score string no Minimum guest score from 0 to 10. 8 becomes review_score=80 on Booking.
stars string no Star filter 1-5, or any.
property_type string no hotels, apartments, hostels, villas, resorts, holiday homes, …
sort_by string no price, review_score, distance, class, bayesian_review_score, review_score_and_price.

Response fieldsLink to Response fields

Field Type Description
results[].name string Property name
results[].url string Canonical hotel URL
results[].stars number null
results[].review_score number null
results[].review_count number null
results[].price number null
results[].price_display string null
results[].currency string null
results[].address string null
destination object Resolved dest_id, dest_type and label when known
pagination object page, per_page, total_results, total_pages, next

Use casesLink to Use cases

  • Compare nightly rates for a city and a date range.
  • Feed a trip planner with the first page of properties and their guest scores.
  • Open a city, region or airport URL already copied from Booking.

Error codesLink to Error codes

Code Description
400 Missing query, unknown language, bad currency, or checkout not after check-in.
404 The page was fetched but no matching records could be parsed.
500 The unlocked fetch failed or the page was blocked.

Related APIs

Expand your data capabilities with these complementary tools.

Booking Attraction Info/v2/booking/attraction/info

One Booking.com attraction page.

GET3 credits = 1 requestActive
Booking Attraction Search/v2/booking/attraction/search

Things to do on Booking.com for a city or an attractions search URL.

GET3 credits = 1 requestActive
Booking Car Search/v2/booking/car/search

Car rental city rates and suppliers from Booking.com cars pages.

GET3 credits = 1 requestActive
Booking Countries/v2/booking/destination/countries

Booking.com country index with hotel counts.

GET3 credits = 1 requestActive
Booking Destination/v2/booking/destination/info

Booking hub for a country, region, city, district, landmark or airport URL.

GET3 credits = 1 requestActive
Booking Flight Search/v2/booking/flight/search

Flight offers for an IATA pair such as PAR-LON, or a Booking flights URL. On an IATA pair, dates are optional. A flights URL is fetched as-is and dates are not applied.

GET3 credits = 1 requestActive
Booking Hotel Info/v2/booking/hotel/info

Property page: description, facilities, coordinates and photos for a Booking hotel URL.

GET3 credits = 1 requestActive
Booking Hotel Reviews/v2/booking/hotel/reviews

Guest comments for a Booking hotel URL. Featured reviews on the property page are used when the review list is not rendered.

GET3 credits = 1 requestActive
Booking Location Search/v2/booking/location/search

Autocomplete a place name, or a Booking city URL such as https://www.booking.com/city/fr/paris.fr.html. The URL is read as the place name. return_page_source is not supported and returns 400.

GET3 credits = 1 requestActive

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included