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
- Published: 2026-09-22
- Last verified: 2026-09-27
- Next review: 2026-12-27
- Verification source: Official developer portal smartapi.angelone.in. IPv6 and max-IP limits are marked “confirm in portal” until we re-check the live form.
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.
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: angel-one-smartapi-ip-whitelisting-guide. Also see dedicated IPv4, trading proxy, broker setup wizard and all brokers.
Other broker setups