Binance
Connect Binance spot or futures to Coinrule — API key setup, IP whitelist, and Binance Link (OAuth).
Coinrule supports Binance in two ways: Binance Link (OAuth) for one-click connection, and API key for manual setup.
Binance Link (recommended)
- On the Coinrule connect page, click Connect with Binance Link.
- You're redirected to Binance to authorise the connection.
- Binance creates a scoped API key automatically — you never see the raw key.
- Done. No IP whitelist needed.
Binance Link is the fastest path and has the least chance of permission errors. Use it if you have a Binance account in good standing.
How do I set up a manual API key?
Enable these permissions
- ✓Enable Spot & Margin Trading— place trades on your behalf.
- ✓Enable Futures— required for Binance USD-M perpetuals.
Leave these OFF
- ✕Enable Withdrawals
Notes
- ℹWhitelist trusted IPs only
IP whitelist
Binance strongly recommends restricting API keys to specific IPs. Use the Copy IPs button on the connect page to copy Coinrule's current outbound addresses to your clipboard and paste them into Binance's IP allowlist.
The current addresses are:
35.187.0.42 130.211.80.255 34.79.101.192 34.34.174.137 35.205.151.50 34.76.243.197 34.34.149.175 34.14.59.61 104.199.44.10 34.62.28.136 104.155.44.14 34.38.166.132 34.140.137.149 34.34.164.213 104.155.71.91 35.195.229.74 34.62.160.138 34.14.126.227 34.77.153.39 34.76.65.160 146.148.120.66
Do not hardcode IPs from documentation — use the Copy IPs button on the connect page to get the current list. Contact support if you have connection issues after whitelisting.
How do I connect Binance Futures?
Futures (USDT-margined perpetuals) use a separate endpoint. To connect futures:
- In your Binance account, go to API Management.
- Check the Enable Futures permission on your key (or create a dedicated key).
- On Coinrule, choose Binance Futures from the exchange list.
Spot and futures are separate accounts on Binance. A key with only spot permission cannot place futures orders, and vice versa.
Which pairs are supported?
- Spot: all USDT and BTC-denominated pairs listed on Binance.
- Futures: all USDT-margined perpetuals.
Troubleshooting
| Error | Fix |
|---|---|
Invalid API-key, IP, or permissions | Check the IP whitelist and that trading is enabled |
Timestamp for this request is outside of the recvWindow | Your server time is out of sync. Check your system clock. |
Order would immediately trigger | Limit order price is too close to market. Use a market order or adjust the limit. |
Minimum notional not met | Your trade size is below the pair's minimum (usually $10 USDT). Increase allocation. |