/v1/performance
Recent throughput samples (TPS)
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/solananetwork-api/v1/performance" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solananetwork-api/v1/performance", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solananetwork-api/v1/performance");
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/solananetwork-api/v1/performance",
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": {
"note": "Recent Solana throughput — for each of the last few one-minute windows: the number of transactions and slots produced, the resulting transactions-per-second and the average slot time. Read the trend to see whether the chain is speeding up or congesting. Live, cached ~30s.",
"source": "Public Solana JSON-RPC (getRecentPerformanceSamples), keyless",
"samples": [
{
"tps": 3497,
"slots": 148,
"period_secs": 60,
"slot_time_ms": 405,
"transactions": 209815
},
{
"tps": 3391,
"slots": 152,
"period_secs": 60,
"slot_time_ms": 395,
"transactions": 203477
},
{
"tps": 3350,
"slots": 155,
"period_secs": 60,
"slot_time_ms": 387,
"transactions": 200988
}
],
"current_tps": 3497
},
"meta": {
"timestamp": "2026-06-12T19:36:08.836Z",
"request_id": "2f0a286b-8f7a-482d-a34e-9772a9397571"
},
"status": "ok",
"message": "Performance retrieved successfully",
"success": true
}