Naar de inhoud
GET /v1/performance

Recent throughput samples (TPS)

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/solananetwork-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}