Zerodha

Add and validate your Zerodha account in AutoTrader Web.

Account setupBroker independent
In short

You can add a Zerodha account in three ways. ZERODHA_API_IPV6 is the recommended platform: it uses the Zerodha API and needs your login id, password, TOTP key, API key, API secret, and a static IP. ZERODHA_API_M_IPV6 is an OAuth option that needs only your API key and API secret, with a daily manual login and no TOTP. Both need a Kite Connect app, which you create once on Zerodha's developer console — you cannot add a Zerodha account without it, but you do not have to pay for it, because Zerodha's free Personal app type works with our platform. Zerodha's paid API costs ₹500 a month, paid to Zerodha, and is worth taking only if this account will be the master in master-child copy trading — for a child account, or for PMS copy, the free one is the right choice. KITE and KITE_IPV6 are old platforms that are being removed. If your account still uses one of them, switch it to ZERODHA_API_IPV6 by editing the account — you do not need to delete and re-create it.

Platforms

You can onboard a Zerodha account using one of the platforms below.

PlatformLogin typeWhat it needsNotes
ZERODHA_API_IPV6Credentials + TOTPLogin id, password, TOTP key, API key, API secret, static IPRecommended. Uses the Zerodha API.
ZERODHA_API_M_IPV6OAuthAPI key, API secretDaily manual login. No TOTP. No account credentials stored.
KITEOld integration. Being removed — switch to ZERODHA_API_IPV6.

Each platform is explained in detail below.

Switch from KITE to ZERODHA_API_IPV6

The old KITE platform (and its KITE_IPV6 variant) is being removed. If your Zerodha account still uses one of them, switch it to ZERODHA_API_IPV6. You do not need to delete the account — just edit it:

  1. Get your API Key and API Secret — see How to get the API Key and API Secret below.
  2. Go to Accounts -> Trading Accounts and click the pencil icon next to your Zerodha account’s login id.
  3. Change Platform to ZERODHA_API_IPV6. Do not pick KITE_IPV6 — it is also an old platform.
  4. Fill in the new fields the form shows: API Key, API Secret and TOTP Key (see How to set up TOTP below).
  5. Click Validate, then Save.
  6. After saving, edit the account again, click the Static IP button and choose Buy Premium Static IPv6 from us, then add that IP to the IP Whitelist field of your app on the Kite developer console — see Get Static IP below.

Your nickname, groups and other settings stay as they are.

Watch the demo video of the setup process below, then follow each step in detail.

Demo

What you will need

  • Login id
  • Password
  • TOTP Key (you need to activate external TOTP)
  • API Key
  • API Secret
  • Static IP — given by our system (you get it after saving your account)

How to get the API Key and API Secret

First-time note: The Kite Connect developer console (developers.kite.trade) is separate from your normal Kite trading login. You cannot sign in there with your Kite trading id and password — you must first register for a Kite Connect developer account (a one-time sign-up). Many people get stuck here because the site asks them to create or register an account. Complete that sign-up, then create the app below.

  1. Visit the API dashboard: https://developers.kite.trade/apps
  2. Click the Create New App button.
    • Type: Select Personal (Free). It is free and it works with our platform. Creating the app is compulsory; only the monthly fee is optional.
      • Choose Zerodha’s paid API instead (₹500 per month, paid to Zerodha) if this account will be the master in master-child copy trading. The paid API tells us about a new order the moment you place it, so copying starts right away. On the free Personal API there can be a lag of up to about 3 seconds. This is the only case where the paid API helps. Keep the free Personal API for a child account, and for every account if you use PMS copy — in PMS you place the order in our system, so nothing waits for a broker notification and the paid API adds nothing.
    • App Name: Stocks Developer
    • Zerodha Client ID: The login id of the same Zerodha account you are adding. The app’s API key works only for this one account — a wrong client id here gives the error The user is not enabled for the app when you validate. If you have more than one Zerodha account, create one app per account.
    • Redirect Url: https://webx.stocksdeveloper.in/auth/zerodha
    • Postback Url: Fill this in only if you took Zerodha’s paid API — paste https://apix.stocksdeveloper.in/postback/zerodha. This is what delivers the instant new-order notification. On the free Personal API, leave it blank.
    • Description: Multi account monitoring system
  3. Click the Create button.
  4. Your app will be created.
  5. Click the App Id to get the API Key and API Secret.

