Bitcoin Difficulty Ribbon

8-window simple moving average ribbon of Bitcoin's network difficulty.

The Difficulty Ribbon: 9/14/25/40/60/90/128/200-day SMAs of network difficulty. Compression of the ribbon has historically preceded major price bottoms.

How to call

Request format

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

api_token (required) — 24 character token.

resolution (optional) — day1 (default), hour12, hour4, hour1, 30mn, 10mn. Finer buckets are served to Advanced and Enterprise accounts; see Resolutions.

before (optional) — exclusive cursor, returns observations older than this timestamp_ms. Finer resolutions only.

limit (optional) — page size for finer resolutions. Default 2500, maximum 5000. Ignored for day1.

Path params

:metric_name — one of the metric names listed below.

Responses

200 with JSON payload, 401 for missing/invalid token, 404 for missing resources.

Metrics

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

9 metrics
Metric

Network Difficulty

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    127450789715843
  ],
  [
    1788912000000,
    127450789715843
  ],
  [
    1788998400000,
    127450789715843
  ]
]
Metric

Network Difficulty Sma 9

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_9?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    126537615733261.9
  ],
  [
    1788912000000,
    126720250529778.1
  ],
  [
    1788998400000,
    126902885326294.3
  ]
]
Metric

Network Difficulty Sma 14

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_14?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    126276708881095.9
  ],
  [
    1788912000000,
    126394116964570.6
  ],
  [
    1788998400000,
    126511525048045.3
  ]
]
Metric

Network Difficulty Sma 25

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_25?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    126605359981058.4
  ],
  [
    1788912000000,
    126604197341944.5
  ],
  [
    1788998400000,
    126603034702830.6
  ]
]
Metric

Network Difficulty Sma 40

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_40?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    126683626158931
  ],
  [
    1788912000000,
    126714108223780.4
  ],
  [
    1788998400000,
    126744590288629.8
  ]
]
Metric

Network Difficulty Sma 60

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_60?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    126752018251582.3
  ],
  [
    1788912000000,
    126756689739695.8
  ],
  [
    1788998400000,
    126761361227809.3
  ]
]
Metric

Network Difficulty Sma 90

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_90?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    128003248597567.5
  ],
  [
    1788912000000,
    127875420072051.9
  ],
  [
    1788998400000,
    127747591546536.3
  ]
]
Metric

Network Difficulty Sma 128

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_128?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    130409749143108.4
  ],
  [
    1788912000000,
    130370520851208.5
  ],
  [
    1788998400000,
    130331292559308.6
  ]
]
Metric

Network Difficulty Sma 200

Data used by the Bitcoin Difficulty Ribbon chart.

Endpoint
https://newhedge.io/api/v2/metrics/difficulty-ribbon/network_difficulty_sma_200?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1788825600000,
    133643296293382.8
  ],
  [
    1788912000000,
    133558558234371.5
  ],
  [
    1788998400000,
    133473820175360.2
  ]
]