/v1/block
A block details and the Bitcoin block it anchors to
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/stacks-api/v1/block" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stacks-api/v1/block", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stacks-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/stacks-api/v1/block",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"hash": "0x51c90cfa00462be608b49c639aeea9eeee75778fb13c486fc0bfcbf5d0929b5d",
"time": "2026-06-10T14:01:00.000Z",
"height": 8244261,
"source": "Stacks",
"tx_count": 8,
"miner_txid": "0x47760f9b2bf47b4d474253f7ddef8bfe3f7c34a0115c0643399a80b53b17b9b8",
"parent_hash": "0x5f1407feee967c17bd9106fb9bc48b1e542ecf5ce168f062c118fe7b595b67ae",
"tenure_height": 245689,
"bitcoin_burn_block_hash": "0x0000000000000000000169d7903fb22595e7f29e486a97d56844ab7f4f432c44",
"bitcoin_burn_block_time": "2026-06-10T13:56:22.000Z",
"bitcoin_burn_block_height": 953111
},
"meta": {
"timestamp": "2026-06-10T14:01:25.586Z",
"request_id": "ee7c9122-527f-4236-aef5-3b9ac6e5a7b5"
},
"status": "ok",
"message": "Block retrieved successfully",
"success": true
}