Introduction to the Developer Platform
This guide helps you efficiently build applications using our developer management platform. Learn about its core features and best practices for optimal usage.
Registration & Login Process
- Navigate to Developer Center and select Developer Portal.
- Click Connect Wallet to create/login. We recommend OKX Web3 Wallet for seamless access, though other wallets are supported.
- After wallet selection, click Verify. Confirm the signature request in your wallet pop-up.
๐ Discover advanced wallet integration techniques
You'll now access the developer dashboard with a pre-created default project for exploration.
Generating New API Keys
- Locate your project and click the "API Key" button
- Select "Create API Key"
Provide:
- Custom key name
- Secure passphrase (irrecoverable if lost)
- Click "Generate"
Account Security Setup
Email & Mobile Binding
- Navigate to "Settings" tab
Complete these verifications:
- Email address
- Mobile number (regional restrictions may apply)
- Pass CAPTCHA authentication
Important Note: Some regions may have service limitations for DEX API functionality.
Secret Key Management
Retrieve your secret key for API requests by:
- Clicking the "Copy" button
- Entering your passphrase when prompted
Core Concepts Explained
| Term | Purpose |
|---|---|
| API Key | Unique application identifier for API interaction |
| Secret Key | Secondary authentication token for enhanced security |
| Passphrase | Encrypts secret keys server-side; required for modifications |
๐ Master API security best practices
FAQ Section
Q: Can I recover a lost passphrase?
A: No, passphrases cannot be recovered. Store them securely offline.
Q: Why can't I select my country for mobile binding?
A: Regional restrictions may limit DEX API availability in certain locations.
Q: How many API keys can I generate per project?
A: There's no strict limit, but we recommend rotating keys periodically.
Q: What's the difference between API key and secret key?
A: The API key identifies your application, while the secret key authenticates requests.
Q: Can I use the same key across multiple projects?
A: We recommend project-specific keys for better security isolation.
Q: How often should I rotate my API keys?
A: Best practice suggests every 3-6 months or after team member changes.