Correlation matrix of major assets
Correlation matrix of major assets
/api/indicators/correlation-matrixRequest
This endpoint takes no parameters.
Example request
curl -s "https://www.coinboss.com/api/indicators/correlation-matrix"Response fields
The field table is generated from real responses, so it lists exactly what the endpoint returns. Paths use a[] for array items and {*} for objects keyed by a dynamic name such as a coin or an exchange.
| Field | Type | Unit | Description |
|---|---|---|---|
| success | boolean | — | true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`. |
| updated_at | number | ms | When this row was last updated. |
| assets | array | — | Assets. |
| assets[] | object | — | Assets. |
| assets[].key | string | — | Key. |
| assets[].name | string | — | Name. |
| matrix | object | — | Matrix keyed by row and column. dynamic keys: w30,w90,w365 |
| matrix.{*} | object | — | Matrix keyed by row and column. |
| matrix.{*}.btc-eth | number | — | Pearson correlation of daily log returns of BTC and ETH over the window named by the map key (`w30`, `w90`, `w365` trading days), −1 to 1. |
| matrix.{*}.btc-gold | number | — | Pearson correlation of daily log returns of BTC and gold (gold ETF) over the window named by the map key, −1 to 1. |
| matrix.{*}.btc-spx | number | — | Pearson correlation of daily log returns of BTC and the S&P 500 over the window named by the map key, −1 to 1. |
| matrix.{*}.btc-dxy | number | — | Pearson correlation of daily log returns of BTC and the US dollar index over the window named by the map key, −1 to 1. |
| matrix.{*}.eth-gold | number | — | Pearson correlation of daily log returns of ETH and gold (gold ETF) over the window named by the map key, −1 to 1. |
| matrix.{*}.eth-spx | number | — | Pearson correlation of daily log returns of ETH and the S&P 500 over the window named by the map key, −1 to 1. |
| matrix.{*}.eth-dxy | number | — | Pearson correlation of daily log returns of ETH and the US dollar index over the window named by the map key, −1 to 1. |
| matrix.{*}.gold-spx | number | — | Pearson correlation of daily log returns of gold (gold ETF) and the S&P 500 over the window named by the map key, −1 to 1. |
| matrix.{*}.gold-dxy | number | — | Pearson correlation of daily log returns of gold (gold ETF) and the US dollar index over the window named by the map key, −1 to 1. |
| matrix.{*}.spx-dxy | number | — | Pearson correlation of daily log returns of the S&P 500 and the US dollar index over the window named by the map key, −1 to 1. |
| rolling90 | object | — | Map keyed by asset (`eth`, `gold`, `spx`, `dxy`); each value is a series of `[timestamp ms, 90-trading-day rolling correlation with BTC]`. |
| rolling90.eth | array | — | Value for ETH. |
| rolling90.eth[] | array | — | Value for ETH. |
| rolling90.eth[][] | number | — | Value for ETH. |
| rolling90.gold | array | — | Value for gold. |
| rolling90.gold[] | array | — | Value for gold. |
| rolling90.gold[][] | number | — | Value for gold. |
| rolling90.spx | array | — | S&P 500 value. |
| rolling90.spx[] | array | — | S&P 500 value. |
| rolling90.spx[][] | number | — | S&P 500 value. |
| rolling90.dxy | array | — | US dollar index value. |
| rolling90.dxy[] | array | — | US dollar index value. |
| rolling90.dxy[][] | number | — | US dollar index value. |
Generated 2026-11-11 23:01 UTC from 1 real responses.
Example response
/api/indicators/correlation-matrix · Real response captured 2026-11-13 03:53:33 UTC. Long arrays and maps are shortened for display: assets had 5 items; matrix had 3 items; rolling90.dxy had 2424 items; rolling90.eth had 3201 items; rolling90.spx had 2422 items; rolling90.gold had 2422 items.
- "success"true
- "updated_at"1794529739989
- "assets"
- "matrix"
- "w30"
- "w90"
- "rolling90"
- "eth"
- "gold"
- "spx"
- "dxy"
Details
- Authentication
- None. Public endpoint.
- Rate limit
- 1200 requests per minute per IP
- Server cache
- 30m
- Edge micro-cache
- 10s
- Update frequency
- on request, cached 6 hours (daily data)
- Window
- trailing 30, 90 and 365 days; rolling 90-day series over up to 10 years
- Data sources
- Cross-asset correlation matrix computed in-house from public daily closing prices.
- Exchange coverage
- BTC, ETH, gold (GLD proxy), S&P 500, US Dollar Index.
- Units
- Pearson correlation coefficient (-1..1)
- Method
- Pairwise Pearson correlation of daily log returns on common trading days.
- Timestamps
- Unix epoch milliseconds (UTC) unless the field description says otherwise
- Response format
- json
- Stability
- Stable
Live status
Availability, last 30 days
100% of 407 checks passed
Errors
Failed calls share one shape on every endpoint. The full list is on the errors page. Errors and rate limits →
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
| INVALID_PARAM | 400 | A required parameter is missing or a value is not accepted. `param` names the parameter when it is known. | Do not retry unchanged; fix the request. |
| UNAUTHORIZED | 401 | The `CB-API-KEY` header was sent but the key is unknown or revoked. Public data needs no key — drop the header or use a valid key. | Do not retry unchanged. |
| FORBIDDEN | 403 | The route is not part of the public API (internal or account-only). | Do not retry. |
| NOT_FOUND | 404 | Unknown route, or the requested coin / exchange / fund does not exist. | Do not retry; check the path and identifiers against the catalog. |
| RATE_LIMITED | 429 | More requests than the per-minute limit. `Retry-After` gives the seconds to wait. | Wait for `Retry-After`, then retry with backoff. |
| INTERNAL | 500 | Unexpected server error. The message is generic by design; quote `request_id` when reporting it. | Retry once after a few seconds; report it with the request id if it persists. |
| UPSTREAM_FAILED | 503 | The data source behind this endpoint did not answer in time. No stale or substitute numbers are returned in its place. | Retry with backoff; check the status page. |
| UNAVAILABLE | 501 / 503 | The dataset is temporarily not ready (cache warming) or the endpoint has no lawful public source yet. | Retry later; the catalog marks endpoints that are unavailable by design. |
| REQUEST_FAILED | 200 | Some older endpoints answer HTTP 200 with `success: false`. Always check `success`, not only the HTTP status. | Depends on the message; treat as a failed request. |
Try it
/api/indicators/correlation-matrixAvailableNo parameters.
https://www.coinboss.com/api/indicators/correlation-matrixMore in this category
- AHR999 accumulation indicator series /api/indicators/ahr999
- Bitcoin bubble index /api/indicators/bitcoin-bubble
- Full BTC daily close history /api/indicators/btc-history
- Bull-market peak signal checklist /api/indicators/bull-peak-signals
- CBBI bull-run composite index /api/indicators/cbbi
- Derivatives risk index (CoinBoss method) /api/indicators/cdri
- Derivatives composite index (CoinBoss method) /api/indicators/cgdi
- BTC correlation with gold / S&P 500 /api/indicators/correlation
- Correlation matrix of major assets /api/indicators/correlation-matrix
- Crypto legal status by country /api/indicators/crypto-legality
- Cycle-top valuation bands /api/indicators/cycle-caps
- BTC price doubling-time series /api/indicators/doubling-time
- Google search-interest trend /api/indicators/google-trends
- Macro series /api/indicators/macro-series
- Price-forecast model output /api/indicators/price-forecast
- Drawdown-from-ATH series /api/indicators/price-no-turning-back
- Reddit Bitcoin subreddit subscriber count /api/indicators/reddit-subs
- Wikipedia page views /api/indicators/wikipedia-pageviews
- Altcoin season index (CoinBoss method) /api/indices/altseason
- Bottom radar /api/indices/bottom-radar
- Bottom-radar historical case study /api/indices/bottom-radar/case-0819
- BTC multi-factor signal dashboard /api/indices/btc-signal
- Backtest of the BTC signal /api/indices/btc-signal/backtest
- Fear & Greed index /api/indices/fear-greed
- Fear & Greed index (current and history) /api/market/fear-greed
- Signal backtest results /api/signal/backtest/:coin
- Signal monitor dashboard /api/signal/monitor/:coin