/v1/components
The seven underlying indicators
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}