MyAlgoMate
// BROKER · ZERODHA

Algo trading with Zerodha

Supported

Connect your Zerodha account to MyAlgoMate and automate your execution — one-click orders, risk controls and fast exits, no coding required.

Does MyAlgoMate work with Zerodha?

Yes. Your Zerodha account works with 10 MyAlgoMate products: StockMock & AlgoTest Strategy Automation, TradeMate, Copy Trading Software, TradeBridge, Cloud Server for Algo Trading, RMS Tool, ORB - Opening Range Breakout, 5 EMA Strategy - Power of Stocks, Virtual Trading Environment and Trade Scalper. In copy trading, a Zerodha account can be the master or a child — see copy trading with Zerodha, step by step. You connect it once with your own Zerodha API details. MyAlgoMate provides the technology only — the software places the orders you set up, and gives no tips or advice.

Last updated:

// HOW WE CONNECT

Connecting Zerodha

MyAlgoMate connects to Zerodha through Zerodha's official Kite Connect API. You create your own Kite Connect app (mapped to your Zerodha Client ID), whitelist a static IP as Zerodha requires, and then enter your API Key, API Secret and TOTP key into the broker login form in MyAlgoMate.

// WHAT YOU CAN AUTOMATE

Use Zerodha with

Your Zerodha account works with all 10 of these MyAlgoMate products — plus custom automation of your own strategy.

// SETUP

Setting up Zerodha

Step 1 — Sign up for Kite Connect and create your app

Adding Zerodha as a child account in copy-trading software? You can skip the paid plan — Zerodha's free API is enough for a child account. The paid Kite Connect subscription is only required for the master account.
  1. Go to developers.kite.trade/signup and register (use the email linked to your Zerodha account, plus your name, mobile and state).
  2. Choose the Connect (paid) plan — a monthly fee of ₹500 per API key at the time of writing (please check Kite for the latest charges). You need this paid plan when Zerodha is your master or standalone automation account. You can pay from the billing section, or link your Kite account so the amount is debited from there.
  3. Open My Apps → Create New App and fill in:
  • App Name — e.g. MyAlgoMate
  • Zerodha Client ID — your Zerodha client id. This maps the API app to your trading account.
  • Redirect URL — set it to https://zerodha.com/
  • Postback URL — optional, you can leave it blank
  • Description — e.g. Algo trading automation
  1. Once the app is created, open it and copy the API Key and the API Secret.

Step 2 — Register your static IP (mandatory)

Zerodha requires a registered static IP for placing orders through the API (NSE/SEBI algo-trading rules, in force since 1 April 2026). Orders sent from an IP that is not whitelisted are rejected.

  1. In your Kite Connect developer account, open Profile (top-right) → IP Whitelist, enter your static IP and click Update. You can add up to two — one primary (mandatory) and one secondary (optional) — on separate lines.
  2. Which IP to use: if you run MyAlgoMate on your own machine, use your ISP's static IP; if you run it on a cloud machine, use that cloud server's static IP.
  3. ⚠️ You can change the whitelisted IP only once per calendar week — double-check it before you save.

No static IP or cloud machine yet? Our Cloud Server for Algo Trading is a cloud machine specialised for algo trading, and it comes with its own static IP you can whitelist.

Step 3 — Generate your TOTP key

  1. Log in to Kite, click your Client ID, then go to My profile / Settings → Password & Security.
  2. Click Enable External TOTP and verify with the OTP sent to your email.
  3. When the QR code appears, click “Can’t scan? Copy the Key” and save that key — this is the TOTP key MyAlgoMate needs. Also scan the QR into an authenticator app (Google Authenticator, Authy, etc.).
  4. Enter the 6-digit code from your authenticator app and your Kite password, then click Enable.

On the Kite mobile app: tap Client ID → Profile → Manage → Enable external TOTP, then use the same “Can’t Scan? Copy the Key” option.

Step 4 — Enter the details in MyAlgoMate

  1. Open the broker login form in MyAlgoMate and enter your API Key, API Secret and TOTP key, then save.

How algo trading on Zerodha works in 2026

Zerodha lets you automate orders through its official API, Kite Connect. Two of Zerodha's own rules matter most: orders sent through the API must come from a static IP you have whitelisted in your Kite Connect developer account, and to trade without individual exchange approval your order rate must stay within 10 orders per second per client.

MyAlgoMate is software that connects to your own Kite Connect app. Zerodha bills the API, the orders go out from your own PC or cloud machine, and every trading decision stays with you.

Kite Connect limits worth knowing

Zerodha's API documentation lists these limits:

  • Order placement: 10 requests per second, and at most 400 orders per minute.
  • At most 5,000 orders per day for a single user or API key, across all segments and order types.
  • At most 25 modifications per order — after that the order has to be cancelled and placed again.
  • Your API session ends at 6 AM the next day, which Zerodha describes as a regulatory requirement. That is why you log in again each trading day.

Zerodha can change these limits, so check its Kite Connect documentation for the latest figures.

What you need to collect

To connect Zerodha, generate three details in your Kite Connect app and enter them in the broker login form in MyAlgoMate:

  • API Key — generate it in your Kite Connect app.
  • API Secret — available in the same Kite Connect app.
  • TOTP key — your Zerodha external-TOTP key. Generate it with the steps below.

