Login to your OKX account, hover over your profile icon on the top right, and select API from the dropdown list.
Then, click on the Create V5 API Key button.
NOTE: when creating an API Key, the button "Create V5 API Key" marked with a red rectangle in the screenshot above can be unavailable; instead, there can be just a " + " button.
Don't let that confuse you, click on " + " an error message "API trading is not available yet, coming soon" will be shown, go back to the previous page, and the "Create V5 API Key" will appear, click on it and continue setting up API Key.
Now, create an API name and a Passphrase. Tick Read box in the permissions and click on Get Code in the Email code box. You will receive a code to your email address; please enter it in the respective box. And for the last step, please enter the 2FA code from your authenticator app.
Note: make sure to save your Passphrase in a secure place, as you will need it to see your key details.
After you click on the Confirm button, a window will pop up to see the API key, API name, and the Secret key.
Once you click on the Confirm button, it will take you to your API page. Click on the View under the Action column to see the key details. Input the Passphrase and 2FA code/Google Authenticator code once again. It will show your API key and Secret Key.
Please note that when connecting the OKX exchange to the app via OAuth, you will need to grant permission to the "All Accounts" box.
Now go to your CoinStats account and follow the steps below.
WEB
Click on the Portfolio icon in the upper right corner and tap Connect Portfolio.
Search for OKX.
Copy and paste your API key, Secret key, and Passphrase. Then click on Connect button.
MOBILE
Open the app ton the mobile app and choose the Portfolio tab
Tap Portfolio icon in the right corner of the screen and click on Add New Portfolio button
Tap Add New Portoflio
Select Connect Other
Now search for the OKX
Paste your API Key, API Secret, and Passphrase. After clicking Submit, you will see your OKX portfolio synced with the CoinStats app.
Refer to our support at support@coinstats.app in case of further questions. Enjoy! 🧡
What's Next?