/v1/stats
24h stats for a pair
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/coinbase-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coinbase-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coinbase-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/coinbase-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"last": 1668.74,
"pair": "ETH-USD",
"source": "Coinbase Exchange",
"low_24h": 1653.68,
"high_24h": 1714.19,
"open_24h": 1682.3,
"change_24h": -13.56,
"volume_24h": 203905.92270048,
"volume_30day": 4089316.37507375,
"change_24h_pct": -0.806
},
"meta": {
"timestamp": "2026-06-09T11:38:33.895Z",
"request_id": "06b62e7d-8ad6-472f-b9fb-65ca207af400"
},
"status": "ok",
"message": "Stats retrieved successfully",
"success": true
}