Workflows
Blocks
Integrations
Zerodha Kite

Zerodha Kite

The Zerodha Kite block connects your workflows to Zerodha's Kite Connect API — read holdings, positions, and margins, place, modify, and cancel orders, and fetch quotes and instrument lists for Indian markets (NSE, BSE, NFO).

⚠️

Trading involves real money. Orders placed by this block go straight to your Zerodha account. Test with small quantities and strict conditions before automating anything.

Key Features

  • Portfolio: Holdings, positions, and available margins at a glance
  • Order Management: Place, modify, and cancel orders across order types (MARKET, LIMIT, SL, SL-M)
  • Order Tracking: List today's orders and the full history of a single order
  • Market Data: Live quotes and the tradable instruments list
  • Product Types: CNC (delivery), MIS (intraday), and NRML supported

Operations

Portfolio & Account

OperationDescription
Get HoldingsList your long-term holdings
Get PositionsList your open positions
Get MarginsFetch available margin and cash balances

Orders

OperationDescription
Place OrderPlace a BUY or SELL order for a trading symbol on NSE/BSE/NFO
Modify OrderChange an open order's price, quantity, or trigger price
Cancel OrderCancel an open order by order ID
Get OrdersList all orders for the day
Get Order HistoryFetch the state history of one order

Market Data

OperationDescription
Get QuoteFetch a live quote for a symbol (e.g. NSE:INFY)
Get InstrumentsDownload the tradable instruments list (returned as CSV text)

Configuration

ParameterTypeRequiredDescription
CredentialsSelectYesYour saved Zerodha Kite connection
ActionSelectYesOne of the operations above
Trading SymbolTextFor orders & quotese.g. INFY, RELIANCE
ExchangeTextFor orders & quotesNSE, BSE, or NFO
Transaction TypeTextFor Place OrderBUY or SELL
Order TypeTextFor Place OrderMARKET, LIMIT, SL, or SL-M
QuantityTextFor ordersNumber of shares/contracts
Price / Trigger PriceTextFor LIMIT/SL ordersOrder prices
ProductTextFor ordersCNC (delivery), MIS (intraday), or NRML
VarietyTextNoregular, amo, co, or iceberg
Order IDTextFor modify/cancel/historyThe target order

Connecting your Zerodha account

Kite Connect uses a daily login flow, so this connection needs three values:

  1. Create a Kite Connect app at developers.kite.trade (opens in a new tab) (a paid Zerodha product). Copy the API Key and API Secret.
  2. Generate an Access Token: open the Kite login URL for your app (https://kite.zerodha.com/connect/login?v=3&api_key=<your_api_key>), log in, and exchange the returned request_token plus your API secret for an access_token (Kite's docs show the exact call — the checksum is SHA-256(api_key + request_token + api_secret)).
  3. In Indite, add the Zerodha Kite block, click Connect new, and enter the API Key, API Secret, and Access Token.
⚠️

Kite access tokens expire every trading day (Zerodha invalidates them daily around 6 AM IST). When calls start failing with a token error, generate a fresh access token and update the credential.


Output

The block returns the raw Kite Connect API response — holdings, positions, order confirmations (order_id), quotes, and margins. Get Instruments returns { "instruments": "<csv text>" }. Reference fields in later blocks with {{<blockId>.<field>}}.


Example: margin-checked order alert

  1. Webhook Trigger — your signal source (e.g. a charting alert) calls the workflow with a symbol and side.
  2. Zerodha Kite → Get Margins — check available cash first.
  3. Condition — only continue if the available margin covers the trade.
  4. Zerodha Kite → Place Order — BUY, order type LIMIT, product MIS, quantity and price from the trigger payload.
  5. Telegram — send yourself the returned order_id as confirmation.
Indite Documentation v1.7.1
PrivacyTermsSupport