This guide explains how to create and configure Binance API keys for use with NOFX.
- Log in to your Binance account
- Go to Account → API Management
- Click Create API
- Select System Generated API key type
- Complete 2FA verification
- Name your API key (e.g., "NOFX Trading")
Enable the following permissions:
- ✅ Enable Reading - Required
- ✅ Enable Futures - Required for trading
- ❌ Enable Withdrawals - Keep disabled for security
For enhanced security:
- Click Edit restrictions
- Select Restrict access to trusted IPs only
- Add your server's IP address
- Save changes
After creation, you'll see:
- API Key:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Secret Key:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Add your API credentials through the NOFX web interface:
- Open NOFX dashboard (http://localhost:3000)
- Go to Exchange Configuration
- Enable Binance
- Enter your API Key and Secret Key
- Save configuration
| Error | Solution |
|---|---|
Invalid API-key |
Check if API key is correct |
Signature verification failed |
Check if Secret key is correct |
IP not whitelisted |
Add your IP to whitelist or disable IP restriction |
Futures not enabled |
Enable Futures permission in API settings |
- Never share your API keys
- Use IP whitelisting
- Don't enable withdrawal permissions
- Create separate API keys for different applications
- Regularly rotate your API keys