Skip to content
NyriaDocs

OKX

Connect OKX to Nyria, in Beta. Steps, key permissions and fixes for the errors people hit most.

Newly added broker. Tell support if anything looks off.

Connect OKX

Open the API page. Sign in to OKX and open okx.com/account/my-api. For paper, go to Trade, Demo Trading, Personal Center, then Demo Trading API.

Create the key. Create a new API key. Set a passphrase. OKX can't recover it.

Set permissions. Turn on Read and Trade. Leave Withdraw off.

Add Nyria's IP. Link Nyria's IP address to the key. Email contact@nyria.io for the address.

Copy the keys. Copy the API key, the secret key and the passphrase.

Add them in Nyria. Open the OKX card on Integrations. Paste all three, then select Connect OKX.

Nyria shows OKX connected. A demo key connects the demo account.

What you paste

FieldWhere to find it
API keyOKX, API page, after you create the key.
Secret keyOKX, shown with the API key.
PassphraseThe passphrase you set when you created the key.

Key permissions

Turn on:

  • Read
  • Trade

Leave off:

  • Withdraw

IP allowlist

OKX expires a trading key with no IP address after 14 days without use. Add Nyria's IP address to the key. Nyria connects from a fixed IP address. Email contact@nyria.io for the address.

  • Set your OKX account to net position mode.
  • Nyria trades USDT spot pairs and USDT perpetuals.
  • OKX isn't available in every country. Check OKX's terms for yours.

If it doesn't connect

  • OKX rejected this key. Copy the key and secret again and paste them in. A demo key only works for paper.
  • OKX says the passphrase is wrong. Paste the passphrase you set. If it's lost, create a new key.
  • OKX blocked Nyria's IP. Link Nyria's IP address to the key, then try again.

OKX's own guide

Next steps

Your edge, on autopilot.

Trading carries risk. Read the risk disclosure.

© 2026 Nyria LLC. All rights reserved.

On this page