Pi_S
June 13, 2023, 10:05am
1
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
mike
June 13, 2023, 10:26am
3
@Pi_S @Maneesh_Chowla
Let me reach out to the team so they can figure out what is going on.
3 Likes
mike
June 13, 2023, 10:22pm
4
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
Pi_S
June 14, 2023, 3:54am
5
@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
mike
June 14, 2023, 8:49am
6
@Pi_S Thanks…that’s great to hear!
2 Likes