I have used everything Google finance , yahoo finance everyone provides the data same as nse which is expected but when a company undergoes split , bonus the price of the stock will drop down with respect to the split or bonus .So for example the price before the bonus will be 1000 but after split of lets say 1:2 then the price becomes 500 so there is a difference in the price if we use google finance yahoo etc. But on tradingview the data is adjusted before the event with respect to the bonus or split without any gaps . So is there any api which gives adjusted data with respect to the bonus or split.
Would suggest going with your brokers’s APIs.
All brokers correct the historical prices on the ex-date and the prices are reflected in charts too.
Many brokers provide historical data for free. Zerodha charges Rs 500 per month.
For NSE data, you have to do the adjustment yourself.