Search a national company register by name
search_companySearch a national company register by name, when you have a name rather than an identifier.
country="NO" searches Brønnøysundregistrene / Enhetsregisteret (brreg) — the norway
company lookup for the norwegian business registry when the organisasjonsnummer (orgnr,
org.nr) is not yet known; country="GB" is the uk company search at Companies House,
returning each hit's company number (company registration number, CRN).
Sweden cannot be searched by name. Bolagsverket's free API has four operations and
none takes a company name, so country="SE" raises not_implemented — a fact about
the register, not a temporary gap, and it will not start working. Sweden supports
lookup by identifier only: call lookup_company with the ten-digit
organisationsnummer (or a sole trader's twelve-digit personnummer), or
validate_company_id first to check the shape for free. Bolagsverket publishes the
whole register as bulk downloadable files for callers who must search by name.
Then call lookup_company with the id of the right hit for the full report — a
search hit is deliberately thin (name, legal form, status, city) and must not be acted
on directly. Hits arrive in the register's own relevance order, so read each hit's
confidence rather than assuming the first row is best. Zero hits is not an error, and
hint says what to try next — Norwegian names are registered upper-case and often carry
an 'AS', 'ASA' or 'NUF' suffix, UK names a 'LIMITED', 'LTD', 'PLC' or 'LLP' one, worth
dropping before concluding a company does not exist.
Errors are the {"error": {"code", "message", "hint"}} envelope this server's
instructions set out code by code; hint names the next call. Call list_countries
if you are unsure a country is supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Company name to search for, free text — not an identifier. Use lookup_company once you have the id of the right hit. | |
| limit | No | Maximum hits to return, 1-100; default 10. Outside that range is a bad_request, not a silent clamp. | |
| country | No | ISO-3166-1 alpha-2 — NO Norway, GB United Kingdom, SE Sweden. UK is not a country code here and is rejected. Call list_countries for the live set. | NO |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | What to do next, e.g. 'call lookup_company with the id of the right hit'. | |
| hits | No | Best matches, best first: always sorted by `confidence` descending. Hits that score equally keep the order the upstream register returned them in. | |
| query | Yes | The name that was searched for. | |
| total | No | Total matches upstream, which may exceed len(hits). | |
| cached | No | Served from cache. | |
| country | Yes | ISO-3166-1 alpha-2, upper-case. | |
| registry | Yes | Registry slug. | |
| truncated | No | True when `total` exceeds the returned hits. | |
| fetched_at | No | UTC timestamp of the fetch. |