Skip to main content
The Jinko CLI brings the whole platform to your terminal. Install it, sign in once, and you can explore travel demand, search flights, hotels, and rental cars, build a trip, pay, and manage bookings, straight from your shell or a script. New to this? Start with Connect via CLI for install and first-run setup. The commands are grouped by what they do (below), and each page lists its flags, arguments, and examples.

Install

Authenticate

Environments

The CLI targets production by default. Use --env sandbox to run against isolated sandbox data, which uses separate API keys:

Output

Commands print JSON by default. Pass --format table for a human-readable view.

Command groups

Travel Demand

Use jinko travel-demand to explore search demand with destination, market, audience, their -trend variants, and trend.

Flights

Discover routes and dates, run a live search, then handle refunds and exchanges: find-destination, flight-calendar, find-dates, lowest-fare, price-monitoring, flight-search, refund, exchange.

Hotels

Search hotels and pull details: hotel-search, hotel-details, hotel-cancel.

Cars

Search live rental offers and cancel a rental with the fee shown first; a car_* offer books through trip: car-search, car-cancel preview / commit / status.

Trip & Payment

Build a trip, add ancillaries, check out, pay, and look up the booking: trip, get-ancillaries, select-ancillaries, checkout, agent-pay submit, trip-status, get-booking.

Account & utilities

Sign in and configure the CLI: auth login / logout / status, config set / show, and schema.
To try a Travel Demand ranking in sandbox, include the group name and the required --origin selector:
global includes all origins. Run jinko travel-demand --help to list the other subcommands.