/v1/difficulty
Difficulty-adjustment status
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/mempool-api/v1/difficulty" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mempool-api/v1/difficulty", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mempool-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/mempool-api/v1/difficulty",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"remaining_time": 523326747,
"progress_percent": 61.35912698412699,
"remaining_blocks": 779,
"difficulty_change": -10.614686483539892,
"previous_retarget": 1.7190077664198355,
"estimated_retarget_date": 1781404921747
},
"meta": {
"timestamp": "2026-06-08T01:19:55.625Z",
"request_id": "ee6053cd-3bb8-4ce6-b31a-31f77f4d3f4a"
},
"status": "ok",
"message": "Difficulty retrieved successfully",
"success": true
}