Hi Team, I am trying to fetch the last traded price using API curl --location ‘https://api.upstox.com/v2/market-quote/ltp?instrument_key=NSE_INDEX|NIFTY%20BANK’ --header ‘Accept: application/json’ --header 'Authorization: Bearer {MyAccessToken}
I am receiving the response like : {“status”:“success”,“data”:{}} What does it mean and how to get the correct price? Same URL returns the required data for individual stocks.
Also when try this : curl --location ‘https://api.upstox.com/v2/market-quote/quotes?instrument_key=NSE_INDEX|NIFTY%20BANK’ --header ‘Accept: application/json’ --header ‘Authorization: Bearer {My Token}’, this is the response I get : {“status”:“error”,“errors”:[{“errorCode”:“UDAPI100500”,“message”:“Something went wrong… please contact us”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100500”,“property_path”:null,“invalid_value”:null}]}
Are there any reliable API’s I can use to get the LTP of Indices?
Thanks in advance