/v1/apr
eETH restaking APR — latest, 7-day average and history
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}