Ir al contenido
GET /v1/price

Oracle price for a single token by symbol

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/gmx-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/gmx-api/v1/price" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gmx-api/v1/price", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gmx-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/gmx-api/v1/price",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "chain": "arbitrum",
        "source": "GMX",
        "symbol": "BTC",
        "address": "0x47904963fc8b2340414262125aF798B9655E58Cd",
        "decimals": 8,
        "synthetic": true,
        "spread_bps": 0,
        "spread_usd": 0,
        "updated_at": "2026-06-10T22:57:54.021Z",
        "max_price_usd": 61374.4125,
        "mid_price_usd": 61374.4125,
        "min_price_usd": 61374.4125
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:54.616Z",
        "request_id": "a864b73d-d48e-4934-a991-acd8aeceb687"
    },
    "status": "ok",
    "message": "Price retrieved successfully",
    "success": true
}