Dear Traders & Developers,
As per the upcoming regulatory guidelines, all orders placed via APIs will be required to originate from a registered Static IP address. Once the circular is implemented, this will become a compliance requirement, and any API order requests not originating from the registered Static IP will be rejected.
This post will help you understand what a Static IP is, how it differs from a Dynamic IP, and how you can obtain one in advance to avoid disruption once the rule takes effect.
What is a Static IP?
A Static IP is a fixed, unchanging IP address assigned to your internet connection or server. Unlike a Dynamic IP, which can change frequently, a Static IP remains the same — making it essential for secure, consistent, and authorized API integrations.
Please Note: The Static IP requirement applies only to APIs that involve order execution — specifically:
- Placing an order
- Modifying an order
- Cancelling an order
All other APIs (such as fetching holdings, positions, funds, charts, etc.) will continue to function without any Static IP restriction.
Static IP vs Dynamic IP — What’s the Difference?
Most users are assigned Dynamic IPs by default — these IPs change frequently (e.g., after a reboot or reconnection). They are fine for general internet usage like browsing or email but are not suitable for secure API operations that require consistency and whitelisting.
In contrast, a Static IP remains constant and is manually assigned by your ISP or cloud provider. It’s ideal for secure trading applications because you can register it once and rely on it for all API order flows.
A Static IP usually comes at an additional cost, but it offers better traceability, security, and compliance with regulatory standards.
Example:
- If your internet connection uses a dynamic IP, your address today could be
49.37.189.45, and tomorrow it might change to49.38.201.78. - But if you opt for a static IP like
103.245.87.112, that value will never change unless you reconfigure or cancel the plan.
Note: By default, most internet connections in India (home or mobile data) come with a Dynamic IP. You will only get a Static IP if you explicitly request it from your ISP or configure it in a cloud hosting environment.
How to Get a Static IP
1. Broadband or Fiber Internet Users (Home/Office)
If you’re using a home or office internet connection:
- Contact your ISP (e.g., Airtel, Jio, ACT, Spectra, BSNL)
- Request a Static IP Plan (usually costs ₹200–₹1000/month)
- Once activated, the same public IP will be assigned to your router
Ideal for retail traders using desktop setups
2. Cloud Hosting Services (Recommended for Developers)
If you’re a developer or team running backend services, cloud hosting is a flexible and reliable option:
AWS EC2 – Use Elastic IP
AWS Docs – Elastic IP
Google Cloud VM – Use Reserved Static External IP
Google Docs – Reserve Static IP
Microsoft Azure VM – Use Reserved Public IP
Azure Docs – Public IP
DigitalOcean Droplets – Use Floating IP
DigitalOcean Docs – Floating IPs
You can deploy a small VM instance and configure it as a proxy or microservice that routes all API order traffic through the registered static IP.
3. VPN Services with Dedicated Static IP
Some VPN providers offer dedicated Static IPs as an add-on:
- NordVPN (with Dedicated IP add-on)
- PureVPN (Dedicated IP plans)
- ProtonVPN (for teams)
Ensure that the VPN provider supports full outbound IP consistency, and that the static IP doesn’t change between sessions.
Support for Primary and Secondary Static IPs
To provide better flexibility and reliability, we will support two static IPs per API App:
- Primary IP:
The main IP address from which API order requests will be expected. - Secondary IP:
An optional backup IP — used only if the primary is unreachable or under maintenance. This is especially useful for teams running active/passive failover or alternate cloud setups.
Note: Both IPs must be static and pre-registered in your API App settings. API orders from any other IPs will be rejected once enforcement goes live.
Important: A Static IP can only be used by one customer. Once registered and linked to an API App, the same Static IP cannot be reused or registered by any other customer.
Once you register your Static IP(s) in the API App settings, you do not need to pass the IP in any individual API call. The platform will automatically validate that the request is originating from one of your registered IPs. This applies to all endpoints that require IP verification.
What if You Change Your Static IP?
If you’ve changed your ISP, server, or static IP address:
- Login to your developer section
- Navigate to your API App settings
- Update the Static IP fields with the new IP address
- Save the changes
- Ensure your new setup is correctly routing traffic through the updated IP
Note: Orders will start being rejected once the rule is enforced, unless your new IP address is updated and traffic originates from it.*
If you’re using dynamic IP again by mistake, you must switch back to a valid Static IP for order placement.
Stay Tuned for More
This post is part of a broader implementation based on the upcoming regulatory circular. In the coming days, we will share more updates on:
- Effective date for Static IP enforcement
- Order rate limiting guidelines
- Algo registration process and documentation
We recommend preparing your infrastructure early to ensure a seamless transition.