Bitcoin Quarterly, Monthly and Weekly Price Performance

Fluctuations in bitcoin's historical prices

How to call

Request format

GET
curl -X GET "https://newhedge.io/api/v2/metrics/quarterly-monthly-and-weekly-price-performance/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

Btc Day Based Week Performance

Data used by the Quarterly, Monthly and Weekly Price Performance chart.

Endpoint
https://newhedge.io/api/v2/metrics/quarterly-monthly-and-weekly-price-performance/btc_day_based_week_performance?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1782864000000,
    -1.6630894601195
  ],
  [
    1782950400000,
    2.962283730129162
  ],
  [
    1783036800000,
    4.178486704186432
  ]
]
Metric

Btc Day Based Month Performance

Data used by the Quarterly, Monthly and Weekly Price Performance chart.

Endpoint
https://newhedge.io/api/v2/metrics/quarterly-monthly-and-weekly-price-performance/btc_day_based_month_performance?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1782864000000,
    -15.90481641195772
  ],
  [
    1782950400000,
    -7.77465082796507
  ],
  [
    1783036800000,
    -2.520018352917628
  ]
]
Metric

Btc Day Based Quarter Performance

Data used by the Quarterly, Monthly and Weekly Price Performance chart.

Endpoint
https://newhedge.io/api/v2/metrics/quarterly-monthly-and-weekly-price-performance/btc_day_based_quarter_performance?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1782864000000,
    -10.39687913118464
  ],
  [
    1782950400000,
    -8.157373838520945
  ],
  [
    1783036800000,
    -7.057622469803674
  ]
]