/v1/cycle
Current (or a given) Tezos protocol cycle
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/tezosbakers-api/v1/cycle" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tezosbakers-api/v1/cycle", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tezosbakers-api/v1/cycle");
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/tezosbakers-api/v1/cycle",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "A Tezos protocol cycle: its level range, the rights-snapshot level, total baking power (in XTZ) and the number of bakers/delegators. Omit cycle for the current one.",
"cycle": 1264,
"source": "TzKT",
"end_time": "2026-06-16T21:17:25Z",
"last_level": 13670688,
"start_time": "2026-06-15T21:17:31Z",
"first_level": 13656289,
"total_bakers": 217,
"snapshot_level": 13627488,
"total_delegators": null,
"total_baking_power_xtz": 435477508.058707
},
"meta": {
"timestamp": "2026-06-14T08:03:54.933Z",
"request_id": "99bc465d-2673-4470-8578-d078a945e96f"
},
"status": "ok",
"message": "Cycle retrieved successfully",
"success": true
}