Skip to main content

MTF Smartlist

API for retrieving a ranked list of Margin Trade Funding (MTF) eligible stocks enriched with live LTP data. Each entry shows the actual market price, the effective MTF price after margin, and the total margin saved.

Request

curl --location 'https://api.upstox.com/v2/market/smartlist/mtf?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
page_numberfalsePage number, 1-indexed. Defaults to 1.
page_sizefalseNumber of records per page. Maximum 50.
Responses

Response body

{
"status": "success",
"data": {
"asset_type": "STOCK",
"category": "MTF",
"time_stamp": 1780045827238,
"metric_key": "margin_saved",
"smartlist": [
{
"instrument_key": "NSE_EQ|INE040A01034",
"price": {
"actual_price": 755.1,
"mtf_price": 555.00,
"margin_saved": 200.10,
"close_price": 758.65
},
"mtf_percent": 26.5
},
{
"instrument_key": "NSE_EQ|INE463A01038",
"price": {
"actual_price": 505.8,
"mtf_price": 363.67,
"margin_saved": 142.13,
"close_price": 526.95
},
"mtf_percent": 28.1
},
{
"instrument_key": "NSE_EQ|INE750A01020",
"price": {
"actual_price": 95.3,
"mtf_price": 61.94,
"margin_saved": 33.36,
"close_price": 97.55
},
"mtf_percent": 35.0
}
],
"page_number": 1,
"page_size": 3,
"total_pages": 469
}
}
NameTypeDescription
statusstringOutcome of the request. Typically success for successful operations.
dataobjectResponse data object.
data.asset_typestringAlways STOCK for MTF.
data.categorystringAlways MTF.
data.time_stampintegerUnix timestamp in milliseconds when the data was generated.
data.metric_keystringAlways margin_saved for MTF.
data.smartlistarrayRanked list of MTF-eligible stocks.
data.smartlist[].instrument_keystringUnique instrument identifier. See Instrument keys.
data.smartlist[].price.actual_pricenumberCurrent market price (LTP).
data.smartlist[].price.mtf_pricenumberEffective price after applying MTF margin (actual_price - margin_saved).
data.smartlist[].price.margin_savednumberMargin amount saved via MTF (mtf_percent of actual_price).
data.smartlist[].price.close_pricenumberPrevious close price.
data.smartlist[].mtf_percentnumberMTF margin percentage for this stock.
data.page_numberintegerCurrent page number.
data.page_sizeintegerNumber of records in the current page.
data.total_pagesintegerTotal number of pages available.

Sample Code

Get MTF Smartlist stocks

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