Search Date Range for Best Prices
Version 2: fetch the cheapest starting option for from_date only. Continue with next_departure_date in a separately billed request.
Request
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/flights/v2/date-range
- Auth: API key in header X-API-KEY
Query parameters
Origin airport IATA code
Destination airport IATA code
Number of adult passengers (1-9, default: 1)
Number of child passengers (0-9, default: 0)
Number of infants in seat (0-9, default: 0)
Number of infants on lap (0-9, default: 0)
Cabin class: economy, premium_economy, business, or first (default: economy)
Exclude basic economy fares when searching in economy class (default: false)
Maximum stops: any, nonstop, one_or_fewer, or two_or_fewer (default: any)
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)
Outbound time window as comma-separated hours, e.g. "6,18" for departures between 06:00 and 18:00. Two further values narrow the arrival window.
Carry-on bag count. Only 0 is currently supported.
Start of date range in Y-m-d format
End of date range in Y-m-d format
Duration of trip in days (1-30, default: 7)
Response
Changes
No recorded changes to this operation across all 3 revisions of this API.