Ir al contenido
GET /v1/proposal

One proposal in full: vote result, quorum, pass thresholds

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/politeia-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "A single Decred Politeia proposal: its title, author and full ticket-vote result with quorum and pass thresholds. Omit token for the most recent approved proposal.",
        "title": "1 year extension for DCR/USDT Hummingbot Miner campaign on Binance",
        "token": "c72e7451e4909a20",
        "author": "coinalpha",
        "source": "Decred Politeia",
        "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
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:38.636Z",
        "request_id": "c667b2d0-ceec-438f-9226-5819a58fb2a1"
    },
    "status": "ok",
    "message": "Proposal retrieved successfully",
    "success": true
}