Filed accounts, year by year
get_accountsRetrieves a UK company's yearly accounts figures from Companies House by company number, including ratios, group/company basis, and source quality for financial review.
Instructions
Every year of accounts figures CompanyStack holds for a company, newest first, read from the accounts it filed at Companies House, with ratios and where each year came from: source.kind is filed (electronic accounts), scanned (PDF or paper read by OCR), comparative (the prior-year column of the next year's accounts) or unverified, with source.quality and flags from the plausibility checks. A company that heads a group files its own figures (basis company) and the group's (basis group); by default one row per year is returned, the group figures where held. Figures include turnover, profit, total assets, cash, current and total liabilities, net assets and employees. UNITS: whole units of the currency filed (normally GBP pounds, not pence or thousands); null means not filed (small and micro companies often omit turnover and profit). The figures are the company's own, as filed: not audited or verified by CompanyStack. Needs the Starter API plan or above. The Free plan can include a small number of calls a day to get_accounts and get_health_score together: a preview_limit_reached error means they are used for today (they reset at 00:00 UTC), and plan_upgrade_required means the Free plan has none.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company_number": "<company_number>"
},
"name": "get_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | No | presented (default): one row per year, group figures where held. group or company: that basis only. | |
| limit | No | Years to return, newest first (1–50, default 20). | |
| company_number | Yes | Companies House company number: 8 characters, e.g. "00445790" (Tesco PLC), "SC586124" (Scotland), "NI012345", "OC301234" (LLP). Shorter all-digit numbers are left-padded with zeros. Find it with search_companies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bases | No | ||
| basis | No | ||
| total | No | ||
| accounts | No | ||
| company_number | No | ||
| years_available | No | ||
| history_limited_to | No |