Skip to content
GET /v1/block

Block by height — hash, size, timestamp, tx count

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

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

Get an API key

Code snippets

curl "https://api.oanor.com/monero-api/v1/block" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/monero-api/v1/block", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/monero-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/monero-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": "d29c51c4354a396f370335035540fc94372bd277c2f65b50cc5bd2608a92c69c",
        "height": 3000000,
        "source": "xmrchain",
        "tx_count": 38,
        "timestamp": "2023-10-20T14:49:02.000Z",
        "size_bytes": 100297,
        "current_height": 3694084
    },
    "meta": {
        "timestamp": "2026-06-11T16:47:00.844Z",
        "request_id": "f1f5c89b-3d16-4cfe-b904-41cfb1d4c96a"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}