Skip to content

Kite CLI

A cross-platform .NET 10 command-line client for the Zerodha Kite Connect v3 API. Binary name: kite.

The Kite CLI wraps auth, profile, portfolio, orders, trades, GTT triggers, alerts, the instrument master, quotes, historical candles, mutual-fund reads, and margin/charges calculators in a single self-contained binary.

Terminal window
# 1. Configure app credentials (one-time)
kite auth configure --api-key <api_key> --api-secret <api_secret> --json --no-color
# 2. Daily browser login (Kite sessions expire every day)
kite auth login --json --no-color
# 3. Verify you have a session
kite auth status --json --no-color
# 4. Inspect today's trading
kite orders list --json --no-color
kite trades list --json --no-color
kite portfolio positions --json --no-color
# 5. Resolve a trading symbol to an instrument token for historical candles
kite instruments download --exchange NSE --json --no-color
kite instruments search INFY --exchange NSE --json --no-color
  • Install — one-line install on macOS / Linux / Windows.
  • Concepts — the --json / --no-color contract, exit codes, secret store.
  • Security — no telemetry, OS keyring only, transcript hygiene.
  • Terminal agent guide — operating rules for agents driving the CLI.