vbhaya
1
Hi,
Is there any problem with params here
params = {
“securityId”: “53001”,#NIFTY-Sep2025-FUT
“exchangeSegment”:“NSE_FNO”,
“instrument”: “FUTIDX”,
#“expiryCode”: 0,
“interval”:“1”,
“oi”: False,
“fromDate”: “2025-09-01”,
“toDate”: “2025-09-03”
}
Error 400: {“errorType”:“Input_Exception”,“errorCode”:“DH-905”,“errorMessage”:“Missing required fields, bad values for parameters etc.”}
Hi @vbhaya ,
Please help us with the endpoint to which you are making the API call for getting the intraday data.
Just to add, you get intraday data you should use the endpoint as POST - https://api.dhan.co/v2/charts/intraday
vbhaya
3
Hi @Shubham_Singh,
Yes its the same end point. I assume i would have got 404 if this was wrong
Today i tried these and same response
params = {
“securityId”: “13”,
“exchangeSegment”: “IDX_I”,
“instrument”: “INDEX”,
“interval”: “1”,
“oi”: False,
“fromDate”: “2025-09-03”,
“toDate”: “2025-09-04”
}