Bitcoin MACD

Moving Average Convergence Divergence momentum indicator for Bitcoin

How to call

Request format

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

api_token (required) — 24 character token.

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.

3 metrics
Metric

MACD Line

Data used by the Bitcoin MACD chart.

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

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1778976000000,
    1005.2422
  ],
  [
    1779062400000,
    728.2031
  ],
  [
    1779148800000,
    494.39062
  ]
]
Metric

MACD Signal

Data used by the Bitcoin MACD chart.

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

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1778976000000,
    1562.6228
  ],
  [
    1779062400000,
    1428.7551
  ],
  [
    1779148800000,
    1267.3817
  ]
]
Metric

MACD Histogram

Data used by the Bitcoin MACD chart.

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

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1778976000000,
    -557.3806
  ],
  [
    1779062400000,
    -700.5598
  ],
  [
    1779148800000,
    -772.9989
  ]
]