flights

Full search for N destinations in parallel — 1 search counted per destination with offers

Fires a complete connector search for each destination in parallel and returns full results in one response. Each destination that returns offers counts as one search — same as calling POST /flights/search N times. Max 10 destinations.

For discovery use cases (ranking many destinations cheaply), use POST /flights/discover instead (one search counted for up to 100 destinations).

post/flights/multi-search

Request

  • Base URL: https://letsfg.co/developers/api/v1
  • URL: https://letsfg.co/developers/api/v1/flights/multi-search
  • Auth: API key in header X-API-Key

Request body

originstring required

Departure IATA code.

destinationsstring[] required

1–10 destination IATA codes. Each runs a full search and counts as one search against the allowance - only if it returns offers.

date_fromstring date required
return_fromstring date
adultsinteger
currencystring
cabin_class'M' | 'W' | 'C' | 'F'
max_stopoversinteger
departure_time_fromstring
departure_time_tostring

Response

Full search results for all destinations.

originstring

Changes

No recorded changes to this operation across all 1 revision of this API.