SAN

Every request goes through this app's stateless relay with your key in a header, because the SAN API answers no browser directly.

flightsFlight returns
Return options for one outbound itinerary of a round-trip search. Send the same route, dates and cabin as that search.
GET /v1/flights/{id}/returns

The id of an outbound itinerary from a round trip search.

Where the trip starts: a three-letter airport or city code (SIN), or a city name for economy.

Where the trip ends: a three-letter airport or city code (NRT), or a city name for economy.

YYYY-MM-DD.

YYYY-MM-DD. After departure_date.

Cabin class. Defaults to economy. Send the same cabin as the search that produced the id, or the itinerary will not be found.

ISO 4217 currency code, three letters (for example USD, EUR). Defaults to the currency of country.

ISO 3166-1 alpha-2 country code, lower case (for example us, gb, jp). Defaults to us.

RequestGET https://api.sanfoundation.com/v1/flights/{id}/returns