Skip to main content

POST /search

Try it in the API playground.
Scope search. Send origin, destination and date for one way, add returnDate for a round trip, or send legs for multi city.

Request

string
3 letter IATA airport code, for example BLR. Not needed with legs.
string
3 letter IATA code, different from origin.
string
YYYY-MM-DD, today or later.
string
YYYY-MM-DD after departDate. Makes it a round trip.
object[]
2 to 8 legs of { origin, destination, departDate }, in date order. Overrides the fields above.
integer
default:"1"
1 to 9.
integer
default:"0"
0 to 8.
integer[]
Optional age of each child, 0 to 17.
integer
default:"0"
Lap infants, 0 to 8, never more than adults.
string
default:"economy"
economy, premium_economy, business or first.
string
default:"regular"
regular, student or senior. Student and senior citizen fares are cheaper on many airlines; the traveller may be asked for ID at the airport.
integer
default:"1"
0 for nonstop only, up to 2.
integer
default:"20"
1 to 50 offers, cheapest first.
boolean
default:"false"
Return dummy offers on any key. See Test mode.

Response

object[]
Offers, cheapest first.
integer
Number of offers returned.
object
The search as Skye understood it, including tripType.
string
live or test.
boolean
true when the offers are dummy data.
Example response

Good to know

  • Times are local to each airport.
  • An offer is advisory until booking: it is priced again live when you open a session. Search again once expiresAt has passed.
  • Reuse results while they are fresh instead of searching again for each view. See rate limits.