how to create API keys
How to connect Gate to 3Commas.
Updated over a week ago

Please, watch our video tutorial or follow the steps below:

Here is the tutorial in words:

1. Go to

Log in or create a new account at

Hover over the profile icon on the top right corner and go to the API Management page:

3. Click on the Create API Key button

4. Name your API keys

When you have multiple APIs, a proper name helps to manage it.

5. Add IP whitelist

Enable Bind IP and input these IP addresses at once, separated by the comma:,,,,

6. Choose API v4 Key and a Classic Account type

7. Select Permissions

Please select the following permissions:

  • [Spot/Margin Trade] -> [Read And Write] - it allows trading Spot and Margin on 3Commas.

  • [Perpetual Contract] -> [Read And Write] - this will allow trading Futures.
    If you have an existing API Key without this enabled and you want to trade Futures, you must edit this API key or create a new key with the feature enabled before you can trade futures. Your Contract Account must have USDT to trade USDT-Perpetual Futures or BTC to trade BTC-Perpetual futures.

  • [Wallet] -> [Read And Write] - this is necessary to display the balances correctly.

And click on the Submit button.

8. Carefully read the Risk Reminder, tick both paragraphs, and click I Accept

9. Enter Fund Password, choose 2FA Authentication method and enter its code

10. There you go! Now you have created API keys for your exchange!

11. Copy and Paste the API Key and Secret to 3Commas

Follow this guide to complete linking the exchange:


If you intend to trade Futures with, please ensure you have a little BTC and/or USDT transferred to the respective BTC Perpetual and USDT Perpetual wallets before you link to 3Commas, or you may see this error message:

Before adding the API key to 3Commas, you will need to Transfer some BTC and USDT to your Perpetual Futures Account, and only then will allow you to add Perpetual accounts to 3Commas as well.

If BTC and/or USDT are added to your Futures Account, then not only " Spot", but also those choices will be active for adding to 3Commas as well:

  • Futures BTC Perpetual

  • Futures USDT Perpetual

Did this answer your question?