How to set up TOTP

  1. Install the Google Authenticator app on your phone.
  2. We need the secret TOTP key that Kite provides when you enable TOTP.
  3. If you have already enabled TOTP, then you should have this key. Most likely you entered it in a TOTP app like Google Authenticator. If you do not have the key, you can disable TOTP and re-enable it.
  4. Steps to enable TOTP:
    • Login to the Kite website.
    • On the top right of your screen, click on your Login Id.
    • Click on your Name to go to the Profile section.
    • On the Profile page, on the top right you have Password & Security.
    • This has an option to enable/disable the TOTP.
    • Watch the video above to understand.
  5. Important: Remember to copy the key that is generated during this step (click on the Can’t scan? Copy the key link, which can be seen in the image below). This key will not be visible once your TOTP is enabled.
  6. Note: Only after you have enabled TOTP, make sure you logout and login again into the Kite website. If possible, try the logout and login 2-3 times.

TOTP Secret Key

TOTP Secret Key

Add the Zerodha account to the system

  • Go to menu (Accounts -> Trading Accounts).
  • Click the Create button.
  • Select Broker => Zerodha.
  • Select Platform => ZERODHA_API_IPV6.
  • Add the remaining details.
  • Give an easy to remember nickname.
  • Click Validate.
  • On successful validation, click Save.

Get Static IP

  • Do this after your Zerodha account is saved in our system.
  • Go to menu (Accounts -> Trading Accounts).
  • Click the small EDIT icon next to your Zerodha account’s login id.
  • Click the Static IP button and choose Buy Premium Static IPv6 from us to get your static IP.
  • Login to the API dashboard: https://developers.kite.trade/apps
  • Click the Profile tab.
  • Copy the IP shown in our system into the IP Whitelist field.
  • Click Update.

For more on static IP, see the static IP setup guide.

ZERODHA_API_M_IPV6 Platform [OAuth]

Watch the demo video of the setup process below, then follow each step in detail.

Demo

Steps in brief

  • This method does NOT need TOTP setup.
  • Set up the Zerodha API as explained in How to get the API Key and API Secret above.
  • Once you do the API setup, you will get the API Key and API Secret (this is all we need).

Add the Zerodha account to the system

  • Go to menu (Accounts -> Trading Accounts).
  • Click the Create button.
  • Select Broker => Zerodha.
  • Select Platform => ZERODHA_API_M_IPV6.
  • Add the API Key and API Secret.
  • Click Validate.
  • You will be redirected to the Zerodha website.
  • On successful login to Zerodha, your account will be saved.

Get Static IP

Register the static IP using the steps shown in Get Static IP above.

Bracket and cover orders on Zerodha

Zerodha does not offer a bracket order through the interface AutoTrader Web connects to, so you cannot place one on Zerodha directly. You are not doing anything wrong if you went looking for it and could not find it — many Indian brokers withdrew bracket orders in 2020 and never brought them back.

You can place one anyway. An AutoTrader bracket order (AT_BO) attaches a target and a stop-loss to your Zerodha order, with an optional trailing stop that follows the price in your favour and never moves back. An AutoTrader cover order (AT_CO) is the same thing with a stop-loss only. Your entry reaches Zerodha as an ordinary intraday order — the one thing every broker accepts — and AutoTrader Web watches the price and sends the closing order when your level is reached.

Place one from the order window, from your own code, or from a chart alert. It is intraday only, it does not give you the extra intraday margin some brokers give on their own bracket orders, and the position is squared off automatically a short while before the market closes.

