/v1/apr
eETH restaking APR — latest, 7-day average and history
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/etherfi-api/v1/apr" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/etherfi-api/v1/apr", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/etherfi-api/v1/apr");
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/etherfi-api/v1/apr",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"days": 7,
"note": "ether.fi's eETH restaking APR — the latest reading, the average of the recent daily readings, and the daily history (most recent last). The yield combines Ethereum staking rewards with EigenLayer restaking rewards (the restaking premium), so it moves with both staking participation and restaking demand. Annualised percent. Live, cached ~5m.",
"source": "ether.fi public APR API (etherfi.bid), keyless",
"apr_pct": 2.69,
"history_pct": [
2.4,
2.4,
2.46,
2.5,
2.5,
2.63,
2.69
],
"apr_7d_avg_pct": 2.511
},
"meta": {
"timestamp": "2026-06-12T19:35:38.520Z",
"request_id": "ab6ad362-d966-4c33-b72d-cafd130ad195"
},
"status": "ok",
"message": "APR retrieved successfully",
"success": true
}