1.3.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.
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.
Open the OKX app and tap on the menu icon in the upper left corner.
By scrolling a little down select "API".
Press on the "Create API key" 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 "Done" button.