Skip to main content

A company's financial years

GET 

/company/:id/financials

Every financial year the database holds for the company, latest first. Each year carries period (FY2024), currency, isrevenueapprox (revenue approximated from the debtors), numemployees, and inc, bst, cfl keyed by financial tag.

Flags, independent of each other:

  • metadata=true: each figure (numemployees too) becomes { val, term, loc, notes, order }: the line's text, where it sits in the filing (a selector for iXBRL, coordinates for a PDF), its note reference and its position. Read from the database and the S3 financials file, merged by period: the number is always the database's, so it agrees with a call without the flag. A field the filing did not give is left out.
  • documents=true: each year adds docperiod (the filing's own period; a filing holds at least two years), doctype (pdf, ixbrl, xbrl) and document, a URL to the filing signed for an hour.

Examples

  • /company/UK00358948/financials → [{ "period": "FY2024", "currency": "GBP", "isrevenueapprox": false, "inc": { "increv": 5000000 } }, …]
  • /company/UK00358948/financials?metadata=true&documents=true → [\{ "period": "FY2024", "currency": "GBP", "isrevenueapprox": false, "docperiod": "FY2024", "doctype": "ixbrl", "document": "https://…", "inc": \{ "increv": \{ "val": 5000000, "term": "Turnover", "loc": "#c12", "order": 1 \} \} \}, …]

limit=N keeps the N most recent years, e.g. /company/UK00358948/financials?limit=3 for the last three. A company without financials answers [].

Request​

Responses​

An array of financial years, latest first: bare numbers, or figure objects under metadata=true.