/v1/quotation
Oracle quotation by symbol
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/dia-api/v1/quotation" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dia-api/v1/quotation", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dia-api/v1/quotation");
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/quotation",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"name": "Bitcoin",
"time": "2026-06-15T11:13:59Z",
"source": "diadata.org",
"symbol": "BTC",
"address": "0x0000000000000000000000000000000000000000",
"price_usd": 65941.04094560664,
"blockchain": "Bitcoin",
"change_24h_percent": 2.2462,
"price_yesterday_usd": 64492.43785382183,
"volume_yesterday_usd": 8204462601.628017
},
"meta": {
"timestamp": "2026-06-15T11:15:43.082Z",
"request_id": "f53e4a49-06e0-4592-9820-c3ea8498f4c3"
},
"status": "ok",
"message": "Quotation retrieved successfully",
"success": true
}