UK company advanced search
UK companies filtered like Companies House's advanced search: words the name includes or excludes, registered office address, SIC codes, company status, company type and subtype, and incorporation or dissolution date ranges. Each result has company number, name, status, type, subtype, incorporation and dissolution dates, address and SIC codes. 20 a page, up to 5,000 results. Give at least one filter. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
name_includes | string | Words the company name must include. Example: tesco |
name_excludes | string | Words the company name must not include. |
address | string | Registered office address text (town, postcode or street). |
sic_codes | string | Comma-separated SIC codes (4-5 digits). Example: 47110 |
status | string | Comma-separated statuses: active, dissolved, open, closed, converted-closed, removed, receivership, liquidation, administration, insolvency-proceedings, voluntary-arrangement. Example: active |
type | string | Comma-separated company types, e.g. ltd, plc, llp, limited-partnership, private-unlimited, oversea-company, uk-establishment, charitable-incorporated-organisation, registered-overseas-entity. Example: plc |
subtype | community-interest-company | private-fund-limited-partnership | community-interest-company or private-fund-limited-partnership. |
incorporated_from | string | Incorporated on or after (YYYY-MM-DD). |
incorporated_to | string | Incorporated on or before (YYYY-MM-DD). |
dissolved_from | string | Dissolved on or after (YYYY-MM-DD). |
dissolved_to | string | Dissolved on or before (YYYY-MM-DD). |
page | integer | Page number, starting at 1. Pass next_page back as page; it is null on the last page. Example: 1 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/companies-house/v1/advanced-search?name_includes=tesco" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/companies-house/v1/advanced-search",
params={"name_includes": "tesco"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/companies-house/v1/advanced-search");
url.searchParams.set("name_includes", "tesco");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).