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.

// 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 8 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.

What you need to collect

To connect Zerodha, the broker login form in MyAlgoMate needs three details:

  • API Key — from your Kite Connect app
  • API Secret — from the same app
  • TOTP key — from Kite → Password & Security → Enable External TOTP → “Can’t scan? Copy the Key”

Two more things are set on Zerodha's side rather than entered here: your app must be mapped to your Zerodha Client ID when you create it, and you must whitelist a static IP.

Static IP — required by Zerodha

Important — static-IP changes are limited: you can update your registered static IP only once in 7 days (once per week). To change it sooner, you must ask your broker to update it for you.

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.

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/

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.

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.

Automate on Zerodha, the compliant way

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