Zum Inhalt springen
GET /v1/stacking

Live Proof-of-Transfer stacking state and reward cycle

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "source": "Stacks",
        "next_cycle": {
            "id": 137,
            "stacked_stx": 115932029.96357,
            "min_threshold_stx": 120000,
            "blocks_until_start": 639
        },
        "stacked_stx": 504262340.623865,
        "is_pox_active": true,
        "current_cycle_id": 136,
        "min_threshold_stx": 130000,
        "stacked_ratio_pct": 27.28,
        "reward_cycle_length": 2100,
        "total_liquid_supply_stx": 1848441120.01581
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:26.087Z",
        "request_id": "64daacb6-3fad-4451-b671-253992e07196"
    },
    "status": "ok",
    "message": "Stacking state retrieved successfully",
    "success": true
}