/v1/stats
Live overview: proposal counts by vote status
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/politeia-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/politeia-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/politeia-api/v1/stats");
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/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Live Decred Politeia governance overview: how many vetted treasury proposals currently sit in each vote status (approved, rejected, started, authorized, unauthorized, ineligible).",
"source": "Decred Politeia",
"by_status": {
"started": 0,
"approved": 20,
"rejected": 20,
"authorized": 0,
"ineligible": 20,
"unauthorized": 0
},
"total_vetted_proposals": 60
},
"meta": {
"timestamp": "2026-06-14T17:04:44.691Z",
"request_id": "b84af6cb-a3a6-4e6f-82a5-7500bc532855"
},
"status": "ok",
"message": "Stats retrieved successfully",
"success": true
}