Skip to content

FlightList Search v2 API

Flight itineraries over a range of dates, one way or return, to a destination or anywhere, priced for the given passengers and bags. Each itinerary has its total price (with a per-passenger split), origin and destination airport/city/country, departure and arrival times (local time with UTC offset), return times, nights at the destination, durations, stops, airlines, seats left, the price of one checked bag (`bags_price` key "1"), a booking link and every leg (direction, flight number, carrier, airports, times). The list holds every itinerary found, up to 50 per departure day; narrow with dates, stops, price, cabin, airlines or one_per_city.

GEThttps://api.maviapi.com/v1/sites/flightlist/search-v25 credits per call

Parameters

NameRequiredExampleDescription
fly_fromstring in queryOptionalLONorigin: IATA airport or city code, ISO country code, or an id from /airports-v2; comma list allowed; "city:LON" / "airport:IST" force the type (a bare 3-letter code means the airport when one has it, else the city)
fly_tostring in queryOptionalNonedestination in the same forms; leave out or send "anywhere" to search every destination
date_fromstring in queryOptionalNoneearliest departure date, yyyy-mm-dd or dd/mm/yyyy (default: 7 days from today; a past date rolls forward to today)
date_tostring in queryOptionalNonelatest departure date (default: date_from + 30 days)
return_fromstring in queryOptionalNoneearliest return date; any return input (return_from, return_to, nights_from, nights_to) makes it a return trip
return_tostring in queryOptionalNonelatest return date (default: return_from)
nights_frominteger in queryOptionalNonereturn trip: fewest nights at the destination (0-60)
nights_tointeger in queryOptionalNonereturn trip: most nights at the destination (up to 60)
adultsinteger in queryOptional1adult passengers (1-9)
childreninteger in queryOptional0child passengers (0-8)
infantsinteger in queryOptional0infants on lap (at most one per adult)
hold_bagsinteger in queryOptional0checked bags for the whole group (at most 2 per adult or child)
hand_bagsinteger in queryOptional0cabin bags for the whole group (at most 1 per adult or child)
cabinstring in queryOptionalMcabin class: M economy (default), W premium economy, C business, F firstOne of M, W, C, F
max_stopoversinteger in queryOptional2most stops per direction (0 = direct only)One of 0, 1, 2, 3, 4
sortstring in queryOptionalpriceorder of the list: price (cheapest first), quality (the source's ranking), duration (shortest first), date (earliest departure first)One of price, quality, duration, date
currstring in queryOptionalUSDcurrency code for prices, e.g. "USD", "EUR"
price_tointeger in queryOptionalNonemaximum total price
max_fly_durationinteger in queryOptionalNonemaximum flight time per direction, in hours (1-60)
select_airlinesstring in queryOptionalNoneonly itineraries flown entirely by these airlines, comma-separated 2-character codes, e.g. "TK,PC"
one_per_cityboolean in queryOptionalfalsekeep only the cheapest itinerary per destination city

Response fields

search_idstringe.g."7914e2a50b31457ca48abc884882b299"
currencystringe.g."USD"
queryobject11 fields
fly_fromstringe.g."LON"
fly_tonull
anywherebooleane.g.true
tripstringe.g."oneway"
date_fromstringe.g."04/12/2026"
date_tostringe.g."03/01/2027"
return_fromnull
return_tonull
nights_fromnull
nights_tonull
passengersobject3 fields
adultsintegere.g.1
childrenintegere.g.0
infantsintegere.g.0
totalintegere.g.1550
destinationsintegere.g.38
countintegere.g.1550
flightsobject[]29 fields
idstringe.g."ItineraryOneWay:eyJwcm92aWRlcnMiOiJLSVdJLUJBU0lDOktJV0kiLCJyb3V0ZV9kYXRhIjoiUks6NTk2OlNUTjoxNzk2NTQyODAwOkVESToxNzk2NTQ3NjAwOmVjb25vbXk6RmFsc2U6OjpSSyIsInByaWNlIjoiMjEifQ=="
pricenumbere.g.21
currencystringe.g."USD"
fareobject3 fields
adultsnumbere.g.21
childrenintegere.g.0
infantsintegere.g.0
city_fromstringe.g."London"
city_code_fromstringe.g."LON"
city_tostringe.g."Edinburgh"
city_code_tostringe.g."EDI"
airport_fromstringe.g."STN"
airport_tostringe.g."EDI"
country_fromstringe.g."United Kingdom"
country_code_fromstringe.g."GB"
country_tostringe.g."United Kingdom"
country_code_tostringe.g."GB"
departurestringe.g."2026-12-06T07:40:00+00:00"
arrivalstringe.g."2026-12-06T09:00:00+00:00"
return_departurenull
return_arrivalnull
nights_in_destnull
duration_secondsintegere.g.4800
durationstringe.g."1h 20m"
return_duration_secondsnull
stopsintegere.g.0
return_stopsnull
airlinesstring[]
seats_availablenull
bags_priceobject1 field
1numbere.g.47.69
booking_linkstringe.g."https://www.kiwi.com/en/booking/?direct=true&locale=en&currency=usd&passengers=1-0-0&token=HV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Ugh_idaL2C5bUm2bGcJQNbADM8fItRM_IBo1soljFZmWAMz5aBvfux8FZQQsyD2XHpK2doszmFTxYrfGYzKSXhwiDUJ_wqusw%3D%3D&searchType=oneWay&searchBags=0.0"
segmentsobject[]11 fields
directionstringe.g."outbound"
airlinestringe.g."RK"
flight_numberstringe.g."RK596"
operating_carrierstringe.g."RK"
airport_fromstringe.g."STN"
airport_tostringe.g."EDI"
city_fromstringe.g."London"
city_tostringe.g."Edinburgh"
departurestringe.g."2026-12-06T07:40:00+00:00"
arrivalstringe.g."2026-12-06T09:00:00+00:00"
aircraftnull
paginationobject3 fields
countintegere.g.1550
has_morebooleane.g.false
next_cursornull
fetched_atstringe.g."2026-11-27T21:09:13.434Z"
ageintegere.g.0

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/flightlist/search-v2' \
  -H "Authorization: Bearer $MAVI_KEY"

FlightList Search v2 API questions

What you get, what it costs and how to call it.

What does the FlightList Search v2 API return?

Flight itineraries over a range of dates, one way or return, to a destination or anywhere, priced for the given passengers and bags. Each itinerary has its total price (with a per-passenger split), origin and destination airport/city/country, departure and arrival times (local time with UTC offset), return times, nights at the destination, durations, stops, airlines, seats left, the price of one checked bag (`bags_price` key "1"), a booking link and every leg (direction, flight number, carrier, airports, times). The list holds every itinerary found, up to 50 per departure day; narrow with dates, stops, price, cabin, airlines or one_per_city. The response has search_id, currency, query, total, destinations, count, flights, pagination and 2 more.

Which parameters does the FlightList Search v2 API take?

Every parameter of GET /search-v2 is optional. You can pass fly_from, fly_to, date_from, date_to, return_from, return_to, nights_from, nights_to, adults, children, infants, hold_bags and 9 more.

How much does one FlightList Search v2 API call cost?

One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.

How do I call the FlightList Search v2 API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/flightlist/search-v2 with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.

Is the FlightList Search v2 API official?

No. It is an independent, hosted API from maviapi for the public data on flightlist.io, and it is not made, endorsed or supported by FlightList. Its parameters and response fields are documented on this page.