/v1/asset
Oracle quotation by blockchain + contract address
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/dia-api/v1/asset" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dia-api/v1/asset", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dia-api/v1/asset");
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/dia-api/v1/asset",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"name": "Ether",
"time": "2026-06-15T11:13:59Z",
"source": "diadata.org",
"symbol": "ETH",
"address": "0x0000000000000000000000000000000000000000",
"price_usd": 1739.609303910375,
"blockchain": "Ethereum",
"change_24h_percent": 4.0578,
"price_yesterday_usd": 1671.7725287549868,
"volume_yesterday_usd": 2460795454.577498
},
"meta": {
"timestamp": "2026-06-15T11:15:41.753Z",
"request_id": "55ed6a97-0e3d-4990-a6cb-f6ba107790eb"
},
"status": "ok",
"message": "Asset quotation retrieved successfully",
"success": true
}