/v1/price
Current token price(s)
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/price" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tokenprice-api/v1/price", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tokenprice-api/v1/price");
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/price",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 1,
"prices": [
{
"price": 0.9996178037354563,
"token": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"decimals": 6,
"timestamp": 1781005077,
"confidence": 0.99
}
]
},
"meta": {
"timestamp": "2026-06-09T11:39:46.151Z",
"request_id": "b662a4c8-d78e-4fe7-9aee-849681f90cb6"
},
"status": "ok",
"message": "Price retrieved successfully",
"success": true
}