API connection

Connecting OKX to Mantix via API key

To let Mantix trade on your OKX account, create an API key with Read and Trade rights but no Withdraw rights.


What you need

  • A registered and verified (KYC) OKX account
  • 2FA enabled
  • 5 minutes

Step-by-step

Step 1. Sign in to your OKX account

If you don't have an account yet, register on OKX and complete verification.

Register on OKX

Step 2. Open the API menu

Click the profile icon in the top right of the OKX dashboard and choose API and connections.

Step 3. Create an API key

On the API page click Create API key.

Step 4. Configure the key

Fill in the key parameters:

  1. Name — e.g. Mantix API.
  2. Permissions — choose Read and Trade.
  3. IP addresses — paste the Mantix server IPs (you'll see them in the Mantix UI). IP binding protects the key even if it leaks.

Step 5. Copy the keys

You will receive an API Key and a Secret Key.

The Secret Key is shown only once — save it immediately.

Step 6. Paste data into Mantix

In Mantix, choose OKX and enter the API Key and Secret Key.

Save changes. The balance will load in the dashboard within a few seconds.


If the balance doesn't show up

  • Disable browser autofill or use incognito mode.
  • Make sure your trading account has funds.
  • Check the IP addresses.

Security checklist

  • Read and Trade rights
  • Withdraw off
  • Mantix server IPs added
  • Secret Key saved in a safe place