Skip to main content

How to Create OKX API Keys for Cryptobots.io

Learn how to generate OKX API keys and securely connect your OKX account to Cryptobots.io. This step-by-step guide covers permissions and security.

Updated over a week ago
How to Create OKX API Keys for Cryptobots.io

This guide provides a step-by-step process for creating OKX API keys and connecting your OKX account to Cryptobots.io. By following these instructions, you will enable secure automated trading through our platform.

1. Accessing OKX API Management

To begin, open your preferred web browser and navigate to the official OKX website: www.okx.com. Once the page loads, enter your registered credentials to log in to your exchange account.

After successfully logging in, locate and click on your profile icon. From the dropdown menu, select [API] to navigate to the API management section.

OKX profile icon dropdown menu showing the API option

2. Creating Your New API Key

On the API management page, click the [Create API] button to initiate the API key creation process.

Important Prerequisites: Before you can create an API key, ensure you have:

  • Enabled two-factor authentication (2FA) on your account.

  • Verified your identity through the OKX verification process.

OKX API management page with the Create API button highlighted

Next, you will need to provide a name or label for your new API key. This helps you identify its purpose later. For connecting with Cryptobots.io, you might use a descriptive name like 'Cryptobots'.

OKX API key creation form with a field for API name, showing 'Cryptobots' as an example

Choose the specific account (main or sub-account) where you want to create the API key. This selection determines which funds and trading activities the API key will have access to.

OKX API key creation form showing account selection for main and sub-accounts

3. Configuring API Permissions and Passphrase

Within the API key settings, select the option for "Linking third-party apps". From the available list, choose "3Commas". Cryptobots.io proudly uses 3Commas as its trade-execution layer provider.

OKX API key creation form showing 'Linking third-party apps' selected with '3Commas' chosen

For Cryptobots.io to function correctly, you must select the "Trade" permission. This grants the necessary authorization for our system to execute trades on your behalf. Ensure no other permissions like "Withdraw" are selected for security reasons.

OKX API key creation form showing 'Trade' permission selected

Enter a unique "passphrase" for your API key. This acts as a password for the API key itself. You can use a memorable phrase like "cryptobots". Our system will require this passphrase, along with your API key and secret key, to securely connect to your account and execute trades.

OKX API key creation form with a field for 'passphrase', showing 'cryptobots' as an example

4. Finalizing and Retrieving Your API Keys

Once all settings are configured, click on the "Submit all" button to finalize the API key creation.

OKX API key creation form with the 'Submit all' button highlighted

You will then be prompted to complete security verification. This typically involves:

  1. Entering an email authentication code sent to your registered email address.

  2. Entering your 2FA code from your authenticator app.

OKX security verification page requiring email authentication code and 2FA code

After successful verification, your API keys will be generated. Click on "Show info" to reveal your API Key and Secret Key. These are critical credentials, so keep them secure.

OKX API list page showing a newly created API key with a 'Show info' button

5. Connecting Your OKX API Keys to Cryptobots.io

Now that you have your API Key, Secret Key, and Passphrase, log in to your Cryptobots.io account. Navigate to the section where you can connect an exchange. Enter your API Key and Secret Key into the designated fields. You can simply copy and paste them from OKX.

Cryptobots.io platform interface showing fields to enter API Key and Secret Key

Cryptobots.io platform interface showing entered API Key and Secret Key with a 'Connect' button

Congratulations! You have successfully created and submitted your OKX API keys to Cryptobots.io. Please allow 24 hours for the automated trading system to initialize and begin functioning.

Next Steps

Now that your OKX API keys are connected, you might want to:

Related Articles

Still Need Help?

If you encounter any issues during the API key creation or connection process, please contact our support team for assistance.

Did this answer your question?