Search One-Way Flights
Search for one-way flight options between two airports.
Request
- Base URL: https://scrappa.co/api
- URL: https://scrappa.co/api/flights/one-way
- Auth: API key in header X-API-KEY
Query parameters
Origin airport IATA code (e.g., JFK, LAX, ORD)
Destination airport IATA code (e.g., LHR, CDG, SFO)
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
Exclude basic economy fares when searching in economy class (default: false)
Maximum stops: any, nonstop, one_or_fewer, or 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)
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.
Departure date in Y-m-d format (e.g., 2026-09-15)
Sort by: top_flights, cheapest, departure_time, arrival_time, or duration
Filter by airline IATA codes (e.g., ["AA", "UA", "DL"] or "AA,UA,DL")
Include baggage fee information for the cheapest flight (1 = yes, 0 = no, default: 0)
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 4 revisions of this API.