45
Endpoints
Markets, order flow, liquidation models, analytics, the calendar, news, chart pictures and webhooks, under one versioned /v1.
ChartDeck Developer API
Market data, order flow, liquidation models, the economic calendar and news, over REST, live streams and webhooks.
Free sandbox on every account. No card needed.
Data from 20 exchanges, one format
One API
A bearer key, JSON in one shape, cursors for paging and the cost of each call in the answer. Learn one route and the rest read the same.
GET /v1/strata/levels?coin=BTC&window=7d
Host: api.chartdeck.trade
Authorization: Bearer cdk_…
# 200 OK
Content-Type: application/json
X-Request-Weight: 1
RateLimit-Remaining: …
X-Quota-Remaining: …
/v1/basis/v1/calendar/events/v1/calendar/events/{id}/v1/calendar/series/v1/calendar/series/{id}/history/v1/candles/v1/charts/{kind}.png/v1/etf/flows/v1/etf/summary/v1/flow/agg-delta/v1/flow/cvd/v1/flow/funding-agg/v1/flow/lsr-agg/v1/flow/oi-agg/v1/flow/oi-build/v1/footprint/bars/v1/footprint/stacks/v1/funding/v1/indices/{index}/v1/lsr/v1/markets/v1/me/v1/news/v1/news/sources/v1/oi/v1/orderbook/heatmap/v1/screener/v1/strata/calibration/v1/strata/heatmap/v1/strata/hl/v1/strata/levels/v1/strata/liq-exact/v1/strata/netpos/v1/strata/realized/v1/strata/symbols/v1/trades/large/v1/twap/v1/usage/v1/venues/v1/webhooks/v1/webhooks/v1/webhooks/{id}/v1/webhooks/{id}/v1/webhooks/{id}/enable/v1/webhooks/{id}/testWhy ChartDeck data
Our recorders, models and calendar run the terminal every day. The API hands you the same numbers in one format, so your time goes into your product.
45
Markets, order flow, liquidation models, analytics, the calendar, news, chart pictures and webhooks, under one versioned /v1.
20
Perpetual and spot markets, 24,391 of them listed right now, with the same bar format on every venue.
RESTWebSocketWebhooks
Ask for history over REST, hold live channels on one WebSocket, or receive signed events on your server.
Response format
Every JSON answer is the data plus the same four facts about it.
What you can build with
Candles, open interest, funding, basis, long/short ratios, large trades, order-book heatmaps, footprint bars and spot ETF flows.
/basis/candles/etf/flows/etf/summary/footprint/bars/funding/lsr/markets/oi/orderbook/heatmap/trades/large/venuesModelled liquidation levels and heatmaps, net long and short positions from open interest, recorded liquidations and the model scored against them.
/strata/calibration/strata/heatmap/strata/hl/strata/levels/strata/liq-exact/strata/netpos/strata/realized/strata/symbolsDelta and CVD summed over every exchange, aggregated open interest and funding, OI build regimes, stacked imbalances, the screener, TWAP orders and market-cap indexes.
/flow/agg-delta/flow/cvd/flow/funding-agg/flow/lsr-agg/flow/oi-agg/flow/oi-build/footprint/stacks/indices/{index}/screener/twapScheduled and released figures with forecasts, previous values, revisions and each series’ history.
/calendar/events/calendar/events/{id}/calendar/series/calendar/series/{id}/historyMarket stories grouped by story, with the publishers that reported them and links to the originals.
/news/news/sourcesOne WebSocket for live bars, trades, large prints, liquidations, flow, liquidation levels and calendar releases. Events resume after a reconnect.
candlestradestrades.largeliquidationscvdstrata.levelscalendarmcapSigned deliveries to your server for calendar releases and revisions, your ChartDeck alerts and usage warnings. On Developer and Business, and with Elite.
/webhooks/webhooks/{id}/webhooks/{id}/enable/webhooks/{id}/testReady-made STRATA charts as PNG pictures, the title, price axis and attribution drawn in: one request, then post it to your Discord server or any chat.
liquidation-levelsliquidation-heatmappositions-heatmapnet-longs-heatmapnet-shorts-heatmaplong-short-delta-heatmapSDKs
A method for every route, automatic paging, retries that respect the rate limit, a stream helper and webhook signature checks. No third-party dependencies.
# pip install chartdeck
from chartdeck import Client
client = Client() # reads CHARTDECK_API_KEY
r = client.strata.levels(coin="BTC")
print(r.data, r.attribution)
// npm install @chartdeck/api
import { ChartDeck } from '@chartdeck/api';
const cd = new ChartDeck(); // reads CHARTDECK_API_KEY
for await (const f of cd.stream({ channels: ['liquidations:BTC'] }))
console.log(f.ch, f.data);
Buy a tier on its own or with any chart plan, monthly or yearly by card. The Elite plan includes Starter, with webhooks.
Sandbox
Free
Starter In Elite
$49 / month
Developer
$149 / month
Business
$399 / month
Every call costs units, its weight. A light call costs 1; long history, heatmaps and footprints cost more because they take more to compute. Each answer states what it cost, in meta.weight and the X-Request-Weight header. A call refused for a bad parameter costs 1 unit; a server error costs nothing.
The allowance runs by calendar month in UTC. When it is used up, requests are refused until the next month starts or you move to a higher tier. There are no top-ups and no overage charges, so a bill never surprises you.
Every signed-in account can make keys for free. Without a paid tier or the Elite plan they are sandbox keys: data routes answer from a recorded pack of real data, never live, with the same URLs, answers and errors as live. Sandbox data is for building and testing, not for trading or production. Buy a tier and the same keys switch to live data within a minute.
Yes. Every answer lists its sources in meta.attribution; show them wherever you display the data, under a chart, in a footer or at the end of a bot message. Use the data in your own product, but do not resell or redistribute the raw data.
Section 9 of the Terms of Service covers keys, tiers and billing, how you may use API data, and changes to the API. You accept it when you create your first key.