Static IP for Alice Blue ANT API
ANT API sessions should leave from one registered IP. A dedicated Mumbai IPv4 avoids ANT blocking a laptop that moved from office fibre to home broadband.
Alice Blue API facts
- API: ANT API
- Portal: Alice Blue ANT / developer console
- Whitelist: ANT app → IP whitelist
- IPv4: yes
- IPv6: confirm in portal
- Max IPs: Confirm in ANT console
- Protocols: HTTP proxy, REST, WebSocket
- Last verified: 2026-09-22
How to whitelist a static IP
- Allocate Algo-IP IPv4.
- Save it on the ANT app IP whitelist.
- Force HTTP proxy 443 for ANT REST and websocket helpers.
Python / proxy hint
Set proxy env vars before starting the ANT session.
Common errors
ANT login works, orders fail
Login used the proxy; a second thread opened a direct socket. One process-wide proxy setting is safer.
Related guide: broker-ip-address-whitelisting-india. Also see dedicated IPv4, trading proxy and all brokers.
Other broker setups
- Static IP for Zerodha Kite API
- Angel One SmartAPI Static IP
- Dhan API Static IP
- Fyers API Static IP
- Upstox API Static IP
- Static IP for Groww API
- Static IP for 5Paisa API
- Static IP for Shoonya (Finvasia) API
- Static IP for Kotak Neo API
- Static IP for mStock (Mirae) API
- Static IP for Goodwill API
- Static IP for ICICI Direct Breeze API
- Static IP for HDFC Sky API