Skip to main content
OKX API Guide

The League of Traders guide on how to issue an API key through OKX.

Updated over 9 months ago

💡 * If you haven't already created an OKX account, use our referral link to claim a Mystery Box worth up to $10,000.

  1. Log in to your OKX account and click on the profile icon to reveal a drop-down menu. Select API.

  2. In the top right corner, click on + Create V3 API Key, or the + button if you are accessing from a mobile device.

  3. Fill in the following settings and permissions:

  • Purpose - Select “API trading”.

  • API name - Customize the name of your API key, it will only be visible to you. ****

  • Passphrase - Set a password for your API key. Make sure to keep this stored somewhere safe.

  • IP address - Copy/paste the following IP address:

    3.34.82.171,13.124.238.107,13.124.81.58,13.125.104.68,13.209.34.187,15.165.122.157,15.165.192.190,15.165.212.153,3.34.12.185,3.34.63.171,3.35.144.158,3.36.236.219,3.37.212.151,3.39.20.28,3.39.217.165,3.39.58.9,43.200.144.160,43.200.58.136,43.201.91.87,52.78.42.179

    • Entering this IP address provides an extra layer of security to your account by solely allowing League of Traders access to your API key.

    • IMPORTANT: If you are subscribed to League of Traders PRO, you must instead input your dedicated PRO IP provided on the API page.

  • Permissions - Read - Selected by default.

  • Click Confirm to generate your API Key.

4. Copy the API Key and Secret Key, store this information somewhere safe.

Note: The secret key will not appear again, so please be mindful. You could permanently lose access to your API key if you lose these codes.


Connecting your API key to League of Traders

Once you have successfully created your API key, connect it to your League of Traders account.

  1. Go to the League of Traders app and select API from your profile page.

  2. On the API page, click + Add to link a new API key.

  3. Select OKX from the list of available exchanges.

  4. Enter your API key information and click Register.

  5. You will now see that your key was successfully added to your League of Traders account.

    Well done! Your exchange is now connected and you’ll be able to see your portfolio on League of Traders. For additional guidance, consult our FAQ!

    If you have any questions, please contact [email protected]

  6. Thank you!

Did this answer your question?