API Integration Tutorial for OKEx Exchange

·

This guide provides step-by-step instructions to securely authorize OKEx exchange trading via API on MyToken Pro App while optimizing security and functionality.


Prerequisites

Before proceeding, ensure you have:
✔ Completed OKEx account registration and security verification.
✔ Installed Google Authenticator on your mobile device.
✔ Access to your phone for identity verification during setup.


Step-by-Step API Authorization

1. Access OKEx Official Website

Visit OKEx Exchange, log in, and navigate to:
Account (top-right) → [API] under the dropdown menu.

2. Generate a New API Key

On the My API page:
👉 Click [Apply for V3 API] in the top-right corner.

3. Configure API Settings

4. Retrieve API Credentials

Return to My API, locate your new API, and:

  1. Click [View].
  2. Input your password + SMS code.
  3. API Key and Secret Key will display—save these securely.

5. Authorize MyToken Pro App

In MyToken Pro:

  1. Assets → Add OKEx → [Bind].
  2. Choose:

    • QR Scan: Capture OKEx’s API QR code.
    • Manual Entry: Input apiKey (API Key) and secretKey (Secret Key).
  3. Tap [Authorize Trading] to complete linkage.

FAQs

Why disable withdrawal permissions?

Prevents unintended fund transfers. Trading-only APIs minimize security risks.

Can I regenerate lost Secret Keys?

No. If lost, revoke the old API and create a new one.

Is Google Authenticator mandatory?

Yes, it adds critical 2FA protection for API access.


Best Practices

👉 Explore advanced API trading strategies to maximize your OKEx experience.