Skip to content

Zerodha · Kite Connect v3

Zerodha copy trading, built on Kite Connect v3

Link your Zerodha accounts, mark one as the parent, and every order it places is mirrored into the others in under half a second. Child accounts can sit at any supported broker.

Live todayKite Connect v3Sub-500ms median

Integration

How QuantGrid connects to Zerodha

QuantGrid connects to Kite Connect v3 and reads your parent account's order book every three seconds, which is the source of record on every broker here. Where the account has Zerodha's paid Kite Connect plan, QuantGrid also listens on the order-update WebSocket, so a change on the parent reaches the engine the moment Zerodha publishes it.

Where the parent account has Zerodha's paid Kite Connect plan, QuantGrid subscribes to its order-update WebSocket. The moment Zerodha publishes a status change, the engine has it: no screen scraping, no browser extension.

The order book is read every three seconds whether or not a socket is up, because it is the source of record: a socket can be connected and still deliver nothing. Both paths share the same duplicate-order protection, so an order seen twice is still placed once.

  • The order book is read every three seconds on every account, with Kite's order WebSocket alongside on the paid plan
  • Equity and F&O on NSE, BSE, NFO and BFO, across CNC, MIS and NRML products
  • A parent order is copied once, at its full size, when QuantGrid first sees it, so a parent that fills in several parts does not double up on the child

What to know about Zerodha's API

  • Zerodha ends every API session early each morning, so an account signs in again each trading day. With automatic sign-in that is one press of Login, with nothing to type.
  • A live order feed and live prices from a Zerodha account need Zerodha's paid Kite Connect plan, billed by Zerodha. Without it, orders are still placed and positions still read, and QuantGrid watches the account by reading its order book every three seconds, which is a few seconds slower to notice an order and no less reliable.
  • Zerodha turns a market order sent through its API into a limit order a set distance from the last traded price, which it calls market protection, so in a fast market part of such an order can rest unfilled. You can set that distance in Trade settings or leave it on Zerodha's automatic value.
  • Zerodha refuses a stop-loss whose trigger the price has already passed. When a parent's stop fires within moments of being placed, QuantGrid sends the copy as the limit order that stop became.

At a glance

API
Kite Connect v3
Order updates
Order book every three seconds; Kite WebSocket on the paid plan
Segments
Equity and F&O on NSE, BSE, NFO and BFO
Product types
CNC, MIS, NRML
Symbol format
NSE:RELIANCE
Session
Access token expires daily
Large orders
Split above the exchange freeze quantity into tracked orders
Price chasing
Works on this broker's own live price where the account has the broker's paid data plan, otherwise while another of your accounts supplies it
Commodities and currency
Commodities (MCX) and currency derivatives (CDS) copied, opt-in per account

Commodity trades copy only between Zerodha, Angel One, Upstox and Dhan accounts, and currency trades only between Zerodha accounts. Both are switched on per account rather than by default. Upstox is not accepting MCX orders through its API at present, so an MCX trade is not copied to an account there.

Large-order splitting and price chasing are switched on broker by broker as each is proven on a live account, so Zerodha may not have them on yet. How price chasing works.

Official Zerodha API documentation(opens in a new tab)

Connect

Connect Zerodha in three steps

Setup is a one-time job and usually takes a few minutes. Nothing is replicated until you explicitly link a parent to a child and save a multiplier.

  1. 01

    Create a Kite Connect app

    In the Zerodha developer console, create an app and paste in the redirect URL that QuantGrid shows you. Copy the API key and secret into QuantGrid.

  2. 02

    Authorise the connection

    Sign in through Zerodha's login page and approve access. QuantGrid holds the API key and secret of your own Kite Connect app, the secret encrypted, because every sign-in needs them, and the session token Zerodha returns, encrypted too.

  3. 03

    Link accounts and set your rules

    Mark one account as the parent, add your child accounts, and set a copy factor and max quantity for each one. Replication starts on the next order the parent places.

