POST /api/momondo/flights/search
Price: 20 credits
Search momondo flights between two places for a given date, trip type, cabin class and passenger mix. Returns ranked itineraries with the cheapest price and booking deeplink, per-provider booking options, full leg and segment details (airports, departure/arrival times, duration, stop count, operating airline, flight number and aircraft), and best/cheapest flags. For round trips pass a return date. Optional filters narrow the results by max stops, airlines, alliances, max price, max leg duration and included carry-on/checked bags. Origin and destination are airport or metro codes (resolve them via the places search).
Search flights between two momondo airport/metro codes (origin, destination — resolve via places/search) for a depart_date (and optional return_date for round trips), trip_type, cabin_class, adults and sort. Optionally filter by max_stops, airlines, alliances, max_price, max_duration_hours and carry_on_bags/checked_bags. Returns ranked itineraries with id, price (cheapest), currency, is_best, is_cheapest, provider_name, booking_url, booking_option_count, provider_count, legs (origin, destination, departure_at, arrival_at, duration_minutes, stop_count, segments with airline/flight_number/aircraft/cabin/airline_logo) and options (per-provider price and booking url).
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)origin string required — Origin airport or metro code (from places/search id) (examples: "JFK"; minLength: 3; maxLength: 3)destination string required — Destination airport or metro code (from places/search id) (examples: "LON"; minLength: 3; maxLength: 3)depart_date string required — Outbound flight date (format: date; examples: "2026-08-15")return_date string nullable — Return flight date for round trips; omit for one-way (format: date; examples: "2026-08-22")trip_type string — Trip type (default: "round_trip"; one of: "round_trip", "one_way")cabin_class string — Cabin class (default: "economy"; one of: "economy", "premium_economy", "business", "first")adults integer — Number of adult passengers (default: 1; min: 1; max: 9)max_stops integer nullable — Maximum number of stops per leg (min: 0; max: 2)airlines array — Restrict to these airline IATA codes (e.g. BA, AF, DL) (default: [])alliances array — Restrict to these airline alliances (default: []; one of: "one_world", "sky_team", "star_alliance")max_price number nullable — Maximum total price (>: 0)max_duration_hours number nullable — Maximum flight duration per leg, in hours (>: 0)carry_on_bags integer nullable — Only fares including at least this many carry-on bags (min: 0; max: 3)checked_bags integer nullable — Only fares including at least this many checked bags (min: 0; max: 3)sort string — Sort order (default: "best"; one of: "best", "cheapest", "quickest")count integer required — Max number of itineraries to return (min: 1)@type string (default: "MomondoItinerary")id string requiredprice number nullablecurrency string nullableis_best boolean nullableis_cheapest boolean nullableis_cheapest_direct boolean nullableprovider_name string nullablebooking_url string nullablebooking_option_count integer nullableprovider_count integer nullableurl string nullablelegs array (default: [])@type string (default: "MomondoFlightLeg")origin string nullabledestination string nullabledeparture_at string nullablearrival_at string nullableduration_minutes integer nullablestop_count integer nullablesegments array (default: [])@type string (default: "MomondoFlightSegment")airline_code string nullableairline_name string nullableflight_number string nullableorigin string nullabledestination string nullabledeparture_at string nullablearrival_at string nullableduration_minutes integer nullableaircraft string nullablecabin string nullableairline_logo string nullableoptions array (default: [])@type string (default: "MomondoBookingOption")provider_code string nullableprovider_name string nullableprice number nullablecurrency string nullablebooking_url string nullableis_free_cancellation boolean nullablecabin string nullablecarry_on_bag string nullablechecked_bag string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No flights found for the given route, date and passenger combination Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.