/v1/difficulty
Difficulty retarget window: progress, projected change, retarget date, blocks left
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-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_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten 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
}