/api/indicators/correlation-matrix
GETAvailable

Correlation matrix of major assets

Correlation matrix of major assets

GET/api/indicators/correlation-matrix

Request

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.

FieldTypeUnitDescription
successboolean—true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`.
updated_atnumbermsWhen this row was last updated.
assetsarray—Assets.
assets[]object—Assets.
assets[].keystring—Key.
assets[].namestring—Name.
matrixobject—Matrix keyed by row and column. dynamic keys: w30,w90,w365
matrix.{*}object—Matrix keyed by row and column.
matrix.{*}.btc-ethnumber—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-goldnumber—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-spxnumber—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-dxynumber—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-goldnumber—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-spxnumber—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-dxynumber—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-spxnumber—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-dxynumber—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-dxynumber—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.
rolling90object—Map keyed by asset (`eth`, `gold`, `spx`, `dxy`); each value is a series of `[timestamp ms, 90-trading-day rolling correlation with BTC]`.
rolling90.etharray—Value for ETH.
rolling90.eth[]array—Value for ETH.
rolling90.eth[][]number—Value for ETH.
rolling90.goldarray—Value for gold.
rolling90.gold[]array—Value for gold.
rolling90.gold[][]number—Value for gold.
rolling90.spxarray—S&P 500 value.
rolling90.spx[]array—S&P 500 value.
rolling90.spx[][]number—S&P 500 value.
rolling90.dxyarray—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": [
      • { … 2 },
      • { … 2 }
      ],
    • "matrix": {
      • "w30": { … 10 },
      • "w90": { … 10 }
      },
    • "rolling90": {
      • "eth": [ … 2 ],
      • "gold": [ … 2 ],
      • "spx": [ … 2 ],
      • "dxy": [ … 2 ]
      }
    }

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

AvailableChecked 2026-11-13 03:53:33 UTCHTTP 2002 msSchema matchesNewest data point 3.4h old

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 →

CodeHTTPMeaningWhat to do
INVALID_PARAM400A 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.
UNAUTHORIZED401The `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.
FORBIDDEN403The route is not part of the public API (internal or account-only).Do not retry.
NOT_FOUND404Unknown route, or the requested coin / exchange / fund does not exist.Do not retry; check the path and identifiers against the catalog.
RATE_LIMITED429More requests than the per-minute limit. `Retry-After` gives the seconds to wait.Wait for `Retry-After`, then retry with backoff.
INTERNAL500Unexpected 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_FAILED503The 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.
UNAVAILABLE501 / 503The 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_FAILED200Some 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

GET/api/indicators/correlation-matrixAvailable
Parameters

No parameters.

Request URLhttps://www.coinboss.com/api/indicators/correlation-matrix
Choose an endpoint and press “Send request”. The response, headers and timing will appear here.