Generate an API key
Generate an API key on OKX
When you link an OKX account to your Exchange Wallet, you will need to provide an API key, an API secret, and a passphrase. Besides, you also need to include Cobo in the IP whitelist and assign specific permissions to the key.
This article explains how to generate an API key on OKX, including adding Cobo to the IP whitelist and setting permissions.
The content is subject to changes on OKX. For more details, refer to Generating an API Key.
- Log in to your OKX account.
- Navigate to Exchange > My Account > APIs.
- Click + Create APIs to open a Create APIs page.
- Enter an API name in the field.
- In the Account section, select the OKX account for which you create the API key.
- In the Purpose section, select API trading.
- In the IP address allowlist field, enter Cobo’s IP address
18.177.234.7
and18.180.16.190
. - Select the following Permissions:
- Read
- Withdraw
- Trade
- Enter a Passphrase in the field.
- Click Confirm to generate the API key.
You have now generated and set up an API Key. You can go to Cobo Portal to link your OKX account with the API key, API secret, and passphrase. To learn how to link your account, see Set up Exchange Wallets.
Did you find this document helpful? Please submit feedback to share your thoughts with us.