/v1/block
Block details
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/litecoin-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/litecoin-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/litecoin-api/v1/block");
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/litecoin-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"hash": "08215d27d8cca209d7f01faf0e473d711f95a71fa2c883f8eae90ac7eea63582",
"size": 115339,
"nonce": 1694292631,
"height": 3122719,
"source": "Litecoin",
"weight": 313027,
"version": 536870932,
"tx_count": 293,
"timestamp": "2026-06-10T13:56:29.000Z",
"difficulty": 100804941.18980844,
"merkle_root": "c6b59ea0e9e8d9e806ff80e27d487da4664d9271ba63338abf4b4951f2e88b06",
"previous_hash": "f96fcd5c93bdc08223de3bcfe50b3b69b2e00bd506ee5744cabde29ac4782190"
},
"meta": {
"timestamp": "2026-06-10T14:02:06.358Z",
"request_id": "6cb4e2d4-9720-4769-a9fb-51800ed55ff5"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}