All Collections
Connect Exchange & API Issues
How to connect to OKX with API Keys?
How to connect to OKX with API Keys?

Learn how to create and configure OKX API keys for your Cryptohopper trading bot, plus troubleshooting tips.

Pete Darby avatar
Written by Pete Darby
Updated over a week ago

Step by step explanation how to create API Keys for OKX:

To get subtitles in your language on YouTube, click the Settings button on YouTube.

  1. To get started, head over to the OKX exchange website. If you already have an account, simply log in. If not, create a new one.

  2. Once you're logged in, navigate to your profile in the upper right-hand corner. Then, select "API" and click on “Create APIs”.

  3. Give your API key a memorable name. Select the account you want to trade with, and whitelist the IP addresses shown on Cryptohopper.

  4. Add the “Trade” permission, determine your passphrase, and click on “Submit All.” Enter your two-factor authentication details and click on “Confirm.”

  5. Click on “Show Info” and copy and paste the API keys and passphrase into Cryptohopper. Now, continue with creating your trading bot.

Unable to see your OKX exchange balance?

If you are unable to see your OKX exchange balance, there may be a few issues preventing your trading bot from synchronizing with your exchange. One common cause is "auto-fill" being enabled in your browser. To fix this, try disabling auto-fill, using incognito mode, switching to a different browser, or disabling your password manager. For more information, you can watch our Cryptohopper Academy video on this subject or check our troubleshooting article.

You might encounter an error in Cryptohopper's onboarding process when connecting to OKX, even if your API Keys are correct. The most common reasons include having no funds in your exchange account, having no funds in your trading account (as some crypto exchanges differentiate between funding and trading accounts), or not being a verified exchange user (KYC). In this case, please click on 'Continue without testing'. You can always check your API Keys later in your Base config.

Did this answer your question?