🎲Create a OKX API Key

Creating an OKX Account

If you are new to OKX and need to create an account, please refer to the official OKX New User Guide. This guide provides step-by-step instructions to help you register, verify your account, and get started with OKX.


How to Create an API Key on OKX (Web & Mobile)

Follow these steps to generate your API key on OKX:


Step 1: Log in to Your OKX Account

On Web:

  1. Go to OKX and click Log In.

  2. Enter your credentials and complete any required verification.

On Mobile:

  1. Open the OKX app and tap Sign In.

  2. Enter your login details and verify your identity if required.

If you don’t have an account, sign up and complete any necessary verification steps.


Step 2: Navigate to the API Management Page

On Web:

  1. Click Institutional in the top menu.

  2. Select APIs to access the API management page.

On Mobile:

  1. Tap the Menu Icon (☰) in the top left corner.

  2. Scroll down and select Tools.

  3. Tap on API to proceed.


Step 3: Create a New API Key

On Web:

  1. Click the "Create API Key" button.

On Mobile:

  1. Click the "Create API Key" button.


Step 4: Configure API Key Settings

On Web & Mobile:

  1. API Key Name – Enter a unique name for your API key.

  2. Purpose – Select API Trading.

  3. IP Address Allowlist (Optional) – Add the following IP address:

    • 185.123.103.20

  4. Permissions – Ensure the following are selected:

    • βœ… Read (default)

    • βœ… Trade (enable order placement and cancellations)

  5. Passphrase – Set a secure passphrase (you’ll need this for authentication).

  6. Click Submit all to finalize the setup.


Step 6: Save Your API Credentials

On Web & Mobile:

  • Once the API key is created, your API Key and Secret Key will be displayed only once.

  • Copy and securely store them, as the Secret Key cannot be retrieved again.


Security Tips

βœ… Never share your API key with anyone. βœ… Use IP whitelisting for enhanced security. βœ… Do not enable withdrawal permissions unless absolutely necessary.

Now, your OKX API key is successfully set up and ready to use! πŸš€ Let me know if you need any modifications.

Last updated