Skip to main content
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.

Usage

jinko flight-search [options]

Options

FlagRequiredDescriptionDefault
--origin <code>Yes — search modeorigin IATA code (e.g. PAR for city, JFK for airport). JSON: origin.
--destination <code>Yes — search modedestination IATA code (e.g. NYC for city, LAX for airport). JSON: destination.
--departure-date <date>Yes — search modedeparture date (YYYY-MM-DD). JSON: departure_date.
--return-date <date>Noreturn date for round-trip (YYYY-MM-DD). JSON: return_date.
--cabin-class <class>Nocabin class: economy, premium_economy, business, first (default: economy). JSON: cabin_class.
--adults <n>Nonumber of adult passengers (default: 1). JSON: adults.
--direct-onlyNoonly show direct flights. JSON: direct_only.
--max-price <amount>Nomaximum price filter. JSON: max_price.
--include-carriers <codes...>Noinclude only these IATA 2-letter carrier codes (e.g. AF KL). JSON: include_carriers.
--exclude-carriers <codes...>Noexclude these IATA 2-letter carrier codes (e.g. FR U2). JSON: exclude_carriers.
--limit <n>Nomax results to return (1-100, default 20). Search mode only. JSON: limit.
--offer-token <token>Yes — price-check modeprice-check a specific offer (live pricing). JSON: offer_token.
--from <origin>NoDEPRECATED: use —origin.
--to <destination>NoDEPRECATED: use —destination.
--date <date>NoDEPRECATED: use —departure-date.
--return <date>NoDEPRECATED: use —return-date.
--cabin <class>NoDEPRECATED: use —cabin-class.
--passengers <n>NoDEPRECATED: use —adults.
--origin-type <type>NoDEPRECATED: ignored by the public contract (no longer sent).
--destination-type <type>NoDEPRECATED: ignored by the public contract (no longer sent).

Examples

# Price-check a discovery offer
jinko flight-search --offer-token "$OFFER_TOKEN" --format json | jq '.fares[0]'

# Live search by route
jinko flight-search --origin CDG --destination JFK --departure-date 2026-06-15 --return-date 2026-06-22 \
  --adults 2 --cabin-class economy --format json