OKX - API Import Guide
Go to the exchange to create the API and set permissions. Connect to the exchange through the API, Your trading capital is held on the exchange.
Please follow the instructions in the pictures below:
Step 1: Generate Your API key
1.1 Sign into your OKx account with app and click on [User Icon] in the top left corner on [OKX] page. As follows:
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252Fs9Uj0haHVqJnC7ExBQTF%252F1.jpg%3Falt%3Dmedia%26token%3De488cb89-c895-4f15-9000-5a7963d4a38c&width=768&dpr=4&quality=100&sign=24e8db2e&sv=1)
1.2 After entering this page, slide to the bottom, Click on the [API]. As follows:
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252FfWSMCgxeGi3wStZDUk1N%252F2.jpg%3Falt%3Dmedia%26token%3Df8156b0e-ffc7-4e13-a7be-71b58c372794&width=768&dpr=4&quality=100&sign=292ff010&sv=1)
1.3 Click on [Create API Key]. As follows:
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252FqnIVD9uYbSzYIHq8hTyz%252F3.jpg%3Falt%3Dmedia%26token%3Da2079b3e-c2ff-47fe-9819-95a049614959&width=768&dpr=4&quality=100&sign=6499bc0b&sv=1)
Step 2: Configure the API permissions.
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252FBzW4d0q0Gkg25gEO6c6q%252F4.jpg%3Falt%3Dmedia%26token%3Db6e32a5b-cb53-403f-b87a-b54e6058a2db&width=768&dpr=4&quality=100&sign=56dd00a&sv=1)
IP group of the uTrading server:
13.213.132.125,13.251.83.60,18.139.102.94,3.1.7.213,46.137.215.117,52.220.111.151,52.220.117.151,52.220.31.227,52.77.45.93,54.169.15.234
Please copy and paste all the above IPs at once.
2.1 Give a name to your API Key, and set a Passphrase. Make sure to remember that Passphrase, as you will need to use it again in a few moments.
2.2 uTrading needs the [Read] and [Trade] function to be able to trading from OKEx.
2.3 Click on Confirm, then click on [View] to see your API Key and API Secret.
Step 3: Linking Your API Key with uTrading.
3.1 Open the uTrading APP, go to the [Home] page, and then click [API Binding]. As follows:
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252F8eNed17uHmYHnDM7cZ42%252F8.jpg%3Falt%3Dmedia%26token%3D0cf2d48d-78b0-4ebe-a7ab-40351ba18382&width=768&dpr=4&quality=100&sign=3215572c&sv=1)
3.2 Enter the [API Binding] page, and then click [OKX]. As follow:
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252Fnk2SmVBdlEyvLmAg908g%252FHow%2520to%2520Create%2520OKX%2520API%2520Key-6.jpg%3Falt%3Dmedia%26token%3D2c6120e0-0d8c-4a8d-bcb7-113ad927a6c7&width=768&dpr=4&quality=100&sign=1d95b465&sv=1)
3.3 Open the API import page, paste the [API Key] and [Secret Key] from the OKX into uTrading, click [Import] after filled. As follow:
![](https://help.utrading.io/~gitbook/image?url=https%3A%2F%2F2235159847-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FgTaR88gN1nbfnMB7d1tU%252Fuploads%252FIY7gGQ1e1M7pkSViiiWs%252FHow%2520to%2520Create%2520OKX%2520API%2520Key-7.jpg%3Falt%3Dmedia%26token%3D5283b62c-d6c2-44d2-a4da-cace44a1d90b&width=768&dpr=4&quality=100&sign=288e8677&sv=1)
Success! If you have successfully completed these steps, the status will show as "API is running normally".
Last updated