Bitcoin CAGR

Compound annual growth rate of Bitcoin price over rolling long-term windows

How to call

Request format

GET
curl -X GET "https://newhedge.io/api/v2/metrics/cagr/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.

7 metrics
Metric

Bitcoin Price CAGR (2 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_2y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    4.6856003
  ],
  [
    1786838400000,
    3.2590003
  ],
  [
    1786924800000,
    4.0544
  ]
]
Metric

Bitcoin Price CAGR (3 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_3y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    29.8046
  ],
  [
    1786838400000,
    33.1219
  ],
  [
    1786924800000,
    35.313
  ]
]
Metric

Bitcoin Price CAGR (4 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_4y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    27.491098
  ],
  [
    1786838400000,
    28.057
  ],
  [
    1786924800000,
    29.035
  ]
]
Metric

Bitcoin Price CAGR (5 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_5y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    6.5362997
  ],
  [
    1786838400000,
    7.0449004
  ],
  [
    1786924800000,
    7.4853
  ]
]
Metric

Bitcoin Price CAGR (6 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_6y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    32.059
  ],
  [
    1786838400000,
    31.195
  ],
  [
    1786924800000,
    32.2765
  ]
]
Metric

Bitcoin Price CAGR (8 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_8y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    32.7421
  ],
  [
    1786838400000,
    33.0718
  ],
  [
    1786924800000,
    33.223198
  ]
]
Metric

Bitcoin Price CAGR (10 Year)

Data used by the Bitcoin CAGR chart.

Endpoint
https://newhedge.io/api/v2/metrics/cagr/price_cagr_10y?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    60.106804
  ],
  [
    1786838400000,
    59.9414
  ],
  [
    1786924800000,
    60.3272
  ]
]