Introduction
Generating an OKX API key is essential for integrating third-party applications like trading terminals with your OKX account. This guide walks you through the step-by-step process while emphasizing security best practices.
Step-by-Step Guide to Creating Your OKX API Key
Step 1: Accessing API Key Settings
- Log in to your OKX account.
- Click on the user icon in the upper-right corner.
- Select API keys from the dropdown menu.
Step 2: Generating a V5 API Key
- Click Create V5 API key.
In the application form:
- Choose Linking third-party apps.
- Select Insilicoterminal (auto-restricts access to Terminal IPs).
👉 Optimize your trading strategy with OKX's secure API integration
Step 3: Configuring Key Details
- Name: Assign a descriptive label (e.g., "Insilicoterminal_2024").
- Passphrase: Create a strong passphrase. Store this securely—it’s required for future access.
- Permissions: Enable Trade.
Step 4: Verification and Key Retrieval
- Confirm settings and complete 2FA.
- Copy the generated API key and Secret key.
Adding the API Key to Your Terminal
- Navigate to the Terminal’s Settings > Account tab.
Enter:
- API key
- Secret key
- Passphrase
Manual IP Whitelisting (Alternative Method)
If not using third-party-linked keys, whitelist these Terminal server IPs:
| IP Addresses |
|---|
| 18.167.89.125 |
| 18.167.8.216 |
| 43.198.26.42 |
| ... (full list in original content) |
FAQ Section
Q1: Why is a passphrase required for OKX API keys?
A: Passphrases add an extra security layer, ensuring only authorized users can access trading functions.
Q2: Can I reuse an API key across multiple applications?
A: No. For security, generate unique keys per application and restrict permissions accordingly.
Q3: What if I lose my API passphrase?
A: You’ll need to create a new API key—OKX cannot recover lost passphrases.
👉 Explore advanced API features on OKX today
Security Best Practices
- Rotate API keys quarterly.
- Never share keys or passphrases.
- Monitor API usage for unusual activity.
For questions, refer to OKX’s official documentation or customer support.
### Keywords:
1. OKX API key
2. Secret key
3. Passphrase
4. IP whitelisting
5. Third-party integration
6. Trade permissions
7. Insilicoterminal