Static IP, API Keys and the Once-a-Week Rule
How authorised API access works under the framework, and why the once-per-calendar-week limit on changing an IP breaks naive failover designs.
Why does the once-per-calendar-week limit matter so much?
Because it removes the ability to change an address reactively. A client's mapped IP addresses may be updated at most once per calendar week, so any design that assumes you can re-register when something fails at 09:20 does not hold up against the rule.
This is the single detail teams most often discover late. The instinct is to treat an IP address as configuration, something changed when infrastructure moves. Under this constraint it behaves much more like a licence: obtained in advance, changed rarely, and planned around.
The consequence is that failover has to be designed before registration rather than after an incident. Secondary addresses are permitted for redundancy, which is the intended path, and registering one while nothing is broken costs nothing.
Common setups, and whether they hold up
| Setup | Holds up? | Why |
|---|---|---|
| Residential line with an ISP "static" IP | Usually not | Many reassign on reconnect. It may pass on registration day and fail in the first outage |
| Single cloud instance, fixed address | Yes, with a caveat | Works until the instance has to move. Register a secondary before you need it |
| Autoscaling group behind dynamic addresses | No | Egress address varies by instance, and the weekly limit makes re-registration impractical |
| NAT gateway with an allocated static address | Yes | Egress is stable regardless of what runs behind it, which is the property the rule needs |
| Broker-hosted or in-estate deployment | Yes | The originating addresses already belong to the broker and are already whitelisted |
Whether IPv6 is accepted varies between brokers and is not settled by the circular. Confirm it directly.
What happens when a session expires?
Most Indian broker APIs expire the session daily and require an interactive login step to re-establish it. That is a deliberate control rather than a defect, and it means an automated system needs a defined answer for what happens to open positions while there is no session.
The answer that matters is whether the system can still exit. A design that can enter positions but cannot close them during a session gap accumulates risk with no way to shed it, and that is the one failure mode that should fail closed, refusing new entries the moment the exit path is unavailable.
Does the static IP requirement apply to a hosted platform?
Yes. Where a platform is hosted, its originating addresses are what the broker whitelists, and the same weekly change limit applies to them. Where the platform runs inside the broker's own estate, the addresses are already the broker's and already whitelisted.
That difference is one of the more practical reasons deployment model and compliance posture cannot be discussed separately. It is also why a broker with an established network posture will ask about egress addresses early, and should.
References
- NSE/INVG/67858, static IP and API access requirements, 5 May 2025National Stock Exchange of India
- Safer participation of retail investors in Algorithmic trading, 4 February 2025Securities and Exchange Board of India
- Extension of timeline, SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/132, 30 September 2025Securities and Exchange Board of India
- static ip
- api access
- broker apis
- infrastructure
- compliance
- sebi
Topics
Written by
The Stretus team writing on algorithmic trading, market structure and the systems that sit between a strategy and an exchange. Every claim about the platform links to the documentation that specifies it.
See these ideas running
The platform implements the workflow described here: strategies expressed as rules, backtested against historical data, paper traded, then executed through authorized broker APIs under platform-level risk controls.
Related reading
Where a Technology Vendor Sits in the SEBI Algorithmic Trading Framework
Who registers the algorithm, whose static IP it is, and who carries the liability, answered from the circulars, with every reference attached.
What a Five-Year Order Audit Trail Has to Contain
The retention obligation, the fields an inspection actually asks for, and why "comprehensive logging" is not an answer to the question.
The Architecture of an Automated Trading System
The six subsystems between a strategy definition and a filled order, what each is responsible for, and where the hard failure modes live.