/v1/apy
mSOL staking APY over 30d and 7d
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/marinade-api/v1/apy" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marinade-api/v1/apy", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marinade-api/v1/apy");
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/marinade-api/v1/apy",
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": {
"apy": [
{
"window": "30d",
"apy_pct": 6.0234,
"end_time": "2026-06-10T22:54:47Z",
"end_price": 1.38638691,
"start_time": "2026-05-11T22:49:48Z",
"start_price": 1.37973723
},
{
"window": "7d",
"apy_pct": 6.9857,
"end_time": "2026-06-10T22:54:47Z",
"end_price": 1.38638691,
"start_time": "2026-06-03T22:49:48Z",
"start_price": 1.3845918
}
],
"note": "mSOL accrues Solana staking rewards; its SOL value rises over time (no rebase).",
"token": "mSOL",
"source": "Marinade"
},
"meta": {
"timestamp": "2026-06-10T22:57:28.657Z",
"request_id": "dafe41b3-121d-4215-9d1d-14fdc943b954"
},
"status": "ok",
"message": "APY retrieved successfully",
"success": true
}