Bitcoin vs Mining Stocks Performance

One year performance comparison between Bitcoin and leading publicly traded mining companies

How to call

Request format

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

api_token (required) — 24 character token.

resolution (optional) — 1d only for the metrics on this chart. Any other value is refused with a 400 that names what is available; see Resolutions.

before (optional) — exclusive cursor, returns observations older than this timestamp_ms. Works on every resolution.

limit (optional) — the most recent N observations, maximum 5000. Finer resolutions page by default (2500); a 1d request returns the whole series unless you send limit or before.

before and limit narrow a time series. A response with no single time axis, such as a hash keyed by venue or a labelled snapshot table, has nothing to cut on. It is returned whole, and both parameters are ignored rather than rejected.

A before that is not a positive epoch-millisecond timestamp is a 400. It is the one paging value we reject rather than ignore, because a page size has a sensible default and a cursor does not.

include (optional) — definition wraps the response as {"definition": …, "data": …} and returns the record shown under each metric; see Definitions. Any other value is a 400.

Path params

:metric_name — one of the metric names listed below.

Responses

200 with JSON payload, 400 for an unknown include value, 401 for missing/invalid token, 404 for missing resources.

Metrics

Each metric is fetched independently. Responses are trimmed samples to show structure.

14 metrics
Metric

BTC 1y Performancebtc_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/btc_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -31.62313232281872
  ],
  [
    1790812800000,
    -31.70294980531613
  ],
  [
    1790899200000,
    -30.69283029899102
  ]
]
Definition (from the chart description)

Value: BTC 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

MARA 1y Performancems_mara_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_mara_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -39.798087141339
  ],
  [
    1790812800000,
    -40.43570669500531
  ],
  [
    1790899200000,
    -40.32943676939426
  ]
]
Definition (from the chart description)

Value: MARA 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

RIOT 1y Performancems_riot_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_riot_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    3.652263374485583
  ],
  [
    1790812800000,
    0.8744855967078093
  ],
  [
    1790899200000,
    1.491769547325098
  ]
]
Definition (from the chart description)

Value: RIOT 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Cipher Digital 1y Performancems_cifr_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_cifr_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    7.653061224489796
  ],
  [
    1790812800000,
    5.170068027210895
  ],
  [
    1790899200000,
    6.870748299319739
  ]
]
Definition (from the chart description)

Value: Cipher Digital 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

CleanSpark 1y Performancems_clsk_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_clsk_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -19.19698870765369
  ],
  [
    1790812800000,
    -21.45545796737767
  ],
  [
    1790899200000,
    -20.07528230865746
  ]
]
Definition (from the chart description)

Value: CleanSpark 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Hut 8 1y Performancems_hut_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_hut_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    114.713216957606
  ],
  [
    1790812800000,
    115.361596009975
  ],
  [
    1790899200000,
    123.5162094763092
  ]
]
Definition (from the chart description)

Value: Hut 8 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Bit Digital 1y Performancems_btbt_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_btbt_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -53.42857142857144
  ],
  [
    1790812800000,
    -53.71428571428572
  ],
  [
    1790899200000,
    -53.42857142857144
  ]
]
Definition (from the chart description)

Value: Bit Digital 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Bitfarms 1y Performancems_bitf_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_bitf_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    17.27574750830565
  ],
  [
    1790812800000,
    14.28571428571429
  ],
  [
    1790899200000,
    20.26578073089702
  ]
]
Definition (from the chart description)

Value: Bitfarms 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

HIVE 1y Performancems_hive_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_hive_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -33.70786516853933
  ],
  [
    1790812800000,
    -34.38202247191012
  ],
  [
    1790899200000,
    -33.14606741573034
  ]
]
Definition (from the chart description)

Value: HIVE 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Core Scientific 1y Performancems_corz_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_corz_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -10.32547699214366
  ],
  [
    1790812800000,
    -8.249158249158242
  ],
  [
    1790899200000,
    -7.68799102132436
  ]
]
Definition (from the chart description)

Value: Core Scientific 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Canaan 1y Performancems_can_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_can_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -73.66412213740459
  ],
  [
    1790812800000,
    -74.04580152671755
  ],
  [
    1790899200000,
    -73.26717557251908
  ]
]
Definition (from the chart description)

Value: Canaan 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

The9 1y Performancems_9ci_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_9ci_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -67.73566569484937
  ],
  [
    1790812800000,
    -67.444120505345
  ],
  [
    1790899200000,
    -67.93002915451895
  ]
]
Definition (from the chart description)

Value: The9 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Ebang 1y Performancems_ebon_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_ebon_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -61.77606177606177
  ],
  [
    1790812800000,
    -61.19691119691119
  ],
  [
    1790899200000,
    -59.74903474903475
  ]
]
Definition (from the chart description)

Value: Ebang 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only

Metric

Argo Blockchain 1y Performancems_arbk_1y_perf

Data used by the Bitcoin vs Mining Stocks Performance chart.

Resolutions: 1d only.

Endpoint
https://newhedge.io/api/v2/metrics/mining-stocks-performance/ms_arbk_1y_perf?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1790726400000,
    -97.48582314371788
  ],
  [
    1790812800000,
    -97.50797448165869
  ],
  [
    1790899200000,
    -97.50797448165869
  ]
]
Definition (from the chart description)

Value: Argo Blockchain 1y Performance — Bitcoin vs Mining Stocks Performance: One year performance comparison between Bitcoin and leading publicly traded mining companies.

Units: percent

Timestamp: Labelled 00:00 UTC of the day it describes.

Calendar: weekday_only