Skip to content
GET /v1/blocks

Latest blocks

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/ancient8-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/ancient8-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ancient8-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ancient8-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/ancient8-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": "0x5bd2cfbe999e70e4f752dc54147713a03dca2c93cce15e25b198321fd7109729",
                "size": 907,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 37442443,
                "gas_used": 46206,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:51:13.000000Z",
                "burnt_fees": "11643912",
                "difficulty": "0",
                "base_fee_per_gas": "252"
            },
            {
                "hash": "0x55353654637ad9cd04ebf2208827bedb169a2ddcf4eb3dc8e1d2decc91786bf3",
                "size": 907,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 37442442,
                "gas_used": 57394,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:51:11.000000Z",
                "burnt_fees": "14463288",
                "difficulty": "0",
                "base_fee_per_gas": "252"
            },
            {
                "hash": "0xbf5d0411a3bc2e6e3166c12fe664ee6779af3775b2c34455c82798920104eae2",
                "size": 907,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 37442441,
                "gas_used": 46206,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:51:09.000000Z",
                "burnt_fees": "11643912",
                "difficulty": "0",
                "base_fee_per_gas": "252"
            },
            {
                "hash": "0xb628c5cc4773aec0be9f57e575b56aabc8ca373471e060799d330b33fc385f2b",
                "size": 907,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 37442440,
                "gas_used": 46206,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:51:07.000000Z",
                "burnt_fees": "11643912",
                "difficulty": "0",
                "base_fee_per_gas": "252"
            },
            {
                "hash": "0x68f0f2ee1b3a89f68387b05034c507f9e7c45fcfa1b46fa68853c3cb7f32a542",
                "size": 907,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 37442439,
                "gas_used": 46206,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:51:05.000000Z",
                "burnt_fees": "11643912",
                "difficulty": "0",
                "base_fee_per_gas": "252"
            },
            {
                "hash": "0xc796d8db3c0553586985d57a7b04ddc4db6542e2a6092cf01ccf0d374af0dd15",
                "size": 907,
                "miner": "0x4200000000000000000000000000000000000011",
                "hei
…