Ir al contenido
GET /v1/asset

One market multi-timeframe momentum card

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

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

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

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

{
    "data": {
        "key": "sp500",
        "note": "One market's multi-timeframe momentum: trailing returns over 1w/1m/3m/6m/12m with each timeframe's direction and the overall alignment score (-5 to +5) and coherence.",
        "class": "equities",
        "label": "S&P 500",
        "source": "Yahoo Finance",
        "symbol": "SPY",
        "coherence": "mixed / no clear trend",
        "directions": {
            "1m": "down",
            "1w": "down",
            "3m": "up",
            "6m": "up",
            "12m": "up"
        },
        "returns_pct": {
            "1m": -0.06,
            "1w": -2.55,
            "3m": 10.76,
            "6m": 8.01,
            "12m": 22.2
        },
        "timeframes_up": 3,
        "alignment_score": 1,
        "timeframes_down": 2
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:02.118Z",
        "request_id": "9ef7ffe3-4a2f-4059-9c92-1dc1b0a3605a"
    },
    "status": "ok",
    "message": "Asset retrieved successfully",
    "success": true
}