/v1/network
Live Stacks chain tip, Bitcoin anchor and STX supply
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/stacks-api/v1/network" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stacks-api/v1/network", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stacks-api/v1/network");
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/network",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"chain": "stacks",
"source": "Stacks",
"network_id": 1,
"anchored_to": "Bitcoin",
"native_token": "STX",
"server_version": "stacks-node 3.4.0.0.3 (32b5f7c, release build, linux [x86_64])",
"total_stx_supply": 1848572029.03,
"stacks_tip_height": 8254471,
"circulating_stx_supply": 1848572029.03,
"stable_burn_block_height": 953259,
"bitcoin_burn_block_height": 953266
},
"meta": {
"timestamp": "2026-06-11T16:54:40.165Z",
"request_id": "e67d7726-5181-4da9-9960-0228173f5d73"
},
"status": "ok",
"message": "Network state retrieved successfully",
"success": true
}