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
[
  [
    1786838400000,
    63981.75626570143
  ],
  [
    1786924800000,
    64014.01093515071
  ],
  [
    1787011200000,
    64046.55018858506
  ]
]
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": 1780185600000,
    "y": 73537.83,
    "z": 1.999136235275127
  },
  {
    "x": 1782777600000,
    "y": 58545.95,
    "z": 1.354540793888894
  },
  {
    "x": 1785456000000,
    "y": 62826.2,
    "z": 1.566336228254142
  }
]