Skip to main content
Piloterr
Back to library

Booking Flight Search API

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.

Active3 credits = 1 requestGET/v2/booking/flight/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.

Builds a round trip when return_date is set, otherwise a one-way search. Each offer includes airline, departure and arrival times, stops, duration, price and URL when those nodes are in the unlocked page. A blocked flights host returns 500; a page without offer cards returns 404.

QuickstartLink to Quickstart

https://api.piloterr.com/v2/booking/flight/search?query=PAR-LON&depart=2026-06-15&return_date=2026-06-18&adults=1&currency=EUR&language=fr
https://api.piloterr.com/v2/booking/flight/search?query=LYS-NCE&depart=2026-07-02&adults=1&currency=EUR&language=fr

ParametersLink to Parameters

Parameter Type Required Description
query string yes IATA pair ORIG-DEST, for example PAR-LON, or a full Booking flights URL.
depart string no Departure date YYYY-MM-DD. Required for an IATA pair.
return_date string no Return date YYYY-MM-DD. Omit for one way.
adults integer no Adults. Default 1.
page integer no Page number. Listings use 25 items per page when the source is paginated.
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.

Response fieldsLink to Response fields

Field Type Description
results[].airline string null
results[].depart_at string null
results[].arrive_at string null
results[].stops string null
results[].duration string null
results[].price number null
results[].price_display string null
results[].url string null

Use casesLink to Use cases

  • Search a round trip by two IATA codes.
  • List one-way offers by omitting return_date.
  • Open an offer URL returned on the card.

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 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 Hotel Search/v2/booking/hotel/search

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.

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