Skip to main content

Futures Smartlistโ€‹

API for retrieving a ranked list of futures contracts filtered by asset type and category. Each entry includes the instrument key, live price data, and the category-specific metric used for ranking.

A smartlist is a curated, real-time ranked list of instruments grouped by a specific market signal โ€” such as highest traded value, biggest open interest change, or largest premium/discount. Instead of scanning the entire futures market, you get a focused subset of contracts that are most relevant to a given category at that moment.

Requestโ€‹

curl --location 'https://api.upstox.com/v2/market/smartlist/futures?asset_type=INDEX&category=TOP_TRADED&page_number=1&page_size=20' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

For additional samples in various languages, please refer to the Sample code section on this page.


Query Parametersโ€‹

NameRequiredDescription
asset_typetrueAsset type. Accepted values: INDEX, STOCK, COMMODITY.
categorytrueRanking category. Accepted values depend on asset_type โ€” see the table below.
page_numberfalsePage number, 1-indexed. Defaults to 1.
page_sizefalseNumber of records per page. Maximum 50.

Accepted category values by asset_type:

asset_typeAccepted category values
INDEX, STOCKTOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS, PRICE_GAINERS, PRICE_LOSERS, PREMIUM, DISCOUNT
COMMODITYTOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS

The metric_key field in the response indicates which metric was used for ranking:

categorymetric_key
TOP_TRADEDtotal_traded_value
MOST_ACTIVEvolume_traded_today
OI_GAINERS, OI_LOSERSopen_interest
PRICE_GAINERS, PRICE_LOSERSprice
PREMIUMpremium
DISCOUNTdiscount
Responses

Response bodyโ€‹

{
"status": "success",
"data": {
"asset_type": "INDEX",
"category": "TOP_TRADED",
"time_stamp": 1780045636752,
"metric_key": "total_traded_value",
"smartlist": [
{
"instrument_key": "NSE_FO|62329",
"price": {
"current": 23867.0,
"close_price": 23996.7,
"change_abs": -129.70,
"change_pct": -0.54
},
"metric": {
"current": 132094775540,
"previous": 69295823909,
"change_abs": 62798951631.00,
"change_pct": 90.62
}
},
{
"instrument_key": "NSE_FO|62326",
"price": {
"current": 54970.0,
"close_price": 55207.0,
"change_abs": -237.00,
"change_pct": -0.43
},
"metric": {
"current": 45591018600,
"previous": 43236361746,
"change_abs": 2354656854.00,
"change_pct": 5.45
}
},
{
"instrument_key": "NSE_FO|61093",
"price": {
"current": 23977.8,
"close_price": 24089.6,
"change_abs": -111.80,
"change_pct": -0.46
},
"metric": {
"current": 5752633887,
"previous": 4917306790.5,
"change_abs": 835327096.50,
"change_pct": 16.99
}
}
],
"page_number": 1,
"page_size": 3,
"total_pages": 9
}
}
NameTypeDescription
statusstringOutcome of the request. Typically success for successful operations.
dataobjectResponse data object.
data.asset_typestringAsset type from the request.
data.categorystringCategory from the request.
data.time_stampintegerUnix timestamp in milliseconds when the data was generated.
data.metric_keystringThe metric used for ranking in this response.
data.smartlistarrayRanked list of futures instruments.
data.smartlist[].instrument_keystringUnique instrument identifier. See Instrument keys.
data.smartlist[].price.currentnumberLast traded price (LTP).
data.smartlist[].price.close_pricenumberPrevious close price.
data.smartlist[].price.change_absnumberAbsolute price change (current - close_price).
data.smartlist[].price.change_pctnumberPercentage price change.
data.smartlist[].metric.currentnumberCurrent value of the ranking metric.
data.smartlist[].metric.previousnumberPrevious value of the ranking metric.
data.smartlist[].metric.change_absnumberAbsolute change in the metric.
data.smartlist[].metric.change_pctnumberPercentage change in the metric.
data.page_numberintegerCurrent page number.
data.page_sizeintegerNumber of records in the current page.
data.total_pagesintegerTotal number of pages available.

Sample Codeโ€‹

Get futures smartlistโ€‹

curl --location 'https://api.upstox.com/v2/market/smartlist/futures?asset_type=INDEX&category=TOP_TRADED&page_number=1&page_size=20' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'
Loading...