/v1/block
A block details by revision
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/vechain-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vechain-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vechain-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/vechain-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"id": "0x00e4e1c088267e1441dad6fc4a1e146f0269491b9109413abea2ef6f91a463a6",
"size": 361,
"number": 15000000,
"source": "VeChain",
"gas_used": 0,
"tx_count": 0,
"gas_limit": 30000000,
"parent_id": "0x00e4e1bf23a82502afa467a832d9b5ff5de916476f29c5252c4b9b00c669856e",
"timestamp": "2023-04-03T12:09:20.000Z",
"beneficiary": "0x762382e169c3488f50b9e2655714ce47fd40be03",
"total_score": 1458595311,
"gas_used_pct": 0,
"is_finalized": true
},
"meta": {
"timestamp": "2026-06-10T14:01:38.800Z",
"request_id": "f788954a-22ee-43f3-9808-a06a903b4962"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}