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
- Published: 2026-09-22
- Last verified: 2026-09-27
- Next review: 2026-12-27
- Verification source: Official developer portal Alice Blue ANT / developer console. IPv6 and max-IP limits are marked “confirm in portal” until we re-check the live form.
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.
IPv6 is ₹99/month only when an IPv4 VPS already has a free IPv6 and this broker’s form accepts an IPv6 literal. IPv4 is ₹199/month on a 12-month term.
Related guide: broker-ip-address-whitelisting-india. Also see dedicated IPv4, trading proxy, broker setup wizard and all brokers.
Other broker setups