/v1/meta
Provider metadata & endpoint guide
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/dia-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dia-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dia-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "DIA prices are transparent oracle reference prices aggregated across CEX/DEX trades; query by symbol or by blockchain + contract address (native = 0x000…0).",
"source": "DIA public REST (api.diadata.org/v1), keyless",
"examples": {
"asset": "/v1/asset?blockchain=Ethereum&address=0x0000000000000000000000000000000000000000",
"assets": "/v1/assets?blockchain=Ethereum&limit=50",
"symbols": "/v1/symbols",
"quotation": "/v1/quotation?symbol=BTC"
},
"provider": "DIA (Decentralised Information Asset)",
"endpoints": {
"/v1/asset": "oracle quotation by blockchain + contract address (blockchain, address)",
"/v1/assets": "catalogue of quoted assets with chain, address & volume (filter blockchain, limit)",
"/v1/symbols": "all supported symbols",
"/v1/quotation": "oracle quotation by symbol: price, yesterday's price, 24h change & volume (symbol=BTC)"
},
"cache_ttl_ms": 20000
},
"meta": {
"timestamp": "2026-06-15T11:15:43.544Z",
"request_id": "c6c4afd3-7c41-4f81-b75e-d07cadf2e2a2"
},
"status": "ok",
"message": "Meta",
"success": true
}