How to Connect Your OKX Exchange Account with Altrady
Overview
Connecting your OKX exchange account to Altrady allows for seamless trading and portfolio management of your OKX account.
The following article will describe two straightforward methods of connecting your OKX account:
- Fast Connect, for quick and automatic setup.
- Manual Connection, for users who prefer a more hands-on approach.
See the differences below.
Fast Connect, simplifies the process by:
- Redirecting you to OKX for a secure login.
- Automatically generating, configuring and connecting the OKX API key (with the correct permissions).
- Automatically applying Altrady’s IP whitelist to the API key.
Manual Connection, by contrast, involves:
- Manually logging into OKX.
- Manually creating the API key.
- Copying and pasting the API and Secret key into Altrady.
- Manually setting permissions and pasting Altrady's IP whitelist addresses in OKX.
Whether you're new to Altrady or simply linking a new exchange, follow the step-by-step instructions below, to get started with ease.
Contents
Fast Connect
Manual Connection
Syncing Balances
Fast Connect
Fast Connect is a quick and automated way, to link your OKX exchange account to the Altrady platform without manually creating and copying the API and Secret keys.
Step-1: In Altrady, click on Settings **from the left side panel. Then, click on **Exchange Account API Keys.
Step-2: ** Click **+ Connect Account.
Step-3: **Click on **OKX.
Step-4: Ensure **Fast Connect **is selected. Then click **Connect, **to be redirected to the OKX log in page.
Step-5: Select the login method and enter your login credentials as requested by OKX, before clicking Next.
Step-6: If the login method selected was phone number or email/sub-account, you will also be required to enter a password on the following screen. Once entered, click Log In.
Step-7: After logging in, the following screen will be displayed. Click Confirm to allow Altrady to create the Fast Connect API key.
Step-8: The messages below will be shown on the redirect page and in Altrady, if the Fast Connect API key was created successfully.
Step-9: **The newly connected Trading Account can then be viewed from the **Exchange Account API Keys page.
Step-10: If your balance is not displayed immediately, refer to the following section: Syncing Balances. The video shows how to sync your exchange balance with Altrady.
Manual Connection
Step-1:
- Enter the OKX URL in your browser and log in to your account.
Step-2:
- Click on the **"APIs" **button
- Click on "Create APIs".
Step-3
- Assign a name to the API key.
- Select the account to create an API key for. If you're creating an API key for a subaccount, select your subaccount here.
- Set the purpose to "API Trading".
Step-4:
- In a different tab/window, go to Altrady and follow the steps below:
- Click on "Settings".
- Click on "Exchange Account API Keys".
- Click on "+Connect Account".
- Click on **"OKX". **
Step: Ensure that Manual Connect is selected. Then, assign an Account Label for the Trading Account to be created in Altrady.
- Add an Account Label for the Trading Account in Altrady.
- OPTIONAL: If you want to add an IP whitelist to your API key on the exchange, click the copy button, next to the IP whitelist.
Step-6:
- Go back to OKX exchange.
- RECOMMENDED: paste the copied IP whitelist to the IP address field. All 20 of Altrady's IP addresses must be copied.
- Set Read and Trade permissions.
- Create **and **enter a passphrase. Make sure to record the passphrase somewhere safe, as you will need it later.
- Click "Submit All".
Step-7:
- A "2-factor authentication" window will pop up. Press "Send code" on both fields.
- You will receive a email and a SMS code.
- Enter them in the appropriate fields and hit "Confirm".
- A window will pop up with your newly created key, saying "1 API created successfully".
- Click on "Show Info".
Step-8:
****
- Copy the API key and Secret separately, using the copy button next to each one.
- Go back to Altrady and paste the API and Secret into their respective fields.
- Enter your **passphrase **into the respective field as well.
- Ensure that the API version matches the URL you used to create the OKX API key
- Go back to OKX exchange and click "Complete".
- You should see the API key successfully created, in the API list in OKX.
- Go back to Altrady, then click "Save" at the bottom of the window.
Step-9:
- A new Trading Account should be visible in Altrady under Exchange Account API Keys, for the API key that was just connected.
- Edit the details anytime by clicking the Edit button, next to the Trading Account on the Exchange Account API Keys page.
Syncing Balances
If balances have not yet updated from the exchange, the video below shows how to easily update them:
If you have questions, please feel free to chat with our customer support service linked at the bottom of this page.
Updated on: 10/04/2025
Thank you!