How to create and set up OKX API key

Connect your OKX account to Bitsgap. We'll show you exactly how to create and even setup an OKX API key to get started properly.

Updated over a week ago

In this article, we will show you how to create, configure, and connect your OKX API key to the Bitsgap platform.

Bitsgap is a trading platform that allows you to work with numerous cryptocurrency exchanges from a unified interface with access to additional tools unavailable on the exchange.

All trading operations are created and processed using an exchange API key unique to every user. An API key is a safe and reliable way to use a platform because it does not give access to personal data and prevents any funds management (withdrawals & deposits).

📘 Types of creating API keys

Currently, there are two options to create OKX API keys:

💫 OKX Fast API

OKX Fast API is the OKX API subsystem that uses the OAuth 2.0 protocol for user authentication and authorization. It helps to quickly authorize specific account permissions, create API keys, and automatically connect them to Bitsgap. It allows you to start using Bitsgap services without manually creating API keys. This system is secure since all generated API keys are transferred to Bitsgap in encrypted form. To set up an API key, please, follow the next steps:

Log in to your Bitsgap account, go to the My Exchanges page, and click the [Add new exchange] button to continue.

2. Select OKX from the list and choose Fast Connect

Read through the further steps and then click [Connect].

3. Authorize the permissions

You will be forwarded to the OKX website, where you will see the account permissions requested by us.

📑 Note: The requested permissions don't give access to your account or don't transfer any personal or credential information.

To connect your OKX account to Bitsgap, please enter your OKX account credentials and click the [Log in] button.

4. Connection check

After successful authorization and API creation, you will be automatically redirected to the My exchanges page on Bitsgap. The API key will be created and added automatically.

If everything is done correctly, you will see OKX added to the list of your connected exchanges with the Connected status and the trading balance available on your account.

🖐️ Manual connection of OKX API keys

1. Log in to the OKX

Log in to your OKX account or create a new one.

2. Go to the API page

Navigate to the API page from your account settings (top-right corner).

3. Create a V5 API Key

Click [Create V5 API Key] to proceed.

4. Select the purpose for creating the API key

To create an API key for Bitsgap, click on the [Binding third-party apps] button in the Purpose section and choose Bitsgap from the list of App names.

5. Label your API key and match permissions

Give your API key any name (it is your personal choice), so you can easily understand that this key is connected to your Bitsgap account.

❗ Please note that you will need to create a Passphrase at this stage. This password is individual for each API key. Save it somewhere safe because we will need it a little bit later.

Edit your permissions as in the example below. These permissions will allow us to read your history, current balance and execute trades on your exchange account.

Here is the list of required permissions:

  • Read - on

  • Trade - on

Insert all the codes for the security verification, and proceed by clicking the [Confirm] button.

6. Copy your API key and Secret key

Now your OKX trading key is successfully created and ready to be connected to our platform! Please copy your API and Secret keys somewhere safe before adding them to Bitsgap.

Log in to your Bitsgap account and go to the My Exchanges page, where you can find an option to connect your OKX account. Click [Add new exchange].

8. Select the OKX exchange and enter your API info

From the pop-up window, you need to select OKX. In the Manual Connect window, you can paste your API key, Secret key, and Passphrase. Then click [Connect].

9. Connection check

If everything is done correctly, you will see OKX added to the list of your connected exchanges with the Connected status and the trading balance available on your account.

Get stuck? Ask your question to our community on Telegram!

Did this answer your question?