Want the full order path first? Read how it works, or book a free demo and we will do the first link with you on the call.

Authorisation

Sessions, tokens and revoking access on Zerodha

Broker sessions are governed by the broker, not by QuantGrid. Here is exactly how that behaves so nothing surprises you at 9:15 in the morning.

Authorisation runs on Zerodha's login page

You click through to Zerodha's own login screen and approve the connection there. QuantGrid receives an access token scoped to your account, and on this route your Kite password and 2FA never pass through QuantGrid at all.

Or let QuantGrid sign in for you, which is a different trade

A Kite token dies every day, so clicking through is a daily job. You can instead ask QuantGrid to sign in for you, and then it does hold your Kite password and your TOTP setup key: encrypted, used for nothing but that login, never displayed back, and deleted with the account. That is a real difference in what we hold, so it is opt-in and you can switch back to signing in yourself whenever you like.

Kite tokens expire every day

Kite Connect access tokens are valid for a single trading day, by Zerodha's design and not by ours. QuantGrid holds the session until it expires, then prompts you to re-authorise. Re-authorising takes one click and nothing about your relationships, multipliers or limits is lost.

Kite Connect's paid plan is needed only for the live feed

Placing orders, reading positions and watching the order book all work without Zerodha's paid Kite Connect plan. The plan, billed by Zerodha and separate from what you pay QuantGrid, is what adds a live order feed and live prices from a Zerodha account. Mark the account as having it in QuantGrid if it does.

One static IP, reserved to your account

Your API traffic leaves from a dedicated static IP address that is never shared with another customer. Where a broker lets you restrict API access to a whitelisted address, you have one stable address to whitelist, and your activity is never mixed with anyone else's. See the security practices.

Pairing

Running Zerodha alongside the other live brokers

A Zerodha parent is the most common setup we see, and it does not restrict where the child accounts live. Zerodha to Zerodha needs no translation at all. Zerodha to FYERS translates the symbol and the product type on the way through, so MIS becomes INTRADAY and NSE:RELIANCE becomes NSE:RELIANCE-EQ.

Zerodha as parent

Drive children at any live broker

Orders placed in your Zerodha parent account replicate into child accounts at Zerodha, Angel One, FYERS, Groww, Motilal Oswal, Upstox, Nuvama Wealth, ICICI Direct, Dhan, Kotak, Tradejini and IIFL, each with its own copy factor and max-quantity cap.

Zerodha as child

Follow a parent at another broker

An account at Zerodha can equally be the follower. A parent at Angel One or FYERS or Groww or Motilal Oswal or Upstox or Nuvama Wealth or ICICI Direct or Dhan or Kotak or Tradejini or IIFL drives it, with symbol and product-type translation applied automatically on every order.

See the full parent and child matrix for every supported combination.

Pricing

What Zerodha replication costs

One price per broker account you connect: its dedicated static IP, with every feature included. Zerodha's API accepts IPv6, so that is what its accounts are issued, at the lower of the two prices. There is no platform fee, no per-child software surcharge and no share of anything you trade.

Dedicated static IPv6

Every feature included

₹500per 30 days + 18% GST

per broker account

What your account is issued wherever the broker accepts IPv6.

Dedicated static IPv4

Every feature included

₹600per 30 days + 18% GST

per broker account

What your account is issued where the broker cannot take IPv6.

Zerodha and Kite Connect v3 are trademarks of their respective owners. QuantGrid is an independent third-party tool and is not affiliated with, endorsed by, certified by or otherwise associated with Zerodha. QuantGrid is a technology platform that executes the replication rules you configure. It is not registered with SEBI, does not provide investment advice, and does not guarantee any outcome. You choose the parent account, you set every multiplier and limit, and you remain responsible for every order placed in your accounts.

Get started

Replicate your Zerodha orders today

Open an account, authorise Zerodha and link a parent to a child. Or book a free 20-minute demo and we will connect your Zerodha parent and one child account with you on the call.

Prepaid wallet · No lock-in, stop any time