/v1/blocks
Latest blocks
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/nexus-api/v1/blocks" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nexus-api/v1/blocks", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nexus-api/v1/blocks");
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/nexus-api/v1/blocks",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 50,
"blocks": [
{
"hash": "0x21d46ca5f8f6792ee4c31a8ad71a15476c798434461ef3b3600b00155a8bb5d4",
"size": 633,
"miner": "0x05e34FbeBa70fE2d022feDac61bcF4472A2FF257",
"height": 4345763,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 36000000,
"timestamp": "2026-06-08T09:49:53.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x1392da9a47d0a16aab40e7c0e504406a101b56c21232c33de0cf8b7dca5a2608",
"size": 633,
"miner": "0x05e34FbeBa70fE2d022feDac61bcF4472A2FF257",
"height": 4345762,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 36000000,
"timestamp": "2026-06-08T09:49:52.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x9a3c9a8b73a6a7ad3c374aa3ca6870314d9b60a39c44785a2e789cd2665500b4",
"size": 633,
"miner": "0x05e34FbeBa70fE2d022feDac61bcF4472A2FF257",
"height": 4345761,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 36000000,
"timestamp": "2026-06-08T09:49:51.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x04bcf6126b7871d8b5ca208700cf9b9d416dd6df19786c10867b6fe58ba1b732",
"size": 633,
"miner": "0x05e34FbeBa70fE2d022feDac61bcF4472A2FF257",
"height": 4345760,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 36000000,
"timestamp": "2026-06-08T09:49:50.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0x563c9035058ec837c7b10715b9d8c987822550ae7f000728b6e78bc25f87bc1d",
"size": 633,
"miner": "0x05e34FbeBa70fE2d022feDac61bcF4472A2FF257",
"height": 4345759,
"gas_used": 0,
"tx_count": 0,
"gas_limit": 36000000,
"timestamp": "2026-06-08T09:49:49.000000Z",
"burnt_fees": "0",
"difficulty": "0",
"base_fee_per_gas": "7"
},
{
"hash": "0xb4c8268f299a7e64e41f79044f3bb257a7b0d2b5fb4b67d6e9cf0ae65f650179",
"size": 633,
"miner": "0x05e34FbeBa70fE2d022feDac61bcF4472A2FF257",
"height": 4345758,
"gas_used": 0,
"tx_coun
…