/v1/screener
Rank the universe by current streak, reversal odds or longest streak
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/streak-api/v1/screener" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/streak-api/v1/screener", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/streak-api/v1/screener");
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/streak-api/v1/screener",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Ranked by current_streak over window_days of daily closes. current_streak_length is how many consecutive up/down days the instrument is on right now; current_reversal_prob_pct is the historical share of times a streak of that length reversed the next day. Read fresh per call, nothing cached.",
"class": "all",
"count": 20,
"metric": "current_streak",
"source": "Yahoo Finance",
"results": [
{
"name": "Utilities Sector",
"rank": 1,
"class": "sector",
"symbol": "XLU",
"available": true,
"longest_overall": 8,
"current_direction": "up",
"abs_current_streak": 3,
"current_streak_length": 3,
"current_reversal_prob_pct": 23.5
},
{
"name": "Apple",
"rank": 2,
"class": "stock",
"symbol": "AAPL",
"available": true,
"longest_overall": 8,
"current_direction": "up",
"abs_current_streak": 2,
"current_streak_length": 2,
"current_reversal_prob_pct": 40.8
},
{
"name": "Bitcoin",
"rank": 3,
"class": "crypto",
"symbol": "BTC-USD",
"available": true,
"longest_overall": 8,
"current_direction": "up",
"abs_current_streak": 2,
"current_streak_length": 2,
"current_reversal_prob_pct": 54.4
},
{
"name": "Ethereum",
"rank": 4,
"class": "crypto",
"symbol": "ETH-USD",
"available": true,
"longest_overall": 9,
"current_direction": "up",
"abs_current_streak": 2,
"current_streak_length": 2,
"current_reversal_prob_pct": 60
},
{
"name": "S&P 500 ETF",
"rank": 5,
"class": "index",
"symbol": "SPY",
"available": true,
"longest_overall": 9,
"current_direction": "up",
"abs_current_streak": 1,
"current_streak_length": 1,
"current_reversal_prob_pct": 46
},
{
"name": "Nasdaq 100 ETF",
"rank": 6,
"class": "index",
"symbol": "QQQ",
"available": true,
"longest_overall": 13,
"current_direction": "up",
"abs_current_streak": 1,
"current_streak_length": 1,
"current_reversal_prob_pct": 48.4
},
{
"name": "Russell 2000 E
…