Skip to main content
This is the reference for every jinko command. Each command page shows its flags, arguments, and examples. New here? Start with Connect via CLI for install + first-run setup, then come back for the per-command detail.

Install

npm install -g @gojinko/cli

Authenticate

jinko auth login                      # OAuth
jinko auth login --key jnk_your_key   # API key

Environments

The CLI targets production by default. Use --env sandbox to run against isolated sandbox data, which uses separate API keys:
EnvironmentAPI baseFlag
Production (default)https://api.gojinko.com--env prod
Sandboxhttps://api.sandbox.gojinko.com--env sandbox
jinko config set environment sandbox              # make sandbox the default for this machine
jinko --env prod find-destination --origins JFK   # …or override per-command

Output

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

Commands by capability

Discovery

Cache-backed search — find-destination, flight-calendar, find-dates, lowest-fare, price-monitoring.

Pricing & booking

Live pricing + trip building — flight-search, trip, select-ancillaries, book, trip-status.

Hotels

Live hotel search — hotel-search, hotel-details.

Post-booking

Manage an order — get-booking, refund / exchange, hotel-cancel.

Account & utilities

Auth (auth login / logout / status), config (config set / show), and schema.