exchange=LSE, or the company’s ISIN. This guide walks through both.
Prerequisites
- Python 3.7+
- A Financial Datasets API key (sign up here)
- The
requestslibrary (pip install requests)
Step 1: Set Up Authentication
Step 2: Find a London Ticker
Every financials endpoint has a/tickers/ list. Filter it by exchange=LSE to see the UK companies we cover, each with its name, ISIN, and whether it is still listed.
RR. includes the trailing dot.
Step 3: Fetch Income Statements
Addexchange=LSE next to the ticker. UK companies report once a year, so use period=annual.
currency field on each statement: most UK companies report in GBP, some in USD or EUR.
Step 4: Request by ISIN Instead
If you know the ISIN, pass it on its own. No ticker or exchange is needed.Step 5: Fetch Balance Sheets and Cash Flow Statements
The Balance Sheets API and Cash Flow Statements API take the same parameters.Step 6: Fetch Financial Metrics
The Financial Metrics API returns margins, growth, and per-share values for each annual period, and the Snapshot API the latest period.null.
Step 7: Fetch As-Reported Statements
As-reported statements give you the lines exactly as the company printed them in its annual report, with the company’s own labels and subtotals. Add/as-reported to any statement endpoint.
Annual Data Only
UK companies file one tagged annual report a year, soperiod=annual is the only period. A request with period=quarterly or period=ttm returns a 400:
Next Steps
- Market Coverage — which markets are available and how to request each
- Income Statements API Reference — full parameter documentation
- Financial Metrics API — every metric we calculate
- Get US Fundamentals Guide — the same walk-through for US companies