How to create OKX API Keys
To create OKX API keys, please follow steps as follows.
If you DO NOT have an OKX account
Then please sign up

Support us
Please provide referral code 89707490 during signup to support us.
If you already have an OKX account
Then please log in

If your account IS NOT verified
- Next you need to verify your account. Please, follow any of highlighted options below

-
fulfill the verification steps.
-
You should see "verified" badge at your profile page

Switch account mode to portfolio mode and auto-borrow
- After logging in, please go to spot trading page

- Then click the settings gear icon on the top right corner

- Then click account mode, scroll down and select Portfolio Mode

- Then switch on "auto-borrow" preference

Create API key
- Go to API keys page

- Click on "Create API Key" button

- Fill in the form as shown below:
- "API key name" is any string related to the key usage
- "IP address whitelist" should be filled with comma separated list of IP addresses as follows:
103.54.18.200,83.136.233.215,145.223.117.141 - "Permissions" should be extended to include "Trade" permission
- "Passphrase" is any string you want with OKX requirements. Please remember it as it will be needed later

- Then despite the warning, please share with our support team "API key", "Secret key" and "Passphrase"

"Copy API key info" button
You can scroll down and use "Copy API key info" button to copy all the key information at once

Telegram bot
Then go to pmpal telegram bot for further instructions.