Static IP for Angel One SmartAPI
SmartAPI ties your API key to a registered origin IP. Shared VPNs and daily office IPs fail that check. Use one dedicated IPv4 and send every SmartAPI call through it.
Angel One API facts
- API: SmartAPI
- Portal: smartapi.angelone.in
- Whitelist: App settings → IP restriction
- IPv4: yes
- IPv6: confirm in portal
- Max IPs: Confirm in SmartAPI app settings
- Protocols: HTTP proxy, REST, SmartAPI WebSocket
- Last verified: 2026-09-22
How to whitelist a static IP
- Allocate an Algo-IP IPv4 after KYC.
- In smartapi.angelone.in open your app → IP restriction and save the IPv4.
- Configure HTTP proxy port 443 in your SmartAPI Python or Node client.
- Generate the session token only after the proxy is on — the login call is also origin-checked.
Python / proxy hint
Pass proxies={"https": "http://USER:PASS@HOST:443"} into the SmartAPI session.
Common errors
SmartAPI IP not whitelisted
Token or order left from the machine IP. Enable the proxy before login, not only before orders.
SmartAPI 403
Wrong IP saved, IPv6 plan used on an IPv4-only field, or WebSocket bypassed the proxy.
Related guide: angel-one-smartapi-ip-whitelisting-guide. Also see dedicated IPv4, trading proxy and all brokers.
Other broker setups
- Static IP for Zerodha Kite API
- 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 Alice Blue ANT 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