/v1/meta
Service metadata
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/polkadotgov-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/polkadotgov-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/polkadotgov-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/polkadotgov-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"sample": {
"latest": 1903,
"network": "polkadot",
"total_referenda": 1904
},
"source": "public Polkassembly API (api.polkassembly.io), keyless",
"service": "polkadotgov-api",
"networks": [
"polkadot",
"kusama"
],
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/active": "OpenGov referenda currently open for voting (network, limit).",
"GET /v1/referenda": "Recent OpenGov referenda: track, status, proposer (network, page, limit).",
"GET /v1/referendum": "One referendum in full: aye/nay/support tally, status, track, requested (network, id; omit id for latest)."
},
"description": "Read Polkadot and Kusama OpenGov live from the public Polkassembly API: list the most recent referenda with their track, status and proposer; read a single referendum in full with its aye/nay/support tally (converted to DOT/KSM), status, track and requested amount; and browse treasury bounties. Works for both networks via the network parameter. The OpenGov layer for Polkadot/Kusama wallets, governance dashboards and delegates. Live, short cache only.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-14T08:03:46.306Z",
"request_id": "302470bb-6e48-46fb-b07d-a71a885a4592"
},
"status": "ok",
"message": "Meta",
"success": true
}