GoogleFlights

Get Booking Details with Price Insights

Get detailed booking information for a specific flight including price insights, price history, fare options, and baggage information.

get/flights/booking-details

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/flights/booking-details
  • Auth: API key in header X-API-KEY

Query parameters

booking_tokenstring required

Booking token returned by the Google Flights search endpoint.

originstring required

Origin airport IATA code

destinationstring required

Destination airport IATA code

departure_datestring date required

Departure date in Y-m-d format

airlinestring required

Airline IATA code

flight_numberstring required

Flight number of a flight in the booking token, without airline prefix (e.g., 2503)

adultsinteger nullable

Number of adult passengers (1-9).

childreninteger nullable

Number of child passengers (0-9, default: 0)

infants_in_seatinteger nullable

Number of infants in seat (0-9, default: 0)

infants_on_lapinteger nullable

Number of infants on lap (0-9, default: 0)

cabin_class'economy' | 'premium_economy' | 'business' | 'first' | 'null' nullable

Cabin class: economy, premium_economy, business or first.

hlstring nullable

Language code (e.g., en, de, en-US)

glstring nullable

Country/region code (e.g., us, de, gb)

currencystring nullable

Currency code for prices and fare options (e.g., USD, EUR, GBP)

Response

Changes

No recorded changes to this operation across all 3 revisions of this API.