General

What Is a Static IP Address? Meaning and Role in API Trading

If you use a broker API for automated trading, your broker may ask you to register or whitelist a static IP address. The term sounds technical, but the basic idea is simple.

A static IP is a public internet address that normally remains unchanged. It gives a broker a consistent address from which API order requests can be identified. If a request comes from a different address, the broker may reject it.

Static IP requirements have become more relevant following India’s new framework for retail algorithmic trading. However, not every trader must purchase a personal static IP. The requirement depends on how the order reaches the broker.

This guide explains what a static IP is, why brokers use IP whitelisting and what retail algo traders should check before live deployment.

What Is a Static IP Address?

what is static ip

An Internet Protocol address, or IP address, identifies a device or network connection on the internet. It works like a digital address that allows systems to communicate.

Most home broadband and mobile connections use dynamic IP addresses. These addresses can change when the router reconnects, the network restarts or the internet service provider assigns a new address.

A static IP remains fixed unless the provider or account holder deliberately changes it. Because it remains consistent, a broker can register it as an approved source for API order requests.

Static IP vs Dynamic IP

Feature

Static IP

Dynamic IP

Address

Normally remains unchanged

Can change automatically

Common source

ISP, cloud server or VPS

Home broadband or mobile data

IP whitelisting

Suitable for registration

May stop matching after a change

API access

Provides a consistent source identity

Can cause an IP mismatch

Cost

May require a paid add-on

Commonly included with internet service

A static IP does not automatically provide faster trading. Its primary purpose here is to give the broker a consistent and identifiable source for API requests.

What Is API Trading?

An Application Programming Interface, or API, allows two software systems to communicate.

In API trading, a trader’s program or an algo platform sends an order instruction to the broker’s API. The broker authenticates the request, applies margin and risk-management checks and forwards an accepted order to the exchange.

Because an API can send orders without the trader manually clicking Buy or Sell, brokers need controls to identify authorised systems. IP whitelisting is one such control.

Why Is a Static IP Used in API Trading?

A static IP helps a broker:

  • Identify the source of API requests

  • Restrict order requests to an approved address

  • Improve traceability and auditability

  • Reduce unauthorised API activity

  • Avoid mismatches caused by frequently changing IP addresses

When an IP is whitelisted, requests from that address may be accepted after the other authentication and risk checks are completed. Requests from an unknown address may be rejected.

IP whitelisting is only one security layer. API keys, OAuth authentication, two-factor authentication, account permissions and broker-side risk controls remain necessary.

What Do the Latest SEBI and NSE Guidelines Say?

SEBI issued its framework for the safer participation of retail investors in algorithmic trading on 4 February 2025. It directed brokers to avoid open APIs and use controls including client- or vendor-specific API keys, broker-whitelisted static IPs, OAuth-based authentication and two-factor authentication.

Following a phased rollout, SEBI specified that the framework, implementation standards and exchange operational modalities would apply to all stockbrokers from 1 April 2026.

You can read the SEBI retail algo framework and the revised implementation timeline for the official wording.

The NSE clarification is important because it shows that a personal static IP is not required in the same way for every retail trader.

According to NSE’s retail algo FAQ:

  • A client static IP is required when a tech-savvy investor uses a client-direct API to place orders.

  • When an empanelled algo provider’s platform is hosted within the trading member’s infrastructure, the relevant IP is the trading member server’s IP.

  • API orders require appropriate tagging, including orders within the threshold of 10 orders per second.

Therefore, saying that “every algo trader must buy a static IP” is too broad. Traders should first understand their execution route and check the latest instructions from their broker.

Who Needs a Static IP for Algo Trading?

Trading method

What the trader should know

Manual trading through a broker app or website

Manual order placement alone does not trigger the client-direct API requirement

Self-developed program using a broker API

The client may need to register a static IP with the broker

API trading from a cloud server or VPS

The server’s fixed outbound IP may be registered, subject to broker rules

Algo platform hosted within broker infrastructure

The infrastructure-level IP may be handled by the broker or platform

The process can differ between brokers. Check the broker’s documentation before purchasing an IP service or changing your execution setup.

What Does the 10 Orders-per-Second Threshold Mean?

SEBI’s framework says that a self-developed algo must be registered through the broker when it crosses the specified order-per-second threshold. NSE’s operational FAQ refers to 10 orders per second and states that API orders within this threshold still require appropriate standardised tagging.

The threshold relates to strategy classification and registration. It should not be interpreted as permission to use an unrestricted or unidentified API connection below 10 orders per second.

How Does Broker IP Whitelisting Work?

The exact interface varies, but the typical process is:

  1. Obtain a public static IP from an internet or hosting provider.

  2. Create or activate the broker’s API application.

  3. Register the approved IP in the broker’s API settings.

  4. Add a secondary address if the broker supports one.

  5. Complete the required authentication.

  6. Test the order workflow before running a live strategy.

