Naar de inhoud
GET /v1/summary

DRep count and total active voting power per epoch

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/cardanodreps-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "The network-wide DRep governance trend per epoch: how many DReps held delegated voting power and the total active voting power (in ADA) behind them. Newest epoch first. Pass epoch_no for a single epoch, or omit for the recent trend.",
        "count": 1,
        "epochs": [
            {
                "epoch_no": 637,
                "drep_count": 890,
                "active_power_ada": 15101731104.472385,
                "active_power_lovelace": "15101731104472386"
            }
        ],
        "source": "Koios"
    },
    "meta": {
        "timestamp": "2026-06-14T17:04:24.049Z",
        "request_id": "ec031f72-488e-44e4-845e-ba98cedf6164"
    },
    "status": "ok",
    "message": "DRep epoch summary retrieved successfully",
    "success": true
}