Data Sources (free / paid) for historical fundamental and price information

Have any of you found data sources (API/Excel call) to get historical EPS and Dividend payout ratio for any stock (Indian market only)
e.g. last 5 year EPS, last 5 year divi payout ratio as an API call ?

Thanks in advance