/v1/stats
Network stats
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/astar-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/astar-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/astar-api/v1/stats");
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/astar-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"tvl_usd": null,
"gas_prices": {
"fast": 684.45,
"slow": 684.45,
"average": 684.45
},
"total_blocks": 13619450,
"coin_price_usd": null,
"gas_used_today": "579569069",
"market_cap_usd": 0,
"total_addresses": "5226811",
"total_transactions": "82536998",
"transactions_today": "4850",
"network_utilization_percent": 0.048192733333333335
},
"meta": {
"timestamp": "2026-06-08T18:26:34.528Z",
"request_id": "b7b2e710-50b5-4a53-a3e3-f109f6493a5e"
},
"status": "ok",
"message": "Stats retrieved successfully",
"success": true
}