BingX
Coming SoonCrypto — Derivatives
connectorType: "bingx"Social trading and crypto derivatives platform
Connection Architecture
BingX
WebSocket / REST→
Connector
libs/exchange-bingx→
Provider
:8081/api→
Detector
Advisor
Studio
The connector receives data from the exchange and feeds it to Provider (port 8081). From there — to Detector, Advisor, and Studio.
Technologies
Transport
WebSocketREST
Authentication
API Key + SecretData Format
JSONBest for
- Copy-trading platform builders looking to layer systematic signals on top of BingX's social trader universe.
- Algo traders running perpetual futures strategies who want an alternative execution venue to Bybit or Bitget.
- Grid trading practitioners who want to monitor and adjust BingX grid bots programmatically via the Provider API.
- Retail-facing fintech products seeking a socially-engaged crypto exchange with a public API.
Connect via code
1Environment variables (.env)
BINGX_API_KEY=your_key_here BINGX_API_SECRET=your_secret_here
2Connector configuration
// config/config.provider.json
{
"provider": {
"connectors": [
{
"connectorType": "bingx",
"enabled": true,
"key": "${BINGX_API_KEY}",
"secret": "${BINGX_API_SECRET}",
"markets": [
{ "marketType": "spot", "symbols": [{ "name": "BTCUSDT" }] }
],
"subscriptions": [
{ "type": "PROVIDER_MARKETDATA_CANDLE", "symbols": ["BTCUSDT"], "intervals": ["min1", "h1"], "active": true },
{ "type": "PROVIDER_MARKETDATA_TRADE", "symbols": ["BTCUSDT"], "active": true },
{ "type": "PROVIDER_MARKETDATA_ORDERBOOK", "symbols": ["BTCUSDT"], "active": true }
]
}
]
}
}3Verify and query data
# Verify connection curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ https://localhost:8081/api/exchanges/runtime-proof # Candles (last 7 days) curl -H "Authorization: Bearer $PROVIDER_API_TOKEN" \ "https://localhost:8081/api/candles/bingx/spot/BTCUSDT/h1?days=7"
Available via Barfinex API
/api/candles/bingx/...
/api/trades/bingx/...
/api/orderbook/bingx/...
/api/account/bingx/...
/api/symbols/bingx/...
/api/assets/bingx/...
Studio graphical setup — in development, coming in the next release.
Important
BingX requires IP whitelisting for API keys used in live trading; add your server's IP address in the API management panel before going live.
Perpetual futures symbols use the SYMBOL-USDT format (e.g., BTC-USDT) which differs from the spot convention — verify symbol names in your subscription config.
Copy-trading positions opened via the social platform are not accessible through the standard trading API; they require dedicated copy-trade endpoints.
Withdrawal permissions should be kept separate from trading API keys; never enable withdrawals on keys used by automated strategies.
Supported Markets
SpotFutures
Websitewww.bingx.com
Connect in Studio(soon)
Exchange Website