Also, there is an IP whitelisting feature that lets you fortify your account security even more!
Do you execute your 3Commas bot strategies using our public API? Now you can add an additional layer of account security by whitelisting one or more IP addresses. It has a similar benefit to IP whitelisting your API keys on an exchange (a feature we offer for almost every exchange 3Commas works with). 3Commas won’t recognize commands for your account given via API if they don’t come from one of the IP addresses you’ve added to your approved whitelist.
How to create API token with IP whitelisting?
1. Open the page to create new 3Commas API keys and choose the type of the token
In this article, we will use System generated type (which we do not recommend).
To learn more about the recommended and more secure "Self generated" type of token, please head to this article:
2. Name this API access token
3. Add Trusted IPs
It is mandatory to whitelist all the IP addresses which you use your API keys with.
IP address/addresses should be entered only from those machines/servers that will send the requests to 3Commas.
Add as many addresses as you need dividing with a comma. To avoid any possible errors, please enter all IP addresses you might send the requests from.
Also, you can enter the mask if you operate from several servers, clusters, subnets, etc. The maximum is 16 for IPV4 and 128 for IPV6.
4. Enable any permissions needed for your purpose
5. Click Create
It's active if all fields are filled.
6. Enter 2FA code
That's it! Now you have added extra security to your API token and nobody else but you will have access to your trading on 3Commas!