Get live flight pricing — search by route, or re-price a known offer
Pricing & booking
flight-search
Get live flight pricing — search by route, or re-price a known offer
POST
Get live flight pricing — search by route, or re-price a known offer
Fetch live, bookable pricing for a specific route and date pair. Use it once the user has settled on exact travel dates, for example “Paris to New York departing June 1 returning June 8 in economy”. It also reprices an offer surfaced earlier by the calendar or destination tools so you can confirm availability before adding it to a trip.
Two modes, one endpoint
POST /v1/flight_search serves both modes:
- Search mode — filter-based live search by
origin,destination,departure_date, and passengers. Returns priced offers, each fare carrying atrip_item_tokenyou can add to a trip. - Reprice mode — pass an
offer_tokenfrom discovery (find_destination,flight_calendar) to re-price that specific offer before adding it to a trip. The other route fields are ignored whenoffer_tokenis present.
--offer-token for reprice mode, omit it for search mode.Authorizations
Body
application/json
Example:
"JFK"
Example:
"LAX"
Pattern:
^\d{4}-\d{2}-\d{2}$Pattern:
^\d{4}-\d{2}-\d{2}$Available options:
oneway, roundtrip Available options:
economy, premium_economy, business, first Required range:
x > 0Max results to return (1-100). Default 20. Search mode only. Caps how many flights come back — only trims the set, since providers bound the real count.
Required range:
1 <= x <= 100Example:
20
Required range:
x >= 1Required range:
x >= 0Required range:
x >= 0