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

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

Get an API key

Code snippets

curl "https://api.oanor.com/reya-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reya-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reya-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/reya-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": "0xe7bd863d7df7186e697b93882a26da32a15f42fd7a181fdb632c84a97f217518",
                "size": 2005,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 153553441,
                "gas_used": 17667809,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:48:52.000000Z",
                "burnt_fees": "1766780900000",
                "difficulty": "1",
                "base_fee_per_gas": "100000"
            },
            {
                "hash": "0x7cdc97560e60e777c40cef9c12bee67d826fe2463222c390ea927db43b4ffc3e",
                "size": 2005,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 153553440,
                "gas_used": 17622380,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:48:52.000000Z",
                "burnt_fees": "1762238000000",
                "difficulty": "1",
                "base_fee_per_gas": "100000"
            },
            {
                "hash": "0x8f9827274e03a3caaf78073c8508eb032eb194c0359742082c9c83f3ca797bad",
                "size": 47571,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 153553439,
                "gas_used": 3868487,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:48:52.000000Z",
                "burnt_fees": "386848700000",
                "difficulty": "1",
                "base_fee_per_gas": "100000"
            },
            {
                "hash": "0x034fdfd5584dccdcf56898010c3616670c3953d66a79e4346330c0267450f8b2",
                "size": 2005,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 153553438,
                "gas_used": 17715993,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:48:51.000000Z",
                "burnt_fees": "1771599300000",
                "difficulty": "1",
                "base_fee_per_gas": "100000"
            },
            {
                "hash": "0x1fd71d4d025a2de1ca9a526be488faf73124fab68b94d3956b04a4e98d3abbe1",
                "size": 912,
                "miner": "0xA4b000000000000000000073657175656e636572",
                "height": 153553437,
                "gas_used": 119459,
                "tx_count": 2,
                "gas_limit": 1125899906842624,
                "timestamp": "2026-06-08T09:48:51.000000Z",
                "burnt_fees": "11945900000",
                "difficulty": "1",
                "base_fee_per_gas": "100000"
            },
            {
                "hash": "0x8406d9900df776135c237e7302e387d751c02f3027390686bb76a94cb76a485a",
                "size
…