Zum Inhalt springen
GET /v1/summary

A proposal's voting tally by DRep/SPO/committee

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cardanoproposals-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/cardanoproposals-api/v1/summary" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cardanoproposals-api/v1/summary", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cardanoproposals-api/v1/summary");
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/cardanoproposals-api/v1/summary",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "drep": {
            "no_pct": 80.07,
            "yes_pct": 19.93,
            "no_power_ada": 4635834362.447173,
            "no_votes_cast": 5,
            "yes_power_ada": 1153688840.107432,
            "yes_votes_cast": 39,
            "abstain_votes_cast": 3
        },
        "note": "The live voting tally for one governance action, broken down by the three governance bodies — DReps, stake pools (SPOs) and the constitutional committee — with each body's Yes / No / Abstain vote counts, voting power (ADA) and percentages. Omit proposal_id to use the latest proposal.",
        "pool": {
            "no_pct": 0,
            "yes_pct": 0,
            "no_votes_cast": 0,
            "yes_votes_cast": 0
        },
        "source": "Koios",
        "epoch_no": 637,
        "committee": {
            "yes_pct": 0,
            "no_votes_cast": 0,
            "yes_votes_cast": 0
        },
        "proposal_id": "gov_action1654yj97lf7guxsh27phtknq2tsc4dajp95fh7vrucaltjy0502csq7qtkhq",
        "proposal_type": "TreasuryWithdrawals"
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:17.196Z",
        "request_id": "dee8b7fa-7ba3-40e6-9f7e-3fe9878ccaa2"
    },
    "status": "ok",
    "message": "Proposal voting summary retrieved successfully",
    "success": true
}