Treo › Blog › OKX API key guide
How to create a OKX API key safely
An API key lets software trade on your OKX account without your password. Set up the right way, it can trade but can never withdraw. This takes about five minutes.
Before you start
You need a OKX account with identity verification completed and 2FA switched on. No account yet? Sign up on okx.com first.
Step 1. Open API keys
On OKX, open your profile menu and choose API keys, then Create API key, and pick API trading.
Step 2. Name it and add the IP
Name the key Treo and add this IP address: 2.29.57.164
Step 3. Set the permissions and passphrase
- Read: on
- Trade: on
- Withdraw: off
Set a passphrase and write it down, then confirm with your security code.
Step 4. Paste it into Treo
OKX shows the API Key and the Secret Key. In Treo, pick OKX and paste the API Key, the Secret Key and your passphrase. Then move the USDT you want Treo to use from Funding to Trading in OKX (Assets, then Transfer).
Mistakes to avoid
- Ticking Withdraw. Treo will refuse the key.
- Skipping the IP address. Treo will refuse the key, and OKX expires keys without one when unused.
- Leaving USDT in the Funding account, where Treo cannot trade it.
- Forgetting the passphrase. Make a new key if you lose it.
Questions
Can I delete the key later?
Yes. Delete it under API keys on OKX and Treo loses access at once. Your coins stay where they are.
Why move USDT to Trading?
OKX keeps deposits in a Funding account. Treo trades from your Trading account, so the USDT needs to be there.
Does Treo trade futures on OKX?
No. Treo trades spot only, so you own the coins it buys and there is no leverage.
Put your trading on autopilot
Sign in, connect your account with a trade only key, and watch Treo work. Free to start, no card needed.
Start free with Google