All guides

How to create a OKX API key

Create an OKX API key with Read and Trade only, locked to Follow's IP address.

What Follow needs

  • Read: on
  • Trade: on
  • Withdraw: off
  • IP address: Follow's IP
  • A passphrase you choose

Follow's IP address is shown on the page where you link the account. Copy it from there.

Steps

  1. 1

    Open Profile → API and click Create API key.

  2. 2

    Choose API trading (not a third-party app) and give the key a name such as Follow.

  3. 3

    Add Follow's IP address. OKX lets a trading key without an IP address expire after 14 days without use.

  4. 4

    Tick Read and Trade. Do not tick Withdraw.

  5. 5

    Set a passphrase and write it down. OKX cannot show it again; a lost passphrase means a new key.

  6. 6

    Confirm with your verification codes, then copy the API key and the Secret key.

  7. 7

    In Follow, paste the API key, the Secret key and the passphrase.

Checked against OKX's help pages on 20 November 2026. Exchanges rename buttons now and then: if a label differs, pick the closest one.

New strategy

Pick how to start. Nothing uses a strategy slot until you save it.