--origin <code> | Yes | origin IATA code (e.g. PAR for city, CDG for airport). See —origin-type for how an untyped code is read. JSON: origin. | |
--destination <code> | Yes | destination IATA code (e.g. NYC for city, JFK for airport). See —destination-type. JSON: destination. | |
--origin-type <type> | No | how to read —origin: city or airport. Omitted: a code that names a multi-airport city is searched as the city, every other code as the airport, NYC, LON, PAR are cities; JFK, LHR, CDG are airports; LAX, MIA, LAS (a city sharing its code with its main airport) are the CITY. Send airport when the user named the airport. JSON: origin_type. | |
--destination-type <type> | No | how to read —destination: city or airport. Omitted: a code that names a multi-airport city is searched as the city, every other code as the airport, NYC, LON, PAR are cities; JFK, LHR, CDG are airports; LAX, MIA, LAS (a city sharing its code with its main airport) are the CITY. Send airport when the user named the airport. JSON: destination_type. | |
--departure-date <date> | Yes | departure date (YYYY-MM-DD). JSON: departure_date. | |
--return-date <date> | No | return date for round-trip (YYYY-MM-DD). JSON: return_date. | |
--adults <n> | No | requested adult count (default: 1), echoed in the response only; the cached fare and cap remain for one adult. JSON: adults. | |
--cabin-class <class> | No | cabin class: economy, premium_economy, business, first. JSON: cabin_class. | |
--direct-only | No | only consider direct flights. JSON: direct_only. | |
--max-total <amount> | No | upper bound on the cached fare’s total; cached fares are priced for one adult. JSON: max_total. | |
--include-carriers <codes...> | No | whitelist IATA 2-letter carrier codes (e.g. AF KL). JSON: include_carriers. | |
--exclude-carriers <codes...> | No | blacklist IATA 2-letter carrier codes (e.g. FR U2). JSON: exclude_carriers. | |
--user-intent <text> | No | the end user’s request in their own words, forwarded to Jinko for observability and relevance (avoid PII). Env fallback: JINKO_USER_INTENT. JSON: intent.user_intent. | |