@Shrutika_Poojari
eventhough i’m trying the exact request from the dhan documentation i couldnot get both historical data- Intraday Historical Data, Daily Historical Data
checked all the packages dhanhq, dhanhq tradehull, python-dhanhq repo libraries I couldn’t find any solution
i was trying through python code at first almost 2-3 hrs i’ve tried whether i’m doing anything wrong and then shifted to postman to check through simple api request
access token also not expired
1 Like
@Hardik
also checked with dhanhq bot
@Dhan also tried through DhanHQ Developer Kit
Hey @Venkata_Krishnasai_A,
As checked in the first screenshot, you’re trying to fetch intraday minute data for 25th October, which was Saturday, so no data will be available for that date.
In the second screenshot from our developer kit, it seems that some required fields are missing, which is why the request isn’t returning data.
Please try again using the correct request structure below for intraday minute data:
{
"securityId": "1333",
"exchangeSegment": "NSE_EQ",
"instrument": "EQUITY",
"interval": "60",
"fromDate": "2025-10-24",
"toDate": "2025-10-24"
}
the first screenshot was the intraday, but also the same thing applies to day historical data
you can check other screenshots i’ve shared