Skip to content
GET /v1/difficulty

Difficulty retarget window: progress, projected change, retarget date, blocks left

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/litecoinfees-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/litecoinfees-api/v1/difficulty" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/litecoinfees-api/v1/difficulty", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/litecoinfees-api/v1/difficulty");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/litecoinfees-api/v1/difficulty",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Litecoin's current difficulty retarget window (Litecoin retargets every 2016 blocks, ~3.5 days): how far through it the chain is, the projected difficulty change, the estimated retarget date and the blocks remaining.",
        "source": "Litecoin Space",
        "progress_pct": 11.9048,
        "remaining_blocks": 1776,
        "remaining_time_ms": 275889168,
        "next_retarget_height": 3126816,
        "difficulty_change_pct": -3.2476,
        "previous_retarget_pct": -1.0652,
        "estimated_retarget_timestamp": 1781732557168
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:28.717Z",
        "request_id": "537e197c-a55c-4d56-abf6-c7bae9f53477"
    },
    "status": "ok",
    "message": "Difficulty retrieved successfully",
    "success": true
}