Get Crypto Exchange API Key
To use Binance skills in BAIclaw, you need to obtain an API key from Binance. This key allows BAIclaw to access your exchange account for trading, balance queries, and other supported operations.
Supported Exchange
| Exchange | API Key Management Link |
|---|---|
| Binance | Binance API Management |
Binance API Key Application
Prerequisites
- Binance account (Register)
- Completed identity verification (KYC)
Application Steps
- Log in to Binance API Management
- Click Create API Key
- Select API type:
- System Generated: Recommended, auto-generates key pair
- Manually Entered: Generate your own RSA key pair
- Complete 2FA verification
- Copy API Key, download and securely store Secret Key
- Configure IP whitelist (optional but recommended)
- Enable permissions as needed:
- Read: Market data, account info
- Spot & Margin Trading: Spot trading, margin operations
- Futures: Perpetual/quarterly contracts
- Withdrawal: Asset withdrawal - Enable with caution
Tutorial: Binance API Key Guide
- Secret Key is shown only once, download and save immediately
- Strongly recommend setting IP whitelist to restrict access to your devices only
- Do not enable withdrawal permission unless you fully trust the use case
- If your key is compromised, immediately delete and recreate in the API management page
Permission Description
| Permission | Use Cases |
|---|---|
| Read | Market data, account info |
| Spot Trading | Spot trading, account transfers |
| Futures Trading | Perpetual/quarterly contract operations |
| Withdrawal | Asset withdrawal - High risk permission |
Configure in BAIclaw
After obtaining your API Key, configure based on the skill you're using:
- Open BAIclaw, go to Settings page
- Find the corresponding configuration item
- Enter in the skill configuration:
- API Key
- Secret Key
- Save configuration
FAQ
Q: What if my API Key is leaked?
Immediately go to the exchange's API management page:
- Delete the compromised API Key
- Create a new API Key
- Update the configuration in BAIclaw
Q: API request denied?
- Check if the API Key is correct
- Confirm the required permissions are enabled
- Check IP whitelist settings (if configured)
- Verify account status is normal
Q: How to restrict API access permissions?
Recommendations:
- Enable only the minimum permissions required
- Set IP whitelist
- Regularly rotate API Keys