If the order request comes from an address that does not match the registered IP, the broker may reject it.

Do not copy an address shown in your router settings without confirming that it is your public IP. Addresses beginning with 192.168 or 10 are commonly private network addresses and do not identify the public source visible to the broker.

How Can You Get a Static IP in India?

Internet service provider

Some ISPs provide a public static IP as an add-on or as part of a business broadband plan. It is usually tied to that home or office connection.

Cloud server or VPS

A cloud server or Virtual Private Server can run a trading program remotely and may include a fixed public IP. Confirm that the address will remain reserved when the server restarts or is redeployed.

Dedicated fixed-IP service

Some VPN and proxy services provide dedicated outbound IPs. Shared or rotating proxy pools may not be suitable for client-specific whitelisting. Confirm that the broker accepts the setup before paying for it.

Static IP vs VPS: Are They the Same?

No. A static IP is an internet address, while a VPS is a virtual computer hosted in a data centre.

Static IP

VPS

Provides a consistent internet address

Provides computing resources

Used for identification and whitelisting

Used for running applications

Can come from an ISP or hosting provider

May include a static public IP

Cannot run a strategy by itself

Can host a trading program

Using a VPS does not automatically mean that its IP is permanently reserved. Confirm this with the provider.

What Happens If Your Whitelisted IP Changes?

An API request from a different address may fail authentication or be rejected. This can happen when you:

  • Change your internet provider

  • Switch to a mobile hotspot

  • Move the program to another server

  • Recreate a cloud instance

  • Use a VPN with rotating addresses

  • Release a reserved cloud IP

Update the address through the broker’s approved process before moving the live setup. Test the connection before market hours.

Common Static IP Mistakes

  • Assuming home Wi-Fi always uses the same public IP

  • Confusing a private network address with a public IP

  • Using a shared or rotating VPN

  • Believing a static IP guarantees faster execution

  • Changing networks while a live strategy is running

  • Registering one IP while sending orders through another

  • Ignoring broker-specific API and authentication rules

Does a Static IP Guarantee Reliable Order Execution?

No. A static IP only reduces the risk of an API request failing because its source address changed or does not match the broker’s whitelist.

Live execution can still be affected by:

  • Invalid or expired authentication

  • Insufficient margin

  • Broker and exchange risk checks

  • Unsupported order types

  • Liquidity and bid-ask spreads

  • Slippage and fast price movements

  • Broker, exchange or network downtime

  • Errors in the strategy

Backtest and paper trade a strategy before using live capital. Historical and simulated results do not guarantee future performance.

Conclusion

A static IP is a fixed public internet address that can help a broker identify and authorise the source of API order requests. It supports IP whitelisting and traceability, but it is not a complete security system and does not guarantee better execution or trading performance.

For Indian algo traders, the most important question is not simply, “Do I need a static IP?” It is, “How do my orders reach the broker?”

Tech-savvy investors using a client-direct broker API may need to register their own fixed IP. Traders using an algo platform hosted through broker infrastructure may be covered by the infrastructure-level IP arrangement. Confirm the exact requirement with your broker before purchasing or configuring a service.

Once the setup is ready, test the strategy thoroughly before live deployment. AlgoTest lets you build, backtest and paper trade rule-based strategies before connecting them to a supported broker for live execution.

Frequently Asked Questions

What is a static IP address?
A static IP is a public internet address that normally remains unchanged. It can be registered with a broker to identify the source of API order requests.
Why is a static IP used in API trading?
It supports IP whitelisting, source identification and traceability. A broker can accept API requests from an approved address and reject requests coming from an unknown address.
Is a static IP mandatory for every algo trader in India?
No. NSE distinguishes between tech-savvy investors using a client-direct API and traders using algo platforms hosted through broker infrastructure. The applicable IP arrangement depends on the execution route and broker requirements.
Do traders placing fewer than 10 orders per second need a static IP?
The 10-orders-per-second threshold primarily relates to strategy classification and registration. It does not automatically remove the broker’s API access or IP-whitelisting requirements.
Can I use a dynamic IP for API trading?
A dynamic IP can change and stop matching the address registered with the broker. Where client-side IP whitelisting applies, a public static IP is normally required.
Is a VPS the same as a static IP?
No. A VPS is a virtual computer used to run applications. A static IP is a fixed internet address. A VPS may include a static public IP, but they are separate components.
Can I use a VPN to obtain a static IP?
Some VPN services provide dedicated fixed outbound addresses, but rotating or shared addresses may not be suitable. Check whether your broker accepts the proposed setup.
What happens if my registered IP changes?
API order requests may be rejected because the new address does not match the broker’s whitelist. Update it through the broker’s approved process before using the new connection.
Does a static IP improve order execution speed?
Not by itself. It provides a consistent connection identity. Execution speed depends on the full trading infrastructure, network route, broker systems and market conditions.