/v1/meta
Service metadata and endpoint catalog
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/stacks-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stacks-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stacks-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"source": "Hiro Stacks API (api.hiro.so, live)",
"service": "stacks-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/block": "A block's details and the Bitcoin block it anchors to (height=latest|N).",
"GET /v1/account": "An address's available, stacked and total STX (address=SPE3481ZKSV7AT33BG20J7ZYMKG61V36W7M987KV).",
"GET /v1/network": "Chain tip, anchored Bitcoin height and total STX supply.",
"GET /v1/stacking": "Live Proof-of-Transfer stacking state and reward cycle."
},
"description": "Live on-chain data from the Stacks network (STX), a Bitcoin layer that settles to Bitcoin and uses Proof of Transfer (PoX), where STX holders stack tokens to secure the chain and earn BTC, via the public Hiro Stacks API. The account endpoint returns an address's available and locked (stacked) STX, totals sent/received and miner rewards; the block endpoint returns a Stacks block's height, hash, transaction count and the Bitcoin burn block it anchors to; the stacking endpoint returns the live PoX state (current reward cycle, STX stacked, share of supply locked, minimum threshold); the network endpoint returns the chain tip, anchored Bitcoin block height and total STX supply. Live, no key, nothing stored. Distinct from the Bitcoin, Celestia, Cosmos, Solana and EVM on-chain APIs and from price feeds — this is Stacks' own STX account state, PoX stacking economy and Bitcoin-anchored blocks.",
"upstream_status": "ok",
"stacks_tip_height": 8244261
},
"meta": {
"timestamp": "2026-06-10T14:01:26.233Z",
"request_id": "9a9e9c85-0753-48a1-acf3-9e6929914cc7"
},
"status": "ok",
"message": "Meta",
"success": true
}