Upstox API v2 HistoryAPI giving empty response for Indices

Upstox API v2 is giving empty response for history APIs for indices Nifty 50, Nifty Bank since 12 June 2023(Monday) morning.

Please check the request response:
curl -X ‘GET’
https://api-v2.upstox.com/historical-candle/intraday/NSE_INDEX|Nifty%2050/1minute
-H ‘accept: application/json’
-H ‘Api-Version: 2.0’
-H ‘Authorization: Bearer <access_token>’

Response: {“status”:“success”,“data”:{“candles”: [ ]}}

curl -X ‘GET’
https://api-v2.upstox.com/historical-candle/NSE_INDEX|Nifty%2050/1minute/2022-06-12
-H ‘accept: application/json’
-H ‘Api-Version: 2.0’
-H ‘Authorization: Bearer <access_token>’

Response: {“status”:“success”,“data”:{“candles”: [ ]}}

However, data for other instruments is coming.
Any update from Upstox API team would be appreciated.

@mike Could you get us some help

2 Likes

I am also facing the same issue while using history API provided by Upstox since 12.06.2023 while fetching Nifty 50 index data.

2 Likes

@Pi_S @Maneesh_Chowla

Let me reach out to the team so they can figure out what is going on.

3 Likes

One issue that the team was able to identify was that the shorter time frames (ex: 1-minute) of historical data is limited to 6-months. We are working to provide an error message instead of providing a blank response. In addition, there may have been an issue on the market data side that should be reverted on 14 June. When you get a chance, could you please try a shorter time frame and see if that works?

3 Likes

@mike

Yes, the data is coming properly in the api response now. Thank you very much.
And thanks for being accessible in the forum.

3 Likes

@Pi_S Thanks…that’s great to hear!

2 Likes