Vai al contenuto
GET /v1/components

The seven underlying indicators

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "count": 9,
        "index": "CNN Fear & Greed (US stocks)",
        "source": "CNN Business",
        "components": [
            {
                "label": "Market Momentum (S&P 500)",
                "score": 51.2,
                "rating": "neutral",
                "indicator": "market_momentum_sp500"
            },
            {
                "label": "Market Momentum (S&P 125-day)",
                "score": 51.2,
                "rating": "neutral",
                "indicator": "market_momentum_sp125"
            },
            {
                "label": "Stock Price Strength",
                "score": 31.6,
                "rating": "fear",
                "indicator": "stock_price_strength"
            },
            {
                "label": "Stock Price Breadth",
                "score": 19.2,
                "rating": "extreme fear",
                "indicator": "stock_price_breadth"
            },
            {
                "label": "Put/Call Options",
                "score": 27,
                "rating": "fear",
                "indicator": "put_call_options"
            },
            {
                "label": "Market Volatility (VIX)",
                "score": 50,
                "rating": "neutral",
                "indicator": "market_volatility_vix"
            },
            {
                "label": "Market Volatility (VIX 50-day)",
                "score": 50,
                "rating": "neutral",
                "indicator": "market_volatility_vix_50"
            },
            {
                "label": "Junk Bond Demand",
                "score": 6.4,
                "rating": "extreme fear",
                "indicator": "junk_bond_demand"
            },
            {
                "label": "Safe Haven Demand",
                "score": 22.4,
                "rating": "extreme fear",
                "indicator": "safe_haven_demand"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:36.419Z",
        "request_id": "c13aec14-3796-41b1-bdbe-ef79516d21a6"
    },
    "status": "ok",
    "message": "Components retrieved successfully",
    "success": true
}