Skip to content
GET /v1/block

Block by height (or latest)

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/zircuit-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/zircuit-api/v1/block" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/zircuit-api/v1/block", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/zircuit-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/zircuit-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": "0xad3cefedd7dfb419c32e92eec345e8e48f8946f25fa15e9c926f3a75de91feaf",
        "miner": "0x4200000000000000000000000000000000000011",
        "number": 20000000,
        "gas_used": 48483,
        "gas_limit": 30000000,
        "timestamp": 1759936215,
        "size_bytes": 897,
        "parent_hash": "0x54fafd701a58ff4600a53e28e8bdacdab6b2171b67f2e0c71bfedff9e98fa010",
        "timestamp_iso": "2025-10-08T15:10:15.000Z",
        "transaction_count": 1,
        "base_fee_per_gas_wei": "254"
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:44.753Z",
        "request_id": "db7c8fad-a022-446d-8c1f-5cdb3ec05a72"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}