Skip to content

OKX

Obtaining the API

You will need to log in to the OKX exchange and click on API from the drop down under your email address on the top right.

Cryptocurrency exchange platform OKEX showing API settings page with navigation menu, account overview, and API-related options.

You will be then taken to the My API page.

Enter the Display Name, Passphrase, enable Trade and enter your Google Authenticator code (if enabled). Once these are entered, click on Confirm.

Cryptocurrency trading platform API management dashboard with 'Apply for v3 API' dialog and API key configuration fields.

The page will refresh and you can then click on View under Action for your API key.

OKEX API dashboard displaying API key details and management options

Enter the Passphrase that you have entered earlier and the Google Authenticator code (if available). Once these are entered, click on Confirm.

Okex cryptocurrency exchange API management page showing account verification and security settings

Copy apiKey and secretKey into HaasOnline TradeServer in the Exchange Accounts page.

OKEX API management dashboard displaying API key and secret key details