Vai al contenuto
GET /v1/asset

One market OBV / volume card

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/obv-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "key": "sp500",
        "note": "One market's volume card: the OBV trend over ~20 days (accumulation vs distribution), the latest volume and 20-day average, and whether volume is surging (>=1.5x average).",
        "class": "equities",
        "label": "S&P 500",
        "source": "Yahoo Finance",
        "symbol": "SPY",
        "money_flow": "strong accumulation",
        "volume_ratio": 1.67,
        "volume_surge": true,
        "latest_volume": 86176700,
        "avg_volume_20d": 51531220,
        "obv_trend_20d_pct": 15
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:00.614Z",
        "request_id": "5eda5e24-8f95-4191-b34f-ffa01691ae39"
    },
    "status": "ok",
    "message": "Asset retrieved successfully",
    "success": true
}