/v1/historical
Price at a past timestamp
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/tokenprice-api/v1/historical" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tokenprice-api/v1/historical", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tokenprice-api/v1/historical");
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/tokenprice-api/v1/historical",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"price": 1,
"token": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"decimals": 6,
"timestamp": 1700000107,
"confidence": 0.99,
"requested_timestamp": 1700000000
},
"meta": {
"timestamp": "2026-06-09T11:39:45.989Z",
"request_id": "c2df436c-34c1-4f39-846b-b77a20178a79"
},
"status": "ok",
"message": "Historical price retrieved successfully",
"success": true
}