CVD spot vs perp
Is spot or the perpetual market doing the net buying: taker delta of both markets over the same bars.
/api/v1/flow/{coin}/spot-perpEvery keyDescription
CVD spot against perp of one coin: is spot or the perpetual market doing the net buying? The taker flow of the window from GET /flow/{coin}, as two lines over the same bars: spot (the exchanges whose spot trades we record, today Binance spot for the largest coins) and perp (every perpetual venue summed), plus the perp of the spot venues alone (perpSameVenue, same exchange). Each side carries taker buy and sell USD and the net delta; points are the cumulative deltas from the earliest common bar (a bar missing on either market is left out of both, never a zero). spotShare = spot taker volume ÷ spot plus perp of the same exchange. reading: aligned (both net bought or both net sold), diverging (opposite ways) or flat; larger names the market with the larger net delta in USD. Descriptive, never a forecast. Window and coins as GET /flow/{coin} (free key 24, Pro / API Dev 720, Desk / API Pro 26,280); a coin without recorded spot trades answers an empty spot side and names the recorded coins in meta.warnings. Exchange data: values per exchange of Binance, Bybit, Gate, HTX, KuCoin and Aster are returned (single liquidations, prints, order books, tickers, funding and ratios per exchange, exchange candles, sums per venue), as collected and without warranty. We may withhold a venue at any time: then its rows and its own sums are left out, asking for it answers 403 source_restricted, meta.restricted lists it, and sums over several venues stay. meta.restricted is absent while nothing is withheld.
Who can call it
Available with every key and keyless (X-Blockmetric-Access: public). Keys of Free accounts get free-tier data (real-time feeds, 30 days of history, heatmap over time for every coin over the last 30 days, liquidation levels now for every coin, the same as the free web plan); Pro and Desk keys the data of their plan; API Dev / API Pro raise the limits. Paid keys read the plan's history, the same on monthly and yearly billing: GET /me states the days.
- No key
- 24 h
- Free
- 24 h
- Pro
- 30 days
- Desk
- 3 years
- API Dev
- 30 days
- API Pro
- 3 years
History window per plan. Limits: Authentication & limits.
Parameters
| Parameter | Description |
|---|---|
coinstring · pathrequired | Coin name, e.g. BTC (case-insensitive). Coins without a Hyperliquid market answer 404.e.g. BTC |
hoursinteger | Window in hours, default 24, clamped to the order-flow history of the plan (free key 24, Pro / API Dev 720, Desk / API Pro 26,280). Also as 24h or 7d.1–26280 · default 24 · e.g. 24 |
fromstring | Window start (ISO 8601 or a plain date), instead of hours: the window is the whole hours from it to now, rounded up. Send from or hours, not both. Clamped like hours (meta.warnings names from).ISO 8601 (UTC), e.g. 2026-10-23T12:00:00Z or 2026-10-23 |
stepMinutesinteger | Bar size 1 | 5 | 15 | 60 | 240 | 1440 minutes (default: about 360 bars; windows older than 8 days use hourly bars); the answer names the size used.one of 1, 5, 15, 60, 240, 1440 |
Response fields
Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.
coinstringCoin name as on Hyperliquid (BTC, kPEPE, HIP-3 names like xyz:TSLA).
hoursintegerWindow in hours as applied.
stepMinutesintegerBar size of the points in minutes.
fromstring (ISO 8601)Window start (first bar).
tostring (ISO 8601)Window end.
spotobjectSpot taker flow of the exchanges whose spot trades are recorded (empty venues: none for this coin).spot.venues[]array of stringVenues summed on this side.spot.buyUsdnumberTaker buys over the common bars (USD).spot.sellUsdnumberTaker sells over the common bars (USD).spot.deltanumberbuyUsd - sellUsd (USD).
perpobjectPerpetual taker flow of every venue served.perp.venues[]array of stringVenues summed on this side.perp.buyUsdnumberTaker buys over the common bars (USD).perp.sellUsdnumberTaker sells over the common bars (USD).perp.deltanumberbuyUsd - sellUsd (USD).
perpSameVenueobjectPerpetual taker flow of the spot venues alone (same exchange, like for like).perpSameVenue.venues[]array of stringVenues summed on this side.perpSameVenue.buyUsdnumberTaker buys over the common bars (USD).perpSameVenue.sellUsdnumberTaker sells over the common bars (USD).perpSameVenue.deltanumberbuyUsd - sellUsd (USD).
spotSharenumber · nullableSpot taker volume ÷ (spot + perp of the same exchange), fraction; null without volume.
reading"aligned" | "diverging" | "flat" · nullablealigned: both net bought or both net sold; diverging: opposite ways; flat: no net delta on one side; null without a common bar.
larger"spot" | "perp" · nullableMarket with the larger net delta in USD (absolute); null when equal or without a common bar.
barsintegerCommon bars behind the points (a bar missing on either market is left out of both).
summarystring · nullableOne plain sentence of the window; null without a common bar.
points[]array of objectsCumulative deltas from the earliest common bar, oldest first.points[].tstring (ISO 8601)Bar start.points[].spotCvdnumberCumulative spot taker delta (USD).points[].perpCvdnumberCumulative perp taker delta, every venue (USD).points[].perpSameVenueCvdnumberCumulative perp taker delta of the spot venues (USD).
Errors
- 400
invalid_paramInvalid parameter - 401
unauthorizedMissing or invalid API key - 401
key_requiredKeyless trial used up: a key is required - 403
plan_requiredPlan does not include this - 403
scope_requiredKey not scoped for this API - 403
ip_not_allowedAddress not on the IP allowlist of the key - 403
origin_not_allowedKey used from a browser origin it does not allow - 403
source_restrictedExchange withheld - 403
linked_accountKey of a linked free account paused - 403
https_requiredhttps required - 404
not_foundNot found - 429
rate_limitedPer-minute limit reachedretry - 429
daily_limit_exceededDaily limit reachedretry - 429
stream_limitToo many open streamsretry - 500
internal_errorInternal errorretry
Methodology
- CVD (cumulative volume delta) (how it is computed and its limits)
Code snippets in these docs are licensed under MIT-0: copy them into your own code without attribution. The SDKs, CLI and MCP server are Apache-2.0; the name Blockmetric is not licensed (forks must be renamed). Data from the API is governed by the API terms; third-party exchange data by the exchange’s terms.