flights
Start a flight search in the background — returns search_id immediately
Non-blocking version of POST /flights/search. Returns a search_id in under 1 second. Poll GET /flights/results/{search_id} every 5–10 seconds for status and results. Billing is identical to the blocking search — counted as one search on completion, only if it returns offers.
Status values: pending (still running), complete (offers ready), error (search failed).
post/flights/search/async
Request
- Base URL: https://letsfg.co/developers/api/v1
- URL: https://letsfg.co/developers/api/v1/flights/search/async
- Auth: API key in header X-API-Key
Request body
Example request
{
"origin": "LON",
"destination": "BCN",
"date_from": "2026-06-15",
"adults": 1,
"currency": "EUR"
}Response
Search started. Poll the poll_url for results.
Example response
{
"poll_interval_seconds": 5
}Changes
No recorded changes to this operation across all 1 revision of this API.