Skip to main content

LTP Quotes V3โ€‹

API provides LTP quotes for specified instruments. In V3, the response has been enhanced to include:

  • ltq: The quantity of the last traded transaction.
  • volume: The cumulative trading volume for the current day.
  • cp: The closing price from the previous trading day.

Requestโ€‹

curl --location 'https://api.upstox.com/v3/market-quote/ltp?instrument_key=NSE_EQ%7CINE848E01016' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Additional samples in various languages are available in the Sample Code section on this page.


Query Parametersโ€‹

NameRequiredDescription
instrument_keytrueComma separated list of instrument keys. For the regex pattern applicable to this field, see the Field Pattern Appendix.
Responses

Response bodyโ€‹

{
"status": "success",
"data": {
"NSE_FO:NIFTY2543021600PE": {
"last_price": 303.9,
"instrument_token": "NSE_FO|51834",
"ltq": 75,
"volume": 170325,
"cp": 29.0
}
}
}
NameTypeDescription
statusstringA string indicating the outcome of the request. Typically success for successful operations.
dataobjectData object holding LTP information
data.last_pricenumberThe last traded price of symbol
data.instrument_tokenstringKey of the instrument. For the regex pattern applicable to this field, see the Field Pattern Appendix.
data.ltqnumberLast traded quantity
data.volumenumberVolume traded today till current time
data.cpnumberPrevious day's closing price

Sample Codeโ€‹

Get ltp (last traded price) market quotesโ€‹

curl --location 'https://api.upstox.com/v3/market-quote/ltp?instrument_key=NSE_EQ%7CINE848E01016' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'

Get ltp (last traded price) market quotes for multiple instruments keysโ€‹

curl --location 'https://api.upstox.com/v3/market-quote/ltp?instrument_key=NSE_EQ%7CINE848E01016,NSE_EQ|INE669E01016' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {your_access_token}'
Loading...