/v1/proposals
Proposals in a vote status with title, author and tally
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/politeia-api/v1/proposals" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/politeia-api/v1/proposals", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/politeia-api/v1/proposals");
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/proposals",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Decred Politeia treasury proposals in the requested vote status, each with its title, author and yes/no ticket-vote tally. status can be approved / rejected / started / authorized / unauthorized / ineligible.",
"count": 10,
"source": "Decred Politeia",
"status": "approved",
"proposals": [
{
"title": "1 year extension for DCR/USDT Hummingbot Miner campaign on Binance",
"token": "c72e7451e4909a20",
"author": "coinalpha",
"no_votes": 3134,
"pass_pct": 60,
"yes_votes": 11696,
"quorum_pct": 20,
"total_votes": 14830,
"vote_status": "approved",
"approval_pct": 78.87,
"eligible_tickets": 40938,
"end_block_height": 1052764,
"submitted_timestamp": 1768082886
},
{
"title": "Decred Vanguard 2026",
"token": "cc5ea83ed9f6fe58",
"author": "exitus",
"no_votes": 1469,
"pass_pct": 60,
"yes_votes": 14585,
"quorum_pct": 20,
"total_votes": 16054,
"vote_status": "approved",
"approval_pct": 90.85,
"eligible_tickets": 40938,
"end_block_height": 1052764,
"submitted_timestamp": 1769447008
},
{
"title": "1 year Hummingbot Miner campaign for DCR/USDT on MEXC",
"token": "83d20ca89d31021e",
"author": "coinalpha",
"no_votes": 3900,
"pass_pct": 60,
"yes_votes": 7131,
"quorum_pct": 20,
"total_votes": 11031,
"vote_status": "approved",
"approval_pct": 64.65,
"eligible_tickets": 40938,
"end_block_height": 1052764,
"submitted_timestamp": 1768082875
},
{
"title": "Schnorr Poker: Retroactive Billing",
"token": "d9441e9322dc0b1f",
"author": "vctt",
"no_votes": 3645,
"pass_pct": 60,
"yes_votes": 7072,
"quorum_pct": 20,
"total_votes": 10717,
"vote_status": "approved",
"approval_pct": 65.99,
"eligible_tickets": 42139,
"end_block_height": 1046181,
"submitted_timestamp": 1766093921
},
{
"title": "Decred Status platform 2026",
"token": "b4ea3d6deacb1d77",
"author": "peter_zen",
"no_votes": 1549,
"pass_pct": 60,
"yes_votes": 11946,
"quorum_pct": 20,
"total_votes": 13495,
…