Company registry record by id
One company from its official register by registry id: UK company number, French SIREN or SIRET, Norwegian organisation number, Brazilian CNPJ, or any company worldwide by its LEI. Returns a common summary (name, status, legal form, country, dates, address, activity codes, register link) plus the register's full record under details (officers or directors, filings, finances, partners, parents and so on, depending on the register). The country is inferred for 8-character UK numbers, 14-digit CNPJs and LEIs. include adds register sub-records at the top level: GB officers (first page, with officers_total and officers_active), filings (latest page) and pscs (as beneficial_owners, with beneficial_owners_exemption); NO officers (roles: CEO, board, auditor...); FR officers (directors) and financials (revenue and net income by year). The answer lists them in included.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
idrequired | string | Registry id: UK company number (00445790, SC123456), SIREN (9 digits) or SIRET (14), Norwegian org number (9 digits), CNPJ (14 digits, punctuation allowed) or a 20-character LEI. Example: 445790 |
country | GB | FR | NO | BR | GB, FR, NO or BR. Needed for French and Norwegian ids; optional for UK numbers, CNPJs and LEIs. Example: GB |
include | string | Comma separated sub-records to add: GB officers, filings, pscs (or beneficial_owners); NO officers; FR officers, financials. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/companies/v1/company?id=445790" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/companies/v1/company",
params={"id": "445790"},
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/v1/company");
url.searchParams.set("id", "445790");
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).