Luxor Documentation Hub Logo
Hashrate Index/API Documentation/Network

Get Network Hashrate

Track Bitcoin network hashrate and mining power distribution.

GET
/network/hashrate

Authorization

X-Hi-Api-Key<token>

In: header

Query Parameters

smaRequiredstring

Simple Moving Average

Value in: "3D" | "7D" | "30D"
spanstring

Time span

Default: "1M"Value in: "1D" | "7D" | "1M" | "3M" | "1Y" | "5Y" | "ALL"
curl -X GET "https://api.hashrateindex.com/v1/hashrateindex/network/hashrate?sma=3D&span=1D" \
  -H "X-Hi-Api-Key: <token>"

OK

{
  "$schema": "https://api.hashrateindex.com/v1/hashrateindex/schemas/NetworkHashrateData.json",
  "data": [
    {
      "hashrate": 0.1,
      "timestamp": "2019-08-24T14:15:22Z"
    }
  ]
}