I used to track Morningstar PnL report via API. The API is already deprecated.
AAPL - Apple Inc Financials & Balance Sheets - NASDAQ | Morningstar
Alternatively, PnL is available at the SEC Edgar 10-K filings. It has all the historical record.
In my opinion, PnL is a lagging indicator/flag. If...