Angel One SmartAPI: "static IP is already associated with another app"
If SmartAPI rejects your primary or secondary static IP saying it's already associated with another app, Angel One has that address mapped to a different client. Angel One allows a static IP to be mapped to only one client at a time, so a second account, even your own, can't simply reuse it.
What Angel One's rules say
From Angel One's notice on SmartAPI changes:
- A static IP can be mapped to only one client at a time.
- Family members, as SEBI defines family, can share one through a written request to Angel One.
- Each app has one primary static IP and an optional secondary IP.
- You can change the mapped IP no more than once per calendar week.
- Only IPv4 is supported for now.
Why you see the message
- You're creating an app for a second client code. A trader on Angel's SmartAPI forum describes exactly this: two of their own accounts on one server, and the second app was refused on both the primary and secondary IP fields.
- Someone else holds the address. Shared proxy pools, VPN exits and recycled cloud IPs can already be mapped to another client.
- A family member registered it first. Family sharing needs a written request to Angel One; the portal won't allow it on its own.
The same forum post notes that using account A's API key to log in to account B returns a token, but every call after that fails with AB1034, "Invalid App". An API key belongs to one client code.
How to fix it
- Family accounts: send Angel One the written request for family sharing, then register the IP once it's approved.
- Your own second account, or anyone else: give each client code its own dedicated IPv4. One server can send each account's orders through a different IP by giving each account's SmartAPI client its own proxy.
- Check the address before you save it:
curl -x http://USER:PASS@HOST:PORT https://ifconfig.co, because you can change it only once a week.
The code for sending SmartAPI calls through a proxy is on static IP for Angel One SmartAPI. Angel One needs IPv4; a dedicated IPv4 at TrueIP is ₹200 a month plus GST.
FAQs
Can I use one static IP for two of my own Angel One accounts?
Angel One maps a static IP to one client at a time, with family sharing only through a written request. For two accounts that aren't covered by that, use two IPs.
Why does login work but every call fails with AB1034?
You're using an API key created for a different client code. Each client code needs its own app and key.
Sources
- Angel One: what's changing in SmartAPI access from 1 April 2026
- SmartAPI forum: static IP based API keys now live
- SmartAPI forum: two of my own accounts, one server
Get your dedicated static IP
IPv6 ₹50 a month, IPv4 ₹200 a month, plus GST. Live in minutes, whitelisted once.