{"id":326,"date":"2026-12-03T13:43:14","date_gmt":"2026-12-03T13:43:14","guid":{"rendered":"https:\/\/giganodes.host\/blog\/?p=326"},"modified":"2026-12-05T12:03:58","modified_gmt":"2026-12-05T12:03:58","slug":"static-ip-for-algo-trading-india","status":"publish","type":"post","link":"https:\/\/giganodes.host\/blog\/static-ip-for-algo-trading-india","title":{"rendered":"Static IP for Algo Trading in India: Zerodha, Angel One and Upstox"},"content":{"rendered":"<div class=\"qa\"><strong>Quick answer:<\/strong> since 1 April 2026, Indian brokers only accept API orders from a static IP address that you have registered with them. Home broadband usually has an IP that changes, so you need either a static IP from your internet provider or a VPS, which comes with its own fixed IPv4 address. Market data, positions and holdings still work from any IP at the brokers we checked. This is a technical guide, not investment advice.<\/div>\n<p>If your trading bot suddenly started getting &#8220;unregistered IP&#8221; errors, this rule is the likely reason. This guide explains who needs a <strong>static IP for algo trading in India<\/strong>, what Zerodha, Angel One, Upstox and Kotak Neo ask for, and how to set it up on a VPS.<\/p>\n<h2>What changed on 1 April 2026<\/h2>\n<p>Under the SEBI and exchange rules for retail algo trading, your broker has to know which IP address your API orders come from. You register the address once, and orders from any other address are rejected. It applies to your own scripts too, even if you only place a few orders a day.<\/p>\n<p>It doesn&#8217;t affect orders you place by hand in your broker&#8217;s app or website. If you use a no-code algo platform that runs on your broker&#8217;s own servers, Angel One says you don&#8217;t need your own static IP either.<\/p>\n<h2>Static IP rules by broker<\/h2>\n<p>We read each broker&#8217;s own pages on 3 December 2026. Rules change, so check the linked page before you go live.<\/p>\n<table>\n<thead>\n<tr>\n<th>Broker<\/th>\n<th>IPs<\/th>\n<th>Change it<\/th>\n<th>Family can share<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=\"https:\/\/support.zerodha.com\/category\/trading-and-markets\/general-kite\/kite-api\/articles\/static-ip\" rel=\"noopener\" target=\"_blank\">Zerodha<\/a><\/td>\n<td>2<\/td>\n<td>Weekly<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.angelone.in\/news\/market-updates\/what-s-changing-in-angel-one-s-smartapi-access-from-april-1-2026\" rel=\"noopener\" target=\"_blank\">Angel One<\/a><\/td>\n<td>2<\/td>\n<td>Weekly<\/td>\n<td>On request<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/upstox.com\/developer\/api-documentation\/announcements\/algo-trading-circular\/\" rel=\"noopener\" target=\"_blank\">Upstox<\/a><\/td>\n<td>2<\/td>\n<td>Weekly<\/td>\n<td>No<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.kotakneo.com\/platform\/kotak-neo-trade-api\/static-ip-details\/\" rel=\"noopener\" target=\"_blank\">Kotak Neo<\/a><\/td>\n<td>2<\/td>\n<td>Weekly<\/td>\n<td>Yes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The two addresses are a main one and an optional backup. Weekly means you can change them once a week. Family sharing has conditions at every broker that allows it: Zerodha asks for a declaration, Angel One wants a written request, and Kotak Neo allows up to 10 family members.<\/p>\n<h2>Home static IP or VPS?<\/h2>\n<ul>\n<li><strong>Static IP from your internet provider:<\/strong> works if your provider offers one on your plan. Your bot still stops when the power or internet at home goes down.<\/li>\n<li><strong>VPS:<\/strong> a small server in a data centre that stays on, with its own IP address. Your bot runs there, so the IP stays the same wherever you are.<\/li>\n<\/ul>\n<p>Shared VPN addresses are a bad fit, because other people use the same IP and it can change.<\/p>\n<h2>How to set up a static IP for your trading bot<\/h2>\n<h3>Step 1: get a VPS with a dedicated IPv4<\/h3>\n<p>Every <a href=\"https:\/\/giganodes.host\/vps\/india\">GigaNodes VPS in India<\/a> includes a dedicated IPv4 address. One Python script runs fine on Cloud Nano (\u20b9600\/mo) or Cloud XS (\u20b91,000\/mo), plus GST. For Windows tools or MetaTrader, look at the <a href=\"https:\/\/giganodes.host\/vps\/india\/windows-vps\">Windows VPS plans<\/a>.<\/p>\n<h3>Step 2: find the IP your orders will come from<\/h3>\n<p>Log in to the server and run:<\/p>\n<pre><code>curl -4 https:\/\/api.ipify.org<\/code><\/pre>\n<p>It should match the IP address shown in your VPS panel. That&#8217;s the one to register.<\/p>\n<p>Not sure if your home or office IP changes? Open the <a href=\"https:\/\/giganodes.host\/tools\/vps\/static-ip-checker\">static IP checker<\/a> today and again tomorrow, and it tells you whether the IP has changed and whether it matches the one registered with your broker.<\/p>\n<h3>Step 3: register it with your broker<\/h3>\n<ul>\n<li><strong>Zerodha:<\/strong> log in to developers.kite.trade, open Profile, enter the address under IP Whitelist and click Update. It covers all the apps in that developer account.<\/li>\n<li><strong>Angel One:<\/strong> log in to SmartAPI, choose Add App and enter your Primary Static IP.<\/li>\n<li><strong>Upstox:<\/strong> set the primary IP in My Apps. Changing it cancels your existing access tokens, so log in again afterwards.<\/li>\n<li><strong>Kotak Neo:<\/strong> go to More, then Trade API, and click Add IP. Create your API session from the same IP that sends the orders.<\/li>\n<\/ul>\n<p>Check every digit before you save. If you make a mistake, you may have to wait up to a week to fix it.<\/p>\n<h3>Step 4: make your bot use IPv4<\/h3>\n<p>If your server also has an IPv6 address, your bot may connect over IPv6 and the broker will see an address you never registered. In a Python bot that uses the <code>requests<\/code> library, add this at the top:<\/p>\n<pre><code>import urllib3.util.connection\nurllib3.util.connection.HAS_IPV6 = False<\/code><\/pre>\n<h3>Step 5: test with one small order<\/h3>\n<p>Reading prices doesn&#8217;t prove the IP works, because data calls aren&#8217;t checked. Place one small limit order far from the market price during market hours, confirm it&#8217;s accepted, then cancel it.<\/p>\n<h2>Common errors and fixes<\/h2>\n<ul>\n<li><strong>&#8220;Unregistered IP address&#8221; or &#8220;unauthorized&#8221;:<\/strong> the order came from a different IP. Run the command in step 2 on the same machine as the bot and compare.<\/li>\n<li><strong>It worked yesterday, not today:<\/strong> check whether the bot is now running on your laptop, behind a VPN or over IPv6.<\/li>\n<li><strong>Kotak Neo &#8220;session ip&#8221; error:<\/strong> you logged in from one IP and ordered from another. Log in again from the VPS.<\/li>\n<li><strong>Moving to a new server:<\/strong> add the new IP as your secondary first, test it, then switch off the old server.<\/li>\n<\/ul>\n<h2>Frequently asked questions<\/h2>\n<h3>Do I need a static IP just for market data?<\/h3>\n<p>Not at Zerodha, Angel One, Upstox or Kotak Neo. They only check the IP for orders, and data such as positions works from any address.<\/p>\n<h3>Do I have to register my algo with the exchange?<\/h3>\n<p>Upstox says no registration is needed if you send up to 10 orders per second. Kotak Neo and <a href=\"https:\/\/support.fyers.in\/portal\/en\/kb\/articles\/what-are-the-new-sebi-rules-for-retail-algo-trading-from-april-01-2026\" rel=\"noopener\" target=\"_blank\">Fyers<\/a> limit API orders to 10 per second.<\/p>\n<h3>Can I still use market orders?<\/h3>\n<p>It depends on the broker. Kotak Neo and Fyers convert API market orders into price-protected orders, so using limit orders is safer.<\/p>\n<h3>Can two people share one VPS for trading?<\/h3>\n<p>Only if your broker allows it. Zerodha, Angel One and Kotak Neo allow family sharing with conditions, and Upstox doesn&#8217;t.<\/p>\n<h3>Does GigaNodes register the IP for me?<\/h3>\n<p>No. We give you the server and its dedicated IPv4 address, and you add it in your own broker account.<\/p>\n<h2>Next steps<\/h2>\n<p>Pick a plan on the <a href=\"https:\/\/giganodes.host\/vps\/india\">VPS India page<\/a>, then follow our guide to <a href=\"https:\/\/giganodes.host\/blog\/python-algo-zerodha-kite-connect-vps-india\">running a Python algo on Zerodha Kite Connect<\/a>. To compare plans for trading, read the <a href=\"https:\/\/giganodes.host\/blog\/algo-trading-vps-india\">algo trading VPS guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Brokers now only accept API orders from a registered static IP. Here&#8217;s what each broker asks for and how to set it up on a VPS.<\/p>\n","protected":false},"author":2,"featured_media":328,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,14],"tags":[],"class_list":["post-326","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-vps-hosting"],"_links":{"self":[{"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/posts\/326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/comments?post=326"}],"version-history":[{"count":2,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/posts\/326\/revisions"}],"predecessor-version":[{"id":329,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/posts\/326\/revisions\/329"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/media\/328"}],"wp:attachment":[{"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/categories?post=326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/giganodes.host\/blog\/wp-json\/wp\/v2\/tags?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}