Zerodha

Add and validate your Zerodha account in QUANT LEVELS.

Heads up: Zerodha's official Kite Connect API has no direct password+TOTP login - only a browser-redirect flow. We automate this by simulating that browser flow internally, the same technique used by most copy-trading platforms for Zerodha. It is not officially documented by Zerodha and could break without warning if Zerodha changes their login page - if your Zerodha account suddenly fails to log in, this is the most likely reason.

Step 1 - Create a Kite Connect app

  1. Sign up at developers.kite.trade and create a new app for this exact Zerodha account.
  2. Paste this as the Redirect URL: https://quantlevelsdevloper.in/auth/zerodha. Leave the Postback URL blank unless you're on Zerodha's paid Connect plan (if you are, use https://quantlevelsdevloper.in/postback/zerodha?key=jByKSan5riiFoxHxtetuI2dkBRkOA_dm).
  3. Copy both the API Key and API Secret - Zerodha needs both.
A Zerodha app only works for ONE Client ID. If you're adding more than one Zerodha account, create a separate app per account - otherwise you'll get "The user is not enabled for the app".

Step 2 - Add the account

  1. Go to Accounts → Add New Account.
  2. Select Broker as Zerodha.
  3. Enter your Zerodha Client ID, your Zerodha login Password, TOTP Secret Key, API Key and API Secret.
  4. Save. Your access token auto-refreshes every day.

Common Issues

"The user is not enabled for the app"

This app was created for a different Zerodha Client ID. Create a fresh app for this specific account (see the warning above).

Login suddenly stopped working with no config change

Zerodha's login page structure may have changed, breaking the internal automation. This isn't something you can fix from your side - let us know so we can check and patch it.

Master account's manual trades aren't copying

Zerodha's Kite Connect postback only fires for orders placed through that app's own API key, not for trades placed manually via Zerodha's own Kite app/website. Master detection for Zerodha instead uses a live streaming connection that we maintain per master account - if this account was recently added as a master, allow a minute for the connection to establish.

Copy trading on Zerodha

Because Zerodha's postback doesn't cover manually-placed trades, we hold a persistent live connection to detect a Zerodha master's own trades in real time instead of relying on a webhook.

FAQ

Does Zerodha charge for Kite Connect?

Kite Connect (the official API) is a separate paid subscription from Zerodha, independent of our platform's own pricing.