Skip to content
GET /v1/block

Block by height (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/plasma-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/plasma-api/v1/block" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/plasma-api/v1/block", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/plasma-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/plasma-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": "0xd88cf7214c691bef18a106adf4139b8a766bf5387e8c4983555946ce049ee03b",
        "miner": "0x000000000000000000000000000000000a11b005",
        "number": 5000000,
        "gas_used": 9333685,
        "gas_limit": 36000000,
        "timestamp": 1761929411,
        "size_bytes": 3871,
        "parent_hash": "0x3b86c1fdf47e7063cbda617342f052a6e7202a1fb47568973eb6ce0745ac1c83",
        "timestamp_iso": "2025-10-31T16:50:11.000Z",
        "transaction_count": 14,
        "base_fee_per_gas_wei": "13"
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:41.906Z",
        "request_id": "3da6c2d2-466a-4264-9359-c0b7a5cc3f1b"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}