How to Create and Set Up an OKX API Key

·

In this guide, we'll walk you through the process of creating, configuring, and connecting your OKX API key with the trading platform Bitsgap.

👉 Discover seamless crypto trading

Bitsgap is a unified trading platform that allows you to manage multiple cryptocurrency exchanges from a single interface, providing access to additional tools not available on individual exchanges. All trading activities are executed using a unique API key, ensuring security and efficiency.

Types of API Key Creation

Currently, there are two methods to create an OKX API key:

  1. OKX Fast API Connection
  2. Manual Creation and Connection

OKX Fast API

The OKX Fast API is a subsystem of the OKX API that uses the OAuth 2.0 protocol for user authentication and authorization. This system quickly grants specific account permissions, generates API keys, and automatically connects them to Bitsgap. It allows you to start using Bitsgap services without manual API key creation.

Step-by-Step Setup

  1. Navigate to Bitsgap > My Exchanges

    • Log in to your Bitsgap account and go to the My Exchanges page. Click [Add New Exchange].
  2. Select OKX and Choose Quick Connect

    • Choose OKX from the list and select Quick Connect. Review the steps and click [Connect].
  3. Grant Permissions

    • You'll be redirected to the OKX website, where you'll see the requested permissions. Enter your OKX login credentials and click [Login].
  4. Verify Connection

    • After successful authorization, you'll be redirected back to Bitsgap. The API key will be added automatically, and OKX will appear in your connected exchanges list with a Connected status.

Manual API Key Connection

Step-by-Step Setup

  1. Log in to OKX

    • Sign in to your OKX account or create a new one.
  2. Go to the API Keys Page

    • Navigate to the API Keys section from your account settings.
  3. Create an API V5 Key

    • Click [Apply for API V5] to proceed.
  4. Select API Key Purpose

    • Choose Link Third-Party Applications and select Bitsgap from the list.
  5. Label and Set Permissions

    • Assign a name to your API key for easy identification. Create a Passphrase (unique to each API key) and save it securely.
    • Enable the following permissions:

      • Read: On
      • Trade: On
    • Click [Confirm].
  6. Copy Your API and Secret Keys

    • Save the API Key and Secret Key in a secure location before adding them to Bitsgap.
  7. Navigate to Bitsgap > My Exchanges

    • Log in to Bitsgap and go to My Exchanges. Click [Add New Exchange].
  8. Select OKX and Enter API Details

    • Choose OKX and paste the API Key, Secret Key, and Passphrase in the Manual Connection window. Click [Connect].
  9. Verify Connection

    • OKX will appear in your connected exchanges list with a Connected status.

👉 Start trading with OKX today

FAQ

Q: Is the OKX Fast API secure?
A: Yes, all API keys generated are encrypted and transferred securely to Bitsgap.

Q: Can I withdraw funds using the API key?
A: No, the API key only permits trading activities and does not allow fund withdrawals.

Q: What if I lose my Passphrase?
A: You’ll need to create a new API key, as the Passphrase cannot be recovered.

Q: How do I update my API permissions?
A: Log in to OKX, navigate to the API Keys section, and edit the permissions for your existing key.

Q: Can I connect multiple exchanges to Bitsgap?
A: Yes, Bitsgap supports multiple exchange connections under one account.

Q: Where can I get help if I encounter issues?
A: Reach out to the Bitsgap community on Telegram for assistance.