All guides

Setup · 15 Oct 2026 · 5 min read

Static IP for API trading: why you need one and how to set it up

Brokers now only accept API orders from a whitelisted IP. What that means, your two options, and how to whitelist it at Zerodha and Dhan.

By Tikam Chand, Founder, EchoTrade

Setup

1

whitelisted IP

Since SEBI's retail algo rules came fully into force in April 2026, brokers only accept API orders from an IP address you've registered with them. Orders from anywhere else are rejected, even with a valid token. This is the one piece of setup that catches most people out.

What a static IP is

An IP address is where your orders appear to come from. Home and mobile connections change theirs often, so they can't be whitelisted. A static IP never changes, so the broker can trust that orders from it are yours.

Your two options in EchoTrade

OptionCostBest for
EchoTrade static IP₹299 + GST / monthNo setup
Your own proxyFree in EchoTradeAlready have one
  • Choose Buy static IP on the Static IPs page in your dashboard to request one. We set it up and it appears in your list.
  • Or choose Use my own IP and add an HTTP proxy you own, such as a dedicated proxy from Webshare. You can paste it as host:port:user:pass and the form fills itself.
  • One IP serves one person and their family members' accounts. Don't share it with unrelated people.

Setting it up

  1. 1Open Static IPs in the EchoTrade dashboard and add an IP using either option.
  2. 2Assign it to each linked account in the Accounts list on the same page.
  3. 3Whitelist it at Dhan: My Profile → DhanHQ Trading APIs. Then generate a new access token.
  4. 4Whitelist it at Zerodha: the Kite developer console, in your app's IP whitelist.
  5. 5Place a small test order on the master and check the copy lands on the Live monitor.

On Dhan, a token generated before you whitelisted the IP keeps failing with DH-905 Invalid IP. Always make a fresh token after changing the whitelist. More in the Dhan token guide.

Changing your IP

Brokers limit how often you can change a whitelisted IP, so pick one you'll keep. If you do switch, update the whitelist at every broker that uses it, and on Dhan generate a new token. Removing an IP in EchoTrade sends its accounts back to ordering without one, which brokers will reject.

FAQ

Do I need a static IP for Zerodha or Dhan API trading?

Yes. Under SEBI's algo framework, brokers only accept API orders from an IP you've whitelisted with them.

Can my family use the same static IP?

Yes. One IP can serve you and your family members' accounts. Don't share it with unrelated people.

Why does Dhan say DH-905 Invalid IP after I whitelisted it?

Your token was generated before the IP was added. Generate a new token and update it in EchoTrade.

Can I use my home internet IP?

Usually not. Most home and mobile connections change IP regularly, so the whitelist would break. A static IP or a dedicated proxy stays fixed.

Try it yourself

Put this guide to work on your own accounts.

Link a master and a follower, place one order, and watch the copy land.

  • Free plan, no card needed
  • Zerodha & Dhan
  • Cancel anytime