Luxor Documentation Hub Logo
Hashrate Index/API Documentation/Network

Get Network Difficulty Adjustment

This endpoint provides a historical record of all Bitcoin network mining difficulty adjustments. The mining difficulty is recalibrated approximately every 2,016 blocks (about every two weeks) to ensure blocks are produced at a consistent rate of one every 10 minutes, regardless of changes in total network hashrate.

GET
/network/difficulty-adjustment

Authorization

X-Hi-Api-Key<token>

In: header

Query Parameters

spanstring

Time span

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

OK

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