GoogleTravelExplore

get/flights/explore

Request

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

Query parameters

departure_idstring required

Origin airport IATA code (e.g., JFK, LAX) or Google place kgmid (e.g., /m/02_286)

type'round_trip' | 'one_way' | 'null' nullable

round_trip (default) or one_way

travel_classinteger nullable

1 = economy (default), 2 = premium economy, 3 = business, 4 = first

adultsinteger nullable

Number of adult passengers (1-9, default: 1)

childreninteger nullable

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

infantsinteger nullable

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

glstring nullable

Country code the prices and destinations are pinned to (e.g., us, de, gb). Never taken from the exit IP.

hlstring nullable

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

max_priceinteger nullable

Maximum flight price. Destinations keep their row; only the over-cap flight offers are dropped. No second upstream call.

Response

string required
OR

Changes

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