Search a national company register by name
search_companyFind a company by name in Norway's Brønnøysundregistrene or UK Companies House, returning matching hits with confidence scores to pick the right entity before retrieving the full report.
Instructions
Search a national company register by name, when you have a name rather than an identifier.
country="NO" searches Brønnøysundregistrene / Enhetsregisteret (brreg) for Norwegian
companies — the norway company lookup tool for the norwegian business registry when the
organisasjonsnummer (orgnr, org.nr) is not yet known. country="GB" is the uk company
search: Companies House by company name, returning each hit's company number
(company registration number, CRN).
Use it when a user gives you a company 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. limit is 1-100 (default 10).
Hits arrive in the register's own relevance order, so read each hit's confidence
rather than assuming the first row is the best one. Zero hits is not an error: hits
is [], total is 0, and hint says what to try next — Norwegian names are
registered upper-case and often carry an 'AS', 'ASA' or 'NUF' suffix, and UK names a
'LIMITED', 'LTD', 'PLC' or 'LLP' one, worth dropping before concluding a company does
not exist.
On error, this tool raises with the error text {"error": {"code", "message", "hint"}}. bad_request means limit was out of range or name was empty — fix and
retry. unsupported_country means call list_countries first.
upstream_error/upstream_timeout means the national register is unavailable; wait
roughly a minute and retry at most once more.
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; a value outside that range is a bad_request, not a silent clamp. | |
| country | No | ISO-3166-1 alpha-2 country code. 'NO' = Norway (Brønnøysundregistrene / Enhetsregisteret), 'GB' = United Kingdom (Companies House). 'UK' is not a country code here and is rejected. Call list_countries for the current set rather than hard-coding one. | 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. |