Go to OKEx

Log in or create a new account on https://www.okex.com.

Follow to API 

Hover the profile icon on the top right corner, click "API."

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

Click "Apply for v3 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.

Check "Trade" 

Enter 2FA code then click "Confirm" 

Don't change other settings.

Click "View"

Enter passphrase and 2FA, then click "Confirm"

Add OKEx to 3Commas

How to connect OKEx to 3Commas

  1. Go to My Exchanges In the left website menu

Connecting the exchange API

Select the exchange you want to connect

3Commas supports many different exchanges, but not all features are supported for every exchange. Check available exchanges.
If you don't see the exchange name from the drop-down box, we don't currently support it but please request it using the "Add another exchange" button.

Choose a name

Make it clear so you can recognize the exchange account.
As you can link many exchanges to 3Commas, it can be easy to get confused which account you want to create a trade for, a good name will make it easier for you!
3Commas uses this name everywhere; on the trading terminal, bots, statistics, and history.

Enter the API Key and API Secret

It is easiest to have 2 browser windows open, so you can copy and paste the API Key and Secret. Please don't link the same API more than once as this will confuse you when you are trading, it will also show you have more funds available than is actually the case! Here's how to create an API on your exchange.

Passphrase (optional, depending on the exchange)

Don't see it on the form? Then your exchange doesn't require it, so you can skip this section.

You create the passphrase whenever you make a new API. It's not your login password nor trading password. It's unique for every API key.
Check articles to find more.

Customer ID (optional, depending on the exchange)

Don't see it? Skip this too.

It refers to your account on the exchange.
Check articles to find more.


Once all the boxes are filled in, then click the "Connect an exchange" button.
You'll see the exchange statistics page when it connects.

If you see an error stating "Please wait 30 seconds and try again" - this is usually because some exchanges take a few minutes to activate the API key - don't worry, just leave this screen open for now and then click the "Connect an exchange" button again later. You can open another browser window and continue surfing while you wait.

Have any issues? Check possible ways to fix.

Did this answer your question?