Companies House API: a practical guide
Companies House publishes the UK company register through a free REST API. Here is how to use it, its limits, and what a wrapper can add for onboarding checks.
Part of our Business and compliance APIs.
Getting started
Create a developer account, register an application and create a REST API key. Requests use HTTP basic authentication with the key as the username and an empty password. The rate limit is 600 requests per five minutes per key; Companies House can block applications that exceed it.
curl -u YOUR_KEY: https://api.company-information.service.gov.uk/company/16716814
Useful endpoints
/company/{number} for the profile (status, type, dates, SIC codes, accounts and confirmation statement due dates and overdue flags), /company/{number}/officers, /company/{number}/persons-with-significant-control, /company/{number}/filing-history and /search/companies?q=. Company numbers are 8 characters with leading zeros, and Scottish and Northern Irish companies start with SC and NI.
Personal data
Officer and PSC records describe individuals. Reusing them makes you a controller under UK GDPR, so you need a lawful basis and must respect suppressions. If you only need to know how many directors a company has, counts avoid most of that. Our business check returns counts by default and names only when you ask, without addresses or full dates of birth.
A wrapper built for checks
For onboarding a seller, supplier or customer you usually need four calls plus a VAT check and some judgement. Our business check API makes one call, adds HMRC VAT validation and charity status, and returns risk flags such as overdue accounts, insolvency history and frequent office moves.
curl "https://api.tychelabs.net/v1/companies/09999999?vat=GB553557881" \
-H "x-api-key: $TYCHE_API_KEY"const res = await fetch(
"https://api.tychelabs.net/v1/companies/09999999?vat=GB553557881",
{ headers: { "x-api-key": process.env.TYCHE_API_KEY } },
);
const { data } = await res.json();
console.log(data.company.status); // active
console.log(data.vat.valid); // true
console.log(data.risk, data.flags); // e.g. "none", [{ code: "has_charges", ... }]import os, requests
r = requests.get(
"https://api.tychelabs.net/v1/companies/09999999",
params={"vat": "GB553557881"},
headers={"x-api-key": os.environ["TYCHE_API_KEY"]},
timeout=15,
)
check = r.json()["data"]
if check["risk"] in ("medium", "high"):
for flag in check["flags"]:
print(flag["severity"], flag["message"])Common questions
Is the Companies House API free?
Yes. Companies House does not charge for the Public Data API.
What is the Companies House API rate limit?
600 requests in any five-minute period per key.
Can I get VAT numbers from Companies House?
No. VAT registration is held by HMRC; use HMRC’s VAT check API, or our business check API, to validate a VAT number.
Company checks in one call
Companies House, VAT and charity status with risk flags. 50 free checks a month.