/v1/meta
Service metadata
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/tezosgov-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tezosgov-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tezosgov-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/tezosgov-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": {
"sample": {
"kind": "promotion",
"period": 175,
"status": "active"
},
"source": "public TzKT API (api.tzkt.io /voting), keyless",
"service": "tezosgov-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/current": "The current voting period in full: kind, status, ballot tally, quorum, supermajority.",
"GET /v1/periods": "Recent voting periods, newest first (limit).",
"GET /v1/proposals": "Protocol-amendment proposals with initiator, upvotes, status, Agora link (limit)."
},
"description": "Read Tezos's self-amending on-chain governance live from the public TzKT indexer: the current voting period in full (kind, status, ballot tally, quorum & supermajority), the protocol-amendment proposals with initiators, upvotes and Agora links, and the history of voting periods. The protocol-governance layer for Tezos wallets, governance dashboards and bakers. Live, short cache only.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-14T08:03:46.753Z",
"request_id": "9dc4d6ed-5a01-442e-a3ef-635630ca22a4"
},
"status": "ok",
"message": "Meta",
"success": true
}