Barfinex
Loading
All exchanges
Kraken

Kraken

BetaCrypto — Major Exchanges
connectorType: "kraken"

Kraken is a US-based cryptocurrency exchange known for its strong security practices and regulatory compliance. It offers spot, futures, and margin trading with competitive fees.

Connection Architecture

Kraken
WebSocket / REST
Connector
libs/exchange-kraken
Provider
:8081/api
Detector
Advisor
Studio

The connector feeds exchange data to Provider. Detector receives market data, Studio receives read views, and Advisor sees only signed candidate evidence.

Technologies

Transport
WebSocketREST
Authentication
API Key + Secret
Data Format
JSON
Features
Rate Limiter

Best for

  • Kraken is well-suited for traders who prioritise regulatory safety and institutional-grade custody over raw execution speed.
  • It is a strong choice for EUR- or USD-denominated spot strategies, medium-frequency trend-following on major pairs, and portfolio managers who require an auditable, compliant exchange for reporting.
  • Barfinex users in regulated jurisdictions often pair Kraken with Binance for cross-venue signal validation.

Connect via code

1Environment variables (.env)

KRAKEN_API_KEY=your_key_here
KRAKEN_API_SECRET=your_secret_here

2Connector configuration

// config/config.provider.json
{
  "provider": {
    "connectors": [
      {
        "connectorType": "kraken",
        "enabled": true,
        "key": "${KRAKEN_API_KEY}",
        "secret": "${KRAKEN_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

Public verification
1. Configure credentials in the private Provider environment.
2. Verify connector status in the internal Studio/Provider console.
3. Use Barfinex public pages to inspect market data.

Operator Provider commands and tokens remain in internal runbooks only.

Available via Barfinex API

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

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

Important

Permissions required: Query Funds + Query Orders & Trades + Create & Modify Orders.
Kraken private API uses a tier-based rate limit: approximately 15–20 calls/min depending on account tier; exceeding this triggers temporary IP bans.
API keys on Kraken use a nonce-based replay-protection scheme — ensure system clocks are NTP-synchronised to avoid nonce ordering errors.
Futures trading requires a separate Kraken Futures account with its own API keys.
Supported Markets
SpotFuturesMargin
Founded2011
HeadquartersSan Francisco, USA

Let’s Get in Touch

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