Get top performers in an index universe
GET
/api/v1/public/market/top-performers/:universe2 credits / callAPI key required
Best- or worst-performing members of an index universe over a chosen return window. Each entry carries the ticker and its percentage change for the selected period, sorted by the chosen direction.
Parameters
Path
Index universe to rank within.
Query
Return window to rank by.
Maximum number of performers to return (1-100, default 10).
Rank by top gainers or top losers.
Code example
cURL
curl -X GET 'https://api.signal8.ai/api/v1/public/market/top-performers/?limit=10' \
-H "X-Api-Key: $SIGNAL8_API_KEY"Request URL
fix parameters to runGET
https://api.signal8.ai/api/v1/public/market/top-performers/?limit=10example · 200
{
"data": {
"universe": "sp500",
"period": "1D",
"direction": "gainers",
"count": 3,
"performers": [
{
"ticker": "NVDA",
"changePercent": 6.42
},
{
"ticker": "AMD",
"changePercent": 5.18
},
{
"ticker": "AVGO",
"changePercent": 4.73
}
]
}
}