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

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

Get an API key

Code snippets

curl "https://api.oanor.com/harmony-api/v1/blocks" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/harmony-api/v1/blocks", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/harmony-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/harmony-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": "0x5cc8246e027dcc6dd90caa230a9fe463e2c70cbce0aaa8aa92dcacd3217829cb",
                "size": 1134,
                "miner": "0x89235Cc98AbbFFf24a8D9cBc3b3E866A574D3ee9",
                "height": 89952601,
                "gas_used": 21000,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:48:17.000000Z",
                "burnt_fees": null,
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x29ed3cb924e0f34b761ce2113ed115f31092dce1476bec9cd5dd2faa315d04e7",
                "size": 2255,
                "miner": "0x89235Cc98AbbFFf24a8D9cBc3b3E866A574D3ee9",
                "height": 89952539,
                "gas_used": 132016,
                "tx_count": 4,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:46:13.000000Z",
                "burnt_fees": null,
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xd839118439b237a31aebe76a838c2f4cb009b81dcf23cf5b82cc727573d421b2",
                "size": 2565,
                "miner": "0x89235Cc98AbbFFf24a8D9cBc3b3E866A574D3ee9",
                "height": 89952537,
                "gas_used": 164993,
                "tx_count": 5,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:46:09.000000Z",
                "burnt_fees": null,
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x8ba8308f01602edd8c69b12673ad940cb299ba78ef3e5cac3e6deafc9ca4c7f4",
                "size": 1324,
                "miner": "0xd143988234dF9117f4Baa00b5f8D4A56d64e56eA",
                "height": 89952393,
                "gas_used": 32965,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:41:20.000000Z",
                "burnt_fees": null,
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xbe506ec9f7f8b34946f8b0ff5a41e112b54b88003b02654f560b30eba6c7d830",
                "size": 2565,
                "miner": "0xd143988234dF9117f4Baa00b5f8D4A56d64e56eA",
                "height": 89952390,
                "gas_used": 171004,
                "tx_count": 5,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T09:41:14.000000Z",
                "burnt_fees": null,
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x9f34aa448c96f32c5f79e54018fa922deff1b548748e096e72d1bbefd1c181dd",
                "size": 2565,
                "miner": "0xd143988234dF9117f4Baa00b5f8D4A56d64e56eA",
                "height": 89952387,
          
…