/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/politeia-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/politeia-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/politeia-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/politeia-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"sample": {
"approved": 20,
"total_proposals": 60
},
"source": "public Decred Politeia API (proposals.decred.org/api), keyless",
"service": "politeia-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/stats": "Live overview: proposal counts by vote status.",
"GET /v1/proposal": "One proposal in full: vote result, quorum, pass (token; omit for latest approved).",
"GET /v1/proposals": "Proposals in a vote status with title, author, tally (status, limit)."
},
"description": "Read Decred Politeia treasury governance live from the public Politeia API: list proposals by vote status with title, author and yes/no ticket-vote tally; read a single proposal in full with its vote result and quorum/pass thresholds; and get a live overview of how many proposals sit in each vote status. The treasury-governance layer for Decred wallets, stakeholder dashboards and voters. Live, short cache only.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-14T17:04:44.782Z",
"request_id": "ea3d8114-3b5d-4bb3-8c5a-bb1b52d47ab9"
},
"status": "ok",
"message": "Meta",
"success": true
}