To generate the TOTP key in Kite:

  1. Log in to Kite.
  2. Go to Password & Security.
  3. Select Enable External TOTP.
  4. Click “Can’t scan? Copy the Key”.
  5. Copy the TOTP key and save it in MyAlgoMate.
  6. Scan the QR code using your preferred Authenticator app.
  7. Enter your Kite password and the 6-digit code generated by the Authenticator app.
At login to the broker through MyAlgoMate, enter the TOTP key you saved in the software. The 6-digit code is generated by your Authenticator app and entered when required.

Also configured on Zerodha’s side (not entered in MyAlgoMate):

  • Your Kite Connect app must be mapped to your Zerodha Client ID when you create the app.
  • Whitelist your static IP in the Kite Connect app settings.

Static IP — required by Zerodha

Important — static-IP changes are limited: Zerodha allows one change to your registered static IP per calendar week (an exchange rule). Plan the change before you make it.

Since 1 April 2026, NSE/SEBI algo-trading rules require a registered static IP for API order placement — orders from an unregistered IP are rejected. Add it in your Kite Connect developer account under Profile → IP Whitelist (up to two IPs; changeable only once per calendar week). Use your ISP's static IP if you run MyAlgoMate locally, or your cloud machine's static IP if you run it on a server.

The static IP is needed only for placing orders. Zerodha says market data, the order book and positions can still be read from any IP address.

If you don't have a static IP, our Cloud Server for Algo Trading is a cloud machine built for algo trading and includes a static IP you can whitelist.

About the Kite Connect subscription

Kite Connect is a paid API subscription from Zerodha — a monthly fee of ₹500 per API key at the time of writing. Please check Kite for the latest charges. It is billed by Zerodha (not by MyAlgoMate), and the app is created under your own Zerodha account. You can pay from the billing section, or link your Kite account so the amount is debited from there.

One exception — copy trading: if you add Zerodha as a child account in copy-trading software, its free API is enough, so no paid Connect subscription is needed for that child account. The paid Kite Connect plan is only required for the master account.

Redirect URL

When you create the app, set the Redirect URL to https://zerodha.com/

Daily loss limit and max-loss exit for Zerodha

Set a daily max-loss auto exit for your Zerodha account with the RMS Tool: it exits the positions you choose when your MTM reaches the Max Loss you set, through Zerodha's official Kite Connect API, from your own PC or cloud server.

Send TradingView and Chartink alerts to Zerodha

TradeBridge turns TradingView and Chartink webhook alerts into live Zerodha orders through Kite Connect, Zerodha’s official API. It runs on your own Windows machine, and the orders go out from the static IP you register with Zerodha. See TradeBridge, or follow the TradingView alerts to Zerodha steps.

Keep your keys private

Your API Secret and TOTP key are the keys to your own trading account — never share them with anyone. MyAlgoMate provides the automation technology; you set the rules and stay in control of your own trades.

// FAQ

Zerodha — questions

Do I need a paid Zerodha API subscription to use MyAlgoMate?

It depends on how Zerodha is used. Zerodha's free API is enough only when you add Zerodha as a child account in copy-trading software — no paid Connect subscription is needed there. For a master account, or a regular single-account automation setup, you need Zerodha's paid Kite Connect — a monthly fee of ₹500 per API key at the time of writing (please check Kite for the latest charges), billed by Zerodha.

I'm using Zerodha as a child account in copy trading — do I still need to pay for Kite Connect?

No. When Zerodha is added as a child account in copy-trading software, its free API is enough — you don't need a paid Kite Connect subscription for that child account. The paid Connect subscription is only required for the master account.

What Zerodha details does MyAlgoMate need?

Three: your Kite Connect app's API Key and API Secret, plus your Zerodha TOTP key. You enter all three in the broker login form in MyAlgoMate. Separately, your app must be mapped to your Zerodha Client ID and you must whitelist a static IP on Zerodha's side.

Do I need a static IP for Zerodha API trading?

Yes — since 1 April 2026, NSE/SEBI algo rules require a registered static IP, and orders from an unregistered IP are rejected. Add it in your Kite Connect developer account under Profile → IP Whitelist (up to two IPs). Use your ISP's static IP if you run MyAlgoMate on your own machine, or your cloud machine's static IP if you run it on a server. Note you can change it only once per calendar week. If you don't have one, our Cloud Server for Algo Trading includes a static IP.

Can I send TradingView alerts to Zerodha automatically?

Yes. TradeBridge receives the TradingView alert as a webhook and places the order on your Zerodha account through Kite Connect, from your own Windows machine.

What Redirect URL should I set in my Kite Connect app?

Set it to https://zerodha.com/

Where do I find my Zerodha TOTP key?

In Kite: click your Client ID → My profile / Settings → Password & Security → Enable External TOTP. Verify with the OTP emailed to you, then click “Can’t scan? Copy the Key” — that key is what you enter in MyAlgoMate.

Is algo trading allowed on Zerodha?

Yes. Zerodha offers Kite Connect, its official API, for automated orders. Under the current rules, API orders must come from a static IP you have whitelisted with Zerodha, and Zerodha says your order rate must stay within 10 orders per second per client to trade without individual exchange approval. How you trade is your own decision.

How many orders can I place in a day through Kite Connect?

Zerodha's API documentation sets a limit of 5,000 orders per day for a single user or API key, across all segments and order types, along with 10 orders per second and 400 orders per minute. Check Zerodha's documentation for the latest limits.

Automate on Zerodha, the compliant way

Connect in minutes, automate without code, and stay in control — with a team that answers.

Share this page