1.4.5 OKX API Binding Tutorial
Last updated
Last updated
For security reasons, the API secret will be displayed only 1 time. After closing the window, the API will not be available. Make sure to save the key in a safe place.
❗️❗️For a correct API binding we recommend to use the web-version of the exchange, not the app❗️❗️
First you need to download the BingX app or visit the official website of the exchange: https://www.okx.com/
If you are already a registered user, then log in to your existing account on the exchange. If you don't have an account, you'll need to register first and pass KYC.
After successfully logging in or registering, press on the account icon in the upper right corner.
From the drop-down menu, select "API".
Press on the "Create APIs" button.
In the "API name" field enter the name of your API key.
In the "Purpose" field choose "API trading".
Then open the HASH7 app. It the upper left corner press "Exchange".
Select the OKX exchange and copy the IP-addresses.
Paste the copied IP-addresses in the "IP address allowist" field.
In the "Permissions" section select "Trade".
In the next section “Passphrase” specify your secret phrase and save it to a safe place.
This section is required to view information and access the API. Keep it safe and create a new API key in case the passphrase is lost. The passphrase must include uppercase and lowercase letters and be 8-32 characters long. Spaces and special characters are not supported.
Press on "Submit all".
To save the changes press on "Security verification".
In the pop-up window press on "Show info".
Next copy the API key and the secret key to a safe place.
Paste the copied keys into the corresponding fields in the Hash7 app and enter your secret phrase. To complete the process, click on the "Connect" button.