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) — day1 (default), hour12, hour4, hour1, 30mn, 10mn. Finer buckets are served to Advanced and Enterprise accounts; see Resolutions.

before (optional) — exclusive cursor, returns observations older than this timestamp_ms. Finer resolutions only.

limit (optional) — page size for finer resolutions. Default 2500, maximum 5000. Ignored for day1.

Path params

:metric_name — one of the metric names listed below.

Responses

200 with JSON payload, 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 Correlation

Data used by the Bitcoin Correlations chart.

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
[
  [
    1788825600000,
    0.4473617255605961
  ],
  [
    1788912000000,
    0.3641997669109069
  ],
  [
    1788998400000,
    0.3292591397998935
  ]
]
Metric

BTC Iwm Correlation

Data used by the Bitcoin Correlations chart.

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
[
  [
    1788825600000,
    -0.8045177453361282
  ],
  [
    1788912000000,
    -0.8162658560814093
  ],
  [
    1788998400000,
    -0.7877942859180787
  ]
]
Metric

BTC Qqq Correlation

Data used by the Bitcoin Correlations chart.

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
[
  [
    1788825600000,
    -0.6372230388059821
  ],
  [
    1788912000000,
    -0.6356358127709067
  ],
  [
    1788998400000,
    -0.6625622353484368
  ]
]
Metric

BTC Spy Correlation

Data used by the Bitcoin Correlations chart.

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
[
  [
    1788825600000,
    -0.5390382191474024
  ],
  [
    1788912000000,
    -0.5539839310022193
  ],
  [
    1788998400000,
    -0.5648603658927724
  ]
]
Metric

Bonds (TLT) Correlation

Data used by the Bitcoin Correlations chart.

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
[
  [
    1788825600000,
    0.3689319262018932
  ],
  [
    1788912000000,
    0.3150727920255113
  ],
  [
    1788998400000,
    0.2138924674449223
  ]
]