Quick price discovery for up to 100 destinations — counts as 1 search
Two modes, selected by the same_day flag — pick the one that matches what you need:
Default (same_day omitted/false): indicative prices from a fast lightweight source across up to 100 destinations, ~2–5 seconds, counted as one search for the whole batch - and not at all when every price was already cached. Response has price/found only — no offer detail, no booking_url. Treat as a ranking signal, not a bookable fare. Setting return_from here changes it from one-way to round-trip pricing, but still returns no offer or link — same_day is the only switch that adds one.
same_day: true: real per-destination same-day round-trip search (real flight times, cross-carrier pairing). Slower per destination — keep batches to roughly 10–20 destinations. Counted as one search per call. Each found result includes outbound/inbound with real times and a booking_url per leg, and the price matches what POST /flights/search and checkout will show for that same-day trip.
If your itinerary is a same-day round trip and you want an accurate, bookable result directly from discover, use same_day: true instead of the default mode. Otherwise, use default mode to rank destinations cheaply, then confirm the winner with a full POST /flights/search call:
- POST /flights/discover (default mode) → rank up to 100 destinations, counts as 1 search, ~3 seconds
- User picks a destination
- POST /flights/search on that destination → live prices + booking, counts as 1 search, 60–90 seconds
Request
- Base URL: https://letsfg.co/developers/api/v1
- URL: https://letsfg.co/developers/api/v1/flights/discover
- Auth: API key in header X-API-Key
Request body
Example request
{
"origin": "JFK",
"destinations": [
"LAX",
"MIA",
"ORD",
"DFW",
"SEA",
"DEN",
"ATL",
"BOS",
"LAS",
"SFO"
],
"date_from": "2026-07-15",
"currency": "USD"
}Response
Indicative prices for all destinations, sorted cheapest-first.
Example response
{
"billed_as": "1 search credit for the full batch"
}Changes
No recorded changes to this operation across all 1 revision of this API.