Skip to content
GET /v1/block

Block detail by height or hash

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

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

Get an API key

Code snippets

curl "https://api.oanor.com/bittensor-api/v1/block" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bittensor-api/v1/block", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bittensor-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/bittensor-api/v1/block",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "block": {
            "hash": "0xd214af49f259eddbbb8b41f3978c42c9e845594c78035c90d4d95cbee66761d7",
            "size": 2704,
            "miner": "0x1961dF4706Dd7ad10693CfcC9a8F9d07047c3357",
            "height": 8362241,
            "gas_used": 262824,
            "tx_count": 6,
            "gas_limit": 75000000,
            "timestamp": "2026-06-08T13:28:48.000000Z",
            "burnt_fees": "2628240000000000",
            "difficulty": "0",
            "base_fee_per_gas": "10000000000"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:22.255Z",
        "request_id": "05df5e95-8a84-4cfc-afd9-c9583bcd4153"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}