/v1/asset
Oracle quotation by blockchain + contract address
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}