The entire process of enabling an OKX Futures account and creating API keys is described in this video:

Here is a classic description with words for those that prefer to read! :) Let's go!

Enable Futures trading first

Before we start with the API keys, let's activate Futures trading on OKX!
(if you don't need it, please skip down right to API keys creation tutorial)

Go to OKX

Log in or create a new account at https://www.okx.com.

Go to Contracts & margin trading page

Update for trading

From the Contracts & margin trading page, click on the Upgrade for trading button:

If it's already Updated, then click on the Settings (⚙️) button on the top:

Choose the level of Futures trading according to your trading proficiency and experience

Confirm the selection

That's it! Now you can create API keys to connect OKX Spot and Futures accounts to 3Commas!

Create API keys

Follow to API

Hover over the profile icon on the top right corner, and click on API button:

You must enable 2FA to add API keys. If you see this message, please follow OKX's instructions:

Click "Create v5 API"

Name your key

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

Enter passphrase

It's a password for the API key. Note it as you can't add API to 3Commas without it.

Please choose "3Commas" from the App Name list:

Check the "Trade" permission:

Enter 2FA code/-s then click "Confirm":

Here are your created API keys:

DONE! Now you have API keys ready to connect both Spot and Futures OKX accounts to 3Commas!

Now please follow the steps from the article below:
Connect an exchange using API keys.

❗And please don't forget to choose OKX Futures type of account while confirming the connection:

That's it!

P.S. If you have any issues, please check possible ways to fix them.

Did this answer your question?