Skip to content

Guide

Why does Nyria say OKX blocked its IP address?

Nyria shows OKX blocked Nyria's IP when the key doesn't list its address. Link Nyria's IP address, 116.202.227.157, to the key, then try again. OKX also expires a trading key with no IP after 14 days without use.

Official documentation

Fix the OKX IP error

  1. 1

    Open the OKX API page

    Sign in to OKX and open okx.com/account/my-api.

  2. 2

    Edit the key

    Select the key you made for Nyria.

  3. 3

    Link an IP address

    Enter 116.202.227.157 in the IP field.

  4. 4

    Save the key

    Confirm the change with OKX.

  5. 5

    Connect again

    Paste the key, secret and passphrase and select Connect OKX.

What the message means

  • OKX refused a request from an unlisted address.
  • Nyria's requests come from one IP.
  • The key must name that IP.
  • Nothing connected.
  • No order was placed.

Why link an IP

  • It ties the key to Nyria's address.
  • A key with no IP can expire.
  • OKX expires a trading key with no IP after 14 days without use.
  • Linking one keeps the key steady.

Permissions to set

  • Turn on Read and Trade.
  • Leave Withdraw off.
  • Nyria never needs to move funds out.
  • Keep the passphrase you set.

Check the entry

  • Use 116.202.227.157 exactly.
  • Leave out spaces.
  • Save the key after editing.
  • Then retry the connection.

Still stuck

  • Copy the key and secret again.
  • Check the passphrase.
  • Make a new key if needed.
  • Try a bot on Nyria Paper first.

Questions

What IP address does Nyria use?
116.202.227.157, as listed in the OKX docs page.
Do I have to link an IP?
Yes. OKX blocks the request otherwise.
What if I add no IP?
OKX expires a trading key after 14 days without use.
Should withdrawals be on?
No. Leave Withdraw off.
Does Nyria trade OKX futures?
No. OKX on Nyria is spot only.
Can I test first?
Yes, on Nyria Paper.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.