Bitcoin 200 Week Moving Average (200WMA) Heatmap

Color heatmap showing percent change of Bitcoin's 200 week moving average

How to call

Request format

GET
curl -X GET "https://newhedge.io/api/v2/metrics/200-week-moving-average-heatmap/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.

2 metrics
Metric

Wma 200 BTC

Data used by the Bitcoin 200WMA Heatmap chart.

Endpoint
https://newhedge.io/api/v2/metrics/200-week-moving-average-heatmap/wma_200_btc?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    64916.85949286611
  ],
  [
    1788912000000,
    64960.2281960096
  ],
  [
    1788998400000,
    65002.80540700712
  ]
]
Metric

Wma 200 BTC Monthly Percentage

Data used by the Bitcoin 200WMA Heatmap chart.

Endpoint
https://newhedge.io/api/v2/metrics/200-week-moving-average-heatmap/wma_200_btc_monthly_percentage?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  {
    "x": 1782777600000,
    "y": 58545.95,
    "z": 1.354540793888894
  },
  {
    "x": 1785456000000,
    "y": 62826.2,
    "z": 1.566336228254142
  },
  {
    "x": 1788134400000,
    "y": 78546.39,
    "z": 1.686876224493695
  }
]