HashrateindexApi

Get Miner Mag Bitcoin Production Cost Estimate

GET
/miner-mag/bitcoin-production-cost-estimate

/miner-mag/bitcoin-production-cost-estimate has rate limitation:

Initially, the API allows for a burst of 20 requests, and afterward, it gradually restores 1 request every 15 seconds until reaching the maximum allowable limit of 20. This limitation is imposed to manage and control the rate at which requests can be made to the API, preventing potential misuse or excessive use of resources.

Authorization

ApiKeyAuth
X-Hi-Api-Key<token>

In: header

Query Parameters

ref_id?string

Get the specific data by reference id (uuid) type. If this is empty the current month date is the default query

historic_date?string

Historical Date of data. This is ignored if the ref_id is not empty default: current month date

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/miner-mag/bitcoin-production-cost-estimate?ref_id=0000000-0000-0000-0000-000000000000&historic_date=2024-01"
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/MinerMagBitcoinProductionCostEstimateData.json",  "data": [    {      "chart_name": "string",      "company": "string",      "created_at": "2019-08-24T14:15:22Z",      "data_points": "string",      "description": "string",      "list_order": 0,      "max_tabs": 0,      "ref_id": "string",      "slug": "string",      "sort_by_value": true,      "source": "string",      "subtitle": "string"    }  ]}
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}
{  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/ErrorModel.json",  "detail": "Property foo is required but is missing.",  "errors": [    {      "location": "string",      "message": "string",      "value": null    }  ],  "instance": "https://example.com/error-log/abc123",  "status": 400,  "title": "Bad Request",  "type": "https://example.com/errors/example"}