Barfinex
All exchanges
Bitget

Bitget

Coming SoonCrypto — Derivatives
connectorType: "bitget"

Copy-trading focused crypto derivatives exchange

Connection Architecture

Bitget
WebSocket / REST
Connector
libs/exchange-bitget
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 + Secret + Passphrase
Data Format
JSON
Features
Passphrase Required

Best for

  • Algorithmic traders seeking deep spot and perpetual futures liquidity across 400+ pairs.
  • Copy-trading strategy builders who want to combine Bitget's social layer with automated signal execution.
  • Portfolio managers running simultaneous strategies on Bybit, OKX, and Bitget for cross-exchange arbitrage.
  • Developers evaluating a passphrase-secured REST + WebSocket API for institutional-grade deployments.

Connect via code

1Environment variables (.env)

BITGET_API_KEY=your_key_here
BITGET_API_SECRET=your_secret_here
BITGET_API_PASSPHRASE=your_passphrase_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "bitget",
        "enabled": true,
        "key": "${BITGET_API_KEY}",
        "secret": "${BITGET_API_SECRET}",
        "passphrase": "${BITGET_API_PASSPHRASE}",
        "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/bitget/spot/BTCUSDT/h1?days=7"

Available via Barfinex API

/api/candles/bitget/...
/api/trades/bitget/...
/api/orderbook/bitget/...
/api/account/bitget/...
/api/symbols/bitget/...
/api/assets/bitget/...

Studio graphical setup — in development, coming in the next release.

Important

API credentials require three components: key, secret, and a passphrase you set at creation time — store all three in your .env file.
Bitget enforces rate limits per UID; running multiple strategy instances against the same credentials will share the rate-limit budget.
Futures margin modes (cross vs.
isolated) must be set on the exchange before Barfinex can trade them — the connector does not switch modes automatically.
Some endpoints are restricted by jurisdiction; verify your account region before routing live orders.
Supported Markets
SpotFutures
Founded2018
HeadquartersSingapore
Connect in Studio(soon)
Exchange Website

Let’s Get in Touch

Have questions or want to explore Barfinex? Send us a message.