Static IP based API keys now live - Old flow still supported temporarily
-
Hello SmartAPI Users,
We are excited to announce that the static IP implementation is now live in accordance with SEBI’s circular on the “Safer Participation of Retail Users in Algorithmic Trading,” .
For now, both types of API keys — with static IP and without static IP — will continue to work. However, all users are expected to migrate to the new static IP-based API key as soon as possible.
In this new setup:
- Orders must be placed only from the IP address you have whitelisted with Angel One.
- For APIs other than Orders & GTT, using a static IP is not mandatory.
How to create a Static IP based API key:
- Visit smartapi.angelone.in and select “New Login”.
- Create a new API key by filling in the required details.
- Update your code to use this newly generated API key.
Important Notes:
- Order requests are now capped at 9 orders per second for both old and new API keys.
- To edit or stop using an old API key, use login (not new login) from smartapi.angelone.in
- All users will be logged out daily at 12 midnight for both old and new API keys.
- Only IPV4 static IP is supported for now, we will support IPV6 Static IPs in the near future.
Regards,
SmartAPI Team -
-
@admin Thanks. Helps a lot. Since we have time, migration to a new API key will be easier now.
-
Can family members use same static IP? I have seen other brokers mentioning about it.
-
@admin Where to get the oauth documentation?
-
@openalgo OAuth will be live soon. Will keep everyone updated of the same.
-
@stanly_thomas As of now, static IP cannot be shared within the family members. We will get the feature live soon.
-
Hello SmartAPI Team,
Thank you for the update on the new static IP implementation. I have a question regarding how this applies to my specific use case.
I operate an algorithmic trading platform that serves 50 different clients. All orders for these individual client accounts are executed from our central server, which has a single static IP address.
My question is: After I whitelist our server's single static IP, will I be able to successfully place orders for all 50 of my clients using their respective API keys? I am concerned because the orders for many different accounts will originate from the same IP address.
Could you please clarify if your system supports this "one-to-many" model (one whitelisted IP placing orders for multiple client accounts)?
-
@sachin0521 Since you are an algo provider, as per guidelines of SEBI, you need to empanel with exchanges. Once you are empanelled, you can get into a commercial agreement with brokers.
The static IP flow here is for the tech savvy clients who are making their own algos by coding and using smartAPI to trade.