Skip to content
GET /v1/block

Block by number (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/kaia-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/kaia-api/v1/block" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kaia-api/v1/block", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kaia-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/kaia-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": "0xfb43a66d24a0574ca7b7089037c66142a422c778a2b8282b5c791b5bbb39ff68",
        "chain": "Kaia",
        "miner": "0xf113ec8c22765d485309cf1d025d1b975245b9f8",
        "number": 5000000,
        "gas_used": 11178746,
        "tx_count": 5,
        "gas_limit": 500000000,
        "timestamp": 1566463357,
        "size_bytes": 37579,
        "parent_hash": "0x87b494c44d7e1e923a200b7de517030d4ad730942966bfc39c6c771a3443de41",
        "timestamp_iso": "2019-08-22T08:42:37.000Z"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:14.435Z",
        "request_id": "ceb093b7-1249-40c6-9f61-e1efc6c25ee5"
    },
    "status": "ok",
    "message": "Kaia block retrieved",
    "success": true
}