Skip to main content
Skip to main content

Data connectors

You can load candles from your own API (Chart with your data). But when the data lives on Binance, Bybit, OKX, Kraken, KuCoin, Coinbase, Gate.io, CCXT-backed exchanges, CoinGecko, or a third-party market data API, a Data Connector does the boring work for you: fetch history, open WebSockets, parse candles, retry on errors.

Loading chart…

Try the demo above — switch symbol and timeframe. That is a Data Connector in action.

When to use a connector

SituationBest path
Public crypto from BinanceBinance connectorno API key
Public crypto from BybitBybit connectorno API key
Public crypto from OKXOKX connectorno API key
Public crypto USD spot from KrakenKraken connectorno API key
Public crypto USDT spot from KuCoinKuCoin connectorno API key
Public crypto USD/USDC spot from CoinbaseCoinbase connectorno API key
Public crypto USDT spot from Gate.ioGate.io connectorno API key
Many exchanges from one package (backend)CCXT connectorNode.js
Forex or multi-asset (stocks + FX + crypto)Massive, Twelve Data, Finnhub, EODHD, or FinageAPI key
Broad crypto catalog, daily barsCoinGecko — coin ids, REST polling
US stocks and ETFsMassive, Finnhub, EODHD, or Twelve Data — API key
Your company's own pricesYour API + setMainSeriesData

Available connectors

ConnectorDataAPI key?Status
Binance · live demoCrypto spotNo✅ Ready today
Bybit · live demoCrypto spotNo✅ Ready today
OKX · live demoCrypto spotNo✅ Ready today
Kraken · live demoCrypto spot (USD)No✅ Ready today
KuCoin · live demoCrypto spot (USDT)No✅ Ready today
Coinbase · live demoCrypto spot (USD / USDC)No✅ Ready today
Gate.io · live demoCrypto spot (USDT)No✅ Ready today
CCXT · live demo100+ crypto exchangesNo (public data)✅ Ready today
Twelve Data · live demoForex, stocks, cryptoYes (API key)✅ Ready today
Finage · live demoForex, stocks, cryptoYes (API key)✅ Ready today
Finnhub · live demoUS stocks, forex, cryptoYes (API token)✅ Ready today
EODHD · live demoGlobal stocks, forex, cryptoYes (API token)✅ Ready today
Massive · live demoUS stocks, forex, cryptoYes (API key)✅ Ready today
CoinGecko · live demo10,000+ crypto assetsFree demo tier✅ Ready today

Compare pricing and licenses on the Data Connectors catalog.

The whole flow in four steps

Every connector follows the same pattern:

flowchart LR
Install["1. npm install connector"]
Wire["2. createChart + dataAdapter"]
Load["3. loadData(symbol)"]
Live["4. subscribeToUpdates"]

Install --> Wire --> Load --> Live
import { createChart } from "@efixdata/exeria-chart";
import { BinanceAdapter } from "@efixdata/connector-binance";

const connector = new BinanceAdapter();

const chart = createChart({ container, dataAdapter: connector });
chart.init();

await chart.loadData("BTCUSDT", { interval: "1h", limit: 1000 });

chart.subscribeToUpdates("BTCUSDT", (tick) => {
console.log(tick.c ?? tick.price);
});

No manual fetch, no candle parsing — the connector speaks to the chart in the shapes it already understands (Data model).

What is a connector, in one sentence?

A small npm package that implements the DataAdapter interface: “give me history for this symbol” and “push me live ticks.” Your API keys (if any) stay in your app — never in the chart library.

Details: Overview.

Pick your next page

GoalRead
Understand how connectors workOverview
Ship crypto charts todayBinance, Bybit, OKX, Kraken, KuCoin, Coinbase, or Gate.io
Many exchanges on your backendCCXT
Forex or multi-asset chartsMassive, Twelve Data, Finnhub, EODHD, or Finage
Portfolio / news use casesCoinGecko
US stocks and ETFsMassive, Finnhub, EODHD, or Twelve Data
Build your own connectorOverview → custom connector

Quick troubleshooting

ProblemFix
Blank chart after loadDataCheck symbol spelling (BTCUSDT not BTC-USD)
No live updatesCall subscribeToUpdates after loadData
Switching symbol acts weirdunsubscribeFromUpdates() first
Need exact method typesAPI Reference

Tutorial walkthrough: Connect with a Data Connector.