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
Open the OKX API page
Sign in to OKX and open okx.com/account/my-api.
- 2
Edit the key
Select the key you made for Nyria.
- 3
Link an IP address
Enter 116.202.227.157 in the IP field.
- 4
Save the key
Confirm the change with OKX.
- 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
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Alert tester.
Guides
TradingView webhook IP addresses
The four addresses TradingView lists for webhooks, the port and timeout limits, and when an allowlist matters.
Read guideWhy does Nyria say Binance blocked its IP address?
Add Nyria's IP address, 116.202.227.157, to the Binance key's trusted list.
Read guideWhy does Nyria say OKX rejected this key?
Copy the OKX key and secret again and paste them in. A demo key only works for paper.
Read guideWhy does Nyria say the OKX passphrase is wrong?
Paste the passphrase you set. If it's lost, create a new OKX key.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.