Ir al contenido
GET /v1/prices

Many assets in one call (any class)

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/redstone-api

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "count": 5,
        "prices": [
            {
                "value": 63298.3919,
                "source": "RedStone",
                "symbol": "BTC",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 1662.47256779,
                "source": "RedStone",
                "symbol": "ETH",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 295.53,
                "source": "RedStone",
                "symbol": "AAPL",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 4179.42944,
                "source": "RedStone",
                "symbol": "XAU",
                "timestamp": "2026-06-12T01:42:40.000Z"
            },
            {
                "value": 1.15621906,
                "source": "RedStone",
                "symbol": "EUR",
                "timestamp": "2026-06-12T01:42:40.000Z"
            }
        ],
        "source": "RedStone",
        "missing": [],
        "requested": 5
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:59.451Z",
        "request_id": "2880ceca-4427-4b85-abc0-8b7ad0103a09"
    },
    "status": "ok",
    "message": "Prices retrieved successfully",
    "success": true
}