Difficulty

    Description

    The difficulty metric in the PoW network measures how hard it is for miners to find a valid hash for a new block. In bitcoin network it automatically adjusts roughly every two weeks to maintain an average block time of 10 minutes, ensuring network stability despite changes in total mining power. As more miners join the network, the difficulty increases, making mining more challenging, while a drop in mining power lowers it.

    Difficulty Metric:

    • avg_difficulty - The average Bitcoin network difficulty over a 24-hour period

    Access

    Free Access


    Measuring Unit

    Scaling factor that indicates how much harder it is to mine a block compared to the baseline difficulty of 1


    Data Type

    Timeseries Data


    Frequency

    Daily Intervals


    Latency

    On-Chain Latency


    Available Assets

    Available for bitcoin


    SanAPI

    Available under name: avg_difficulty

    1
    2
    3
    4
    5
    6
    7
    8
    9
    {
      getMetric(metric: "avg_difficulty"){
        timeseriesDataJson(
          slug: "bitcoin"
          from: "2025-11-01T00:00:00Z"
          to: "2025-11-10T00:00:00Z"
          interval: "1d")
      }
    }

    Run in explorer