Correlation and beta to BTC
Correlation and beta of each coin to BTC from daily returns.
/api/v1/correlationEvery keyThe same data on the website, no key needed: Correlation to BTC.
Description
Correlation and beta of daily returns to BTC per coin over the windows of your plan: 30 days (free key and keyless), up to 365 days (Pro, API Dev), up to 365 days (Desk, API Pro; the longest window). From our stored daily candles; a window with less than 80 % of its days is null, nothing is filled in. Default: the largest Hyperliquid coins by open interest.
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
- 30 days
- Pro
- 1 year
- Desk
- 3 years
- API Dev
- 1 year
- API Pro
- 3 years
History window per plan. Limits: Authentication & limits.
Parameters
| Parameter | Description |
|---|---|
coinsstring | Up to 50 comma-separated coins (ETH,SOL,kPEPE); default the largest Hyperliquid coins by open interest.e.g. ETH,SOL |
limitinteger | Number of items, default 40, clamped to 1–100.1–100 · default 40 · e.g. 100 |
Response fields
Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.
basestringThe reference coin (BTC).
windowsDays[]array of integerWindows of your plan: 30 (Free), 90 (Pro, API Dev), 365 (Desk, API Pro).
coins[]array of objectsOne row per coin; a window outside your plan is left out.
Show the 13 fields of
coins[]coins[].coinstringCoin.coins[].d30objectCorrelation and beta to BTC over the last 30 days.coins[].d30.corrnumber · nullableCorrelation of daily returns, -1 to 1.coins[].d30.betanumber · nullableBeta to BTC.coins[].d30.daysintegerDaily returns both coins have in the window.coins[].d90objectOver the last 90 days (Pro, API Dev and up).coins[].d90.corrnumber · nullableCorrelation of daily returns, -1 to 1.coins[].d90.betanumber · nullableBeta to BTC.coins[].d90.daysintegerDaily returns both coins have in the window.coins[].d365objectOver the last 365 days (Desk, API Pro).coins[].d365.corrnumber · nullableCorrelation of daily returns, -1 to 1.coins[].d365.betanumber · nullableBeta to BTC.coins[].d365.daysintegerDaily returns both coins have in the window.
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 - 429
rate_limitedPer-minute limit reachedretry - 429
daily_limit_exceededDaily limit reachedretry - 429
stream_limitToo many open streamsretry - 500
internal_errorInternal errorretry
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.