lets a i want nifty50 status which is currently, “24180”.
so i want that data how to get that using api.
lets a i want nifty50 status which is currently, “24180”.
so i want that data how to get that using api.
Hi @Praveen_Reddy
To obtain the latest status of Nifty50 or any other instrument, you may use the Last Traded Price API to retrieve the relevant data.
Below is an example of a cURL request to fetch the LTP (Last Traded Price) for Nifty50.
curl --location 'http://api.upstox.com/v2/market-quote/ltp?instrument_key=NSE_INDEX%7CNifty%2050' \
--header 'Authorization: {your_access_token}'
Thank you.
Hi Upstox i found this api for nifty50 top companies but returned empty.tell how this api returns with full data. please update me fast my work is stuck in development
Api → https://api.upstox.com/v2/market-quote/quotes?symbol=NSE_EQ|NIFTY50 response → {
“status”: “success”,
“data”: {}
}
Hi @fardin_hussain, Please use correct value for symbol
. Additionally you need to query with comma separated symbol
of each Nifty 50 company.
Please refer below example codes: