An API or dataset for fundamental data for all stocks in NSE

Need important fundamental data such as Net Sales, Net Profit, Total Debt etc. for all companies in NSE as a dataset or an API. I am currently doing my college project on data analytics, which will use fundamental data of stocks to predict fast growing stocks.

Also additional data such as promoter holding and pledged share ratio will also be of great help.

you can check all the information about a company stock including share holding pattern etc., from the below link

https://www.nseindia.com/corporates/corporateHome.html?id=eqCorpActions