Search Round-Trip Flights
Version 2: fetch outbound starting prices, then pass departure_token to fetch matching returns in a separate paid request.
Request
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/flights/v2/round-trip
- Auth: API key in header X-API-KEY
Query parameters
Origin airport IATA code
Destination airport IATA code
Number of adult passengers (1-9)
Number of child passengers (0-9)
Number of infants in seat (0-9)
Number of infants on lap (0-9)
Cabin class: economy, premium_economy, business, or first
Exclude basic economy fares when searching in economy class (default: false)
Maximum stops: any, nonstop, one_or_fewer, two_or_fewer
Language code (e.g., en, de, en-US)
Country/region code (e.g., us, de, gb)
Currency code for prices (e.g., USD, EUR, GBP)
Carry-on bag count. Only 0 is currently supported.
Departure date in Y-m-d format
Return date in Y-m-d format
Sort results by: top_flights, cheapest, departure_time, arrival_time, duration
Filter by airline IATA codes (e.g., ["AA", "UA", "DL"] or "AA,UA,DL")
Only false/0 is supported. No additional baggage lookup is performed.
Copy one token from the outbound response and repeat the same search parameters to request its matching returns. Maximum 16384 characters.
Minimum departure hour (0-23). Use with departure_time_max to filter by time range.
Maximum departure hour (0-23). Use with departure_time_min to filter by time range.
Minimum arrival hour (0-23). Use with arrival_time_max to filter by time range.
Maximum arrival hour (0-23). Use with arrival_time_min to filter by time range.
Maximum flight duration in minutes. Filters out flights longer than this.
Maximum price in the search currency. Filters out flights more expensive than this.
Response
Changes
No recorded changes to this operation across all 3 revisions of this API.