Read the risk before you use it. A stop-loss decides when we try to exit — it does not decide the price you get. A sudden move can take the price straight past your level, so your loss can be larger than the stop-loss you set. The full explanation, and the one-time terms you agree to before your first one, are on Bracket & Cover Orders.

Frequently asked questions

Does AutoTrader Web support Zerodha?

Yes. Zerodha is fully supported. You can connect one or many Zerodha accounts and monitor live P&L, holdings and positions, place and manage orders, and copy trade across all of them from one screen, on web or mobile.

Can I copy trade with Zerodha?

Yes. You can copy trade with Zerodha in two ways — PMS copy from our terminal and master-child copy in the background — across accounts and brokers, with per-account sizing. You set up and control everything.

Can I manage multiple Zerodha accounts together?

Yes. Add as many Zerodha accounts as you like and see consolidated P&L, holdings and positions live, and trade across all of them at once.

How much does it cost to use Zerodha with AutoTrader Web?

AutoTrader Web is ₹295 to ₹495 per account per month, with all taxes included, and a free 1-month trial. Your account also needs a static IP — this is required for every broker, not optional. It is ₹100 per month for one IPv6 static IP — you get a primary and a backup address, and the backup is included free (taxes included) — or bring your own IP for free. Zerodha's API is charged separately by Zerodha, not by us. You must create a Kite Connect app to connect the account at all, but a monthly fee is not compulsory — Zerodha's free Personal app type works with our platform. Zerodha's paid API is ₹500 per month, paid to Zerodha, and is worth taking only if this account will be the master in master-child copy trading. For a child account, or if you use PMS copy, the free one is the right choice.

Do I need to subscribe to Zerodha's Kite Connect API to add my Zerodha account?

Yes, a Kite Connect app is needed. Every Zerodha account is connected through Zerodha's own API, so you register once on Zerodha's developer console (developers.kite.trade), create an app there, and use its API key and API secret when you add the account. There is no way to add a Zerodha account without this. A monthly fee is a separate matter and is not compulsory: Zerodha's Personal app type is free and works with our platform. Zerodha's paid API costs ₹500 per month, paid to Zerodha, and is worth taking in one case — when this Zerodha account will be the master in master-child copy trading. The paid API tells us about a new order the moment you place it, so copying starts right away, while on the free API copying can lag by up to about 3 seconds. In every other case we recommend the free Personal API, because the paid one adds nothing: child accounts in master-child copy do not benefit from it, and if you use PMS copy instead, no account benefits from it — in PMS you place the order in our system, so there is nothing to wait for.

Can I add a Zerodha account with just my API key and secret (no TOTP)?

Yes. Pick the ZERODHA_API_M_IPV6 platform when you add the account. It uses Zerodha's own login page (OAuth), so you only add your API key and API secret — no TOTP is needed. You just do a quick manual login on Zerodha's page once a day. The other Zerodha platform does need a TOTP key, so choose ZERODHA_API_M_IPV6 if you do not want to use TOTP.

The Kite developer site asks me to create or register an account, but I already have a Zerodha login. Why?

The Kite Connect developer console (developers.kite.trade) is separate from your normal Kite trading login. You cannot sign in there with your Kite trading id and password — you must register once for a Kite Connect developer account, then use it to create the app that gives you the API key and secret. This is Zerodha's own sign-up, not something inside AutoTrader Web.

Can I place a bracket order on Zerodha?

Not a Zerodha bracket order — Zerodha does not offer one through the interface we connect to. You can place an AutoTrader bracket order (AT_BO) on your Zerodha account instead. It attaches a target, a stop-loss and an optional trailing stop to the order, and it works because your entry goes to Zerodha as an ordinary intraday order while AutoTrader Web watches your levels. It is intraday only and gives no extra margin, and a sudden price move can still take your exit past the level you set.

Bracket & cover orders →

Next steps

Was this page helpful?

Last updated 8 August 2026