I came across a different website that is providing access to NSE stocks data (documentation) -
https://fmpcloud.io/api/v3/historical-price-full/RELIANCE.NS?timeseries=50&apikey=API-KEY
timeseries
attribute is for the number of days you want to fetch data for
In case you want to query data between a range of dates, then use -
Note: It is free to use but requires registration. Also, the free tier has a limit of 250 requests a day & access to a maximum of 5 years old data.