HISTORICAL data fetching for past 20 days

is it possible to fetch 20 days data of any script like acc, banknifty, option

Hi @kanhaji,

Yes, it is possible to fetch 20 days of data for any scrip or active options contract using our Data APIs.
If you are referring to daily historical data, it can be retrieved for any scrip from inception to the current date.
For intraday historical data, you can fetch data for up to the past 5 years for any scrip.
For details on the payload and additional information, please refer to: Historical Data - DhanHQ Ver 2.0 / API Document

please check sir its not coming if i have done something wrong please guide

mr trishul you can see i have tried but it failed can you please tell me why