Bitcoin Correlations (GLD, IWM, QQQ, SPY, TLT)

30-day rolling correlations between Bitcoin (BTC) price and SPDR Gold Shares (GLD), Russell 2000 (IWM), Invesco QQQ (QQQ), S&P 500 (SPY), and the iShares 20+ Year Treasury Bond ETF

How to call

Request format

GET
curl -X GET "https://newhedge.io/api/v2/metrics/bitcoin-correlations/METRIC_NAME?api_token=YOUR_TOKEN"
Query params

api_token (required) — 24 character token.

resolution (optional) — 1d only for the metrics on this chart. Any other value is refused with a 400 that names what is available; see Resolutions.

before (optional) — exclusive cursor, returns observations older than this timestamp_ms. Works on every resolution.

limit (optional) — the most recent N observations, maximum 5000. Finer resolutions page by default (2500); a 1d request returns the whole series unless you send limit or before.

before and limit narrow a time series. A response with no single time axis, such as a hash keyed by venue or a labelled snapshot table, has nothing to cut on. It is returned whole, and both parameters are ignored rather than rejected.

A before that is not a positive epoch-millisecond timestamp is a 400. It is the one paging value we reject rather than ignore, because a page size has a sensible default and a cursor does not.

include (optional) — definition wraps the response as {"definition": …, "data": …} and returns the record shown under each metric; see Definitions. Any other value is a 400.

Path params

:metric_name — one of the metric names listed below.

Responses

200 with JSON payload, 400 for an unknown include value, 401 for missing/invalid token, 404 for missing resources.

Metrics

Each metric is fetched independently. Responses are trimmed samples to show structure.

5 metrics
Metric

Bitcoin/SPDR Gold Trust Correlationbtc_gld_correlation

Data used by the Bitcoin Correlations chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/bitcoin-correlations/btc_gld_correlation?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -0.420776823437314
  ],
  [
    1790812800000,
    -0.4540330184876212
  ],
  [
    1790899200000,
    -0.4774722628577838
  ]
]
Definition (from the chart description)

Value: Bitcoin/SPDR Gold Trust Correlation — Bitcoin Correlations (GLD, IWM, QQQ, SPY, TLT): 30-day rolling correlations between Bitcoin (BTC) price and SPDR Gold Shares (GLD), Russell 2000 (IWM), Invesco QQQ (QQQ), S&P 500 (SPY), and the iShares 20+ Year Treasury Bond ETF.

Units: ratio

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: calendar_daily

Metric

IWM Correlationbtc_iwm_correlation

Data used by the Bitcoin Correlations chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/bitcoin-correlations/btc_iwm_correlation?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -0.4796002013384875
  ],
  [
    1790812800000,
    -0.4986811906522666
  ],
  [
    1790899200000,
    -0.5061081361743391
  ]
]
Definition (from the chart description)

Value: IWM Correlation — Bitcoin Correlations (GLD, IWM, QQQ, SPY, TLT): 30-day rolling correlations between Bitcoin (BTC) price and SPDR Gold Shares (GLD), Russell 2000 (IWM), Invesco QQQ (QQQ), S&P 500 (SPY), and the iShares 20+ Year Treasury Bond ETF.

Units: ratio

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: calendar_daily

Metric

QQQ Correlationbtc_qqq_correlation

Data used by the Bitcoin Correlations chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/bitcoin-correlations/btc_qqq_correlation?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    0.8944555250806996
  ],
  [
    1790812800000,
    0.9023423151582546
  ],
  [
    1790899200000,
    0.9038536658819006
  ]
]
Definition (from the chart description)

Value: QQQ Correlation — Bitcoin Correlations (GLD, IWM, QQQ, SPY, TLT): 30-day rolling correlations between Bitcoin (BTC) price and SPDR Gold Shares (GLD), Russell 2000 (IWM), Invesco QQQ (QQQ), S&P 500 (SPY), and the iShares 20+ Year Treasury Bond ETF.

Units: ratio

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: calendar_daily

Metric

SPY Correlationbtc_spy_correlation

Data used by the Bitcoin Correlations chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/bitcoin-correlations/btc_spy_correlation?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    0.5462109583053214
  ],
  [
    1790812800000,
    0.495557940056876
  ],
  [
    1790899200000,
    0.4819935261916968
  ]
]
Definition (from the chart description)

Value: SPY Correlation — Bitcoin Correlations (GLD, IWM, QQQ, SPY, TLT): 30-day rolling correlations between Bitcoin (BTC) price and SPDR Gold Shares (GLD), Russell 2000 (IWM), Invesco QQQ (QQQ), S&P 500 (SPY), and the iShares 20+ Year Treasury Bond ETF.

Units: ratio

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: calendar_daily

Metric

Bonds (TLT) Correlationbtc_tlt_correlation

Data used by the Bitcoin Correlations chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/bitcoin-correlations/btc_tlt_correlation?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -0.533643133186515
  ],
  [
    1790812800000,
    -0.5449302312707346
  ],
  [
    1790899200000,
    -0.5657156858414756
  ]
]
Definition (from the chart description)

Value: Bonds (TLT) Correlation — Bitcoin Correlations (GLD, IWM, QQQ, SPY, TLT): 30-day rolling correlations between Bitcoin (BTC) price and SPDR Gold Shares (GLD), Russell 2000 (IWM), Invesco QQQ (QQQ), S&P 500 (SPY), and the iShares 20+ Year Treasury Bond ETF.

Units: ratio

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: calendar_daily