Home Exchange connect Connection guide of OKX exchange API Key

Connection guide of OKX exchange API Key

Last updated on Aug 16, 2024

It requires two steps to connect the OKX exchange API,

Step 1: Create API in OKX exchange;

Step 2: connect the API in HXR Trade;

Step 1: Create API

  1. Open the homepage of OKX(OKX.com) exchange and log in to the OKX account. Then place the cursor on the [Personal Center] icon on the upper right of the page, and click the [API] button.

028.jpg

  1. Click the [Create V5 API key] button in the upper right corner.

029.jpg

  1. Open the API application page:

Enter the [API name], Label API Key for easy memorization;

Set the [Passphrase], This password will also be used when connecting the API in the Step 2: Connect the API, please keep in mind;

Select [Permissions], you need to check the [Trade] permission.

030.jpg

  1. Complete the Two-factor authentication to complete the creation.

031.jpg

032.jpg

Creation complete, please well save the API Key, Secret Key and Passphrase, they will be used in the Step 2: Connect.

Step 2: Connect the API

  1. Log in to the HXR Trade(https://hxr.com/app/), in the Portfolio page, click the [Exchange connect] button to switch to the connect exchange page.

033.jpg

  1. Find OKX Exchange and click the [Connect a new] button on the right;

034.jpg

  1. Enter Memo for easy identification, and enter the API Key, Secret Key, and the Passphrase just created in the OKX exchange. Then select permissions including Spot trading and Futures trading according to your needs.

035.jpg

  1. After the connection is completed, click the [Test] button to check the connection status. If the 'Nice job' icon appears, it means the connection is successful.

036.jpg

014.jpg

To avoid unnecessary losses, HXR Trade highly recommends its users and clients DO NOT connect multiple HXR Trade-like services with one and the same API Key.