Closed mrhappyasthma closed 2 years ago
"This report is no longer supported" - https://financials.morningstar.com/finan/financials/getKeyStatPart.html?&t=goog®ion=usa&culture=en-US&cur=&order=asc
From their website "Key Ratios will be retired soon, please see Key Statistics for content."
Looks like the data is now under "trailing returns" tab: https://www.morningstar.com/stocks/xnas/goog/trailing-returns
Seems this data come from an API gated by authentication.
A potential alternative is a site called stockrow.com. It's US companies only, but seems to have a json API with similar 10 years of data: https://stockrow.com/api/companies/GOOG/new_key_stats.json
I noticed that all requests are returning empty data for most requests. I suspect the morningstar scraping is failing.