NO DATA IN HISTORICAL DATA API v2

Please check this screenshot. I am unable to fetch historical data from yesterday till 5 days back.

Thanks & Regards
R C Vamsi Vardhan

Hello @vardhan36397
The results you’re seeing are as expected. 2024-05-31T18:30:00Z was a Saturday and 2024-06-01T18:30:00Z was a Sunday, so there are no historical quotes available for those days.

To get today’s candle data, you need to use the Intraday candle API.

please have a look at these curl request which are functional

curl --location 'https://api-v2.upstox.com/historical-candle/NSE_FO%7C35805/1minute/2024-06-03/2024-05-31' \
--header 'Accept: application/json' 

Intraday candle

curl --location 'https://api.upstox.com/v2/historical-candle/intraday/NSE_FO%7C35805/1minute' \
--header 'Accept: application/json'
1 Like

I just realized that. Thanks for your prompt and quick reply. I just merged these 2 datasets to get required data.

Excellent support. Keep it up.

2 Likes