Skip to main content

Search companies with filters

GET 

/search

Filtered company search over the database. Every financial filter, sort and figure is on the latest financial year only; more years are /company/{id}/financials.

Filters are <field>[<op>]=<value> query parameters. List operators (in, all) and between take comma-separated values or a repeated parameter. Fields are the platform's datapoint column names:

  • text: profile.id, profile.name, profile.county, profile.indus, profile.siccode, profile.industrytags. Operators eq, startsWith, contains (case-insensitive, at least 3 characters, unindexed: put it behind a narrow filter), in, all. On a list field (e.g. industrytags) every operator but all matches any one entry. Under all, in and eq, a company with no industry tags of its own matches on its SIC code's.
  • date (ISO YYYY-MM-DD): profile.crdate, profile.lmudate, profile.lastreported, expiry.from, expiry.to. Operators eq, before (inclusive), after (inclusive), between.
  • number: any financial tag as inc.<tag>, bst.<tag>, cfl.<tag> (e.g. inc.increv, bst.eqte), misc.numemployees, hasjustraised.totalpricepaid, highgrowth.growthrate, expiry.amount. Operators eq, gte, lte, between. Amounts in pounds widen by ±0.5 to agree with a figure shown rounded; ratios (fat, netprofrat, impnetprofrat, revgrowth, stdebtrat) do not.
  • flag: hasjustraised, abouttoraise, highgrowth and misc.revapp (the latest revenue is approximated from the debtors; misc.revapp[eq]=false keeps reported revenues only). Operator eq with true or false.

Without a flag or id filter, only companies with a revenue (inc.increv ≥ 0) are searched. profile.id[in] fetches known companies, with or without revenue.

Examples

  • Revenue above £3m, equity above £200k, in two SIC codes, with their statements: /search?inc.increv[gte]=3000000&bst.eqte[gte]=200000&profile.siccode[in]=62012,62020&include=inc,bst
  • Restructuring Discovery's first page, earliest expiry first: /search?expiry[eq]=true&expiry.amount[gte]=0&include=profile,inc,bst,expiry&sortBy=expiry.from&order=asc&limit=31&count=true
  • Known companies' latest years: /search?profile.id[in]=UK00358948,UK01234567&include=inc,bst,cfl

Response: { results: [row, …], totalNumResults?: number }. A row is the profile, plus financials (the latest year, bare numbers, only the statements asked for) and bd (only the feeds asked for whose flag is raised). totalNumResults saturates at 500 (a floor, not a total) and is absent when the count timed out (20 s) or was not asked for (count=true).

Request​

Responses​

The page of rows, and the count when asked for.