# Company Registry Lookup: LEI, Norway, France & UK Companies (`joey_wei/company-registry-lookup`) Actor

Verify a company or find its LEI in official registries: GLEIF, Norway Brønnøysund, France SIRENE, plus UK Companies House with your own key. One row per company: status, legal form, address, industry codes, LEI and parents. Company-level only; sole traders excluded.

- **URL**: https://apify.com/joey_wei/company-registry-lookup.md
- **Developed by:** [Joey Wei](https://apify.com/joey_wei) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 company profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Company Registry Lookup: verify companies and find LEIs (GLEIF, Norway, France, UK)

**Verify a company or look up its LEI from official registries. Give an LEI, a Norwegian org number, a French SIREN/SIRET or a UK company number (or, in search mode, a company name) and get one clean row per company: legal name, status (active / inactive / dissolved), legal form, incorporation date, registered address, industry codes, LEI and, optionally, its parent companies. Sources are GLEIF, Norway's Brønnøysund register (Enhetsregisteret), France's SIRENE (recherche-entreprises.api.gouv.fr) and, with your own free key, UK Companies House. Company-level data only: no directors, no owners, no sole traders.**

It reads each registry's official public API, with no login, no browser and no proxy. **$3 per 1,000 companies found**, and you pay nothing for IDs that are invalid, not found or excluded.

### What you can use it for

- **KYB / onboarding checks.** Confirm that a supplier or customer exists, is active, and has the legal name and address they gave you.
- **LEI lookup.** Find the LEI for a list of Norwegian, French or UK registry numbers, or check that an LEI is still ISSUED and not LAPSED.
- **Group structure.** Get the direct and ultimate parent company of a legal entity from GLEIF.
- **CRM clean-up.** Normalise company names, legal forms, NACE/NAF/SIC codes and addresses from the registry itself.
- **AI agents.** "Is Equinor ASA an active company? What is its LEI?" One call, one structured answer, with a link to the registry page.

### Input examples

**Exact lookups (default mode):**

```json
{
  "queries": ["no:923609016", "fr:552032534", "lei:2138002P5RNKC5W2JZ46", "gb:00445790"]
}
```

**Name search, best 3 matches per name, with parent companies:**

```json
{
  "queries": ["Equinor no", "\"Danone\" fr", "gb:Tesco", "Siemens"],
  "mode": "search",
  "maxResultsPerQuery": 3,
  "includeParents": true
}
```

**UK companies through Companies House** (bring your own free key):

```json
{ "queries": ["gb:00445790", "gb:SC123456"], "companiesHouseApiKey": "<your key>" }
```

#### Accepted query formats

| You enter | Read as |
|---|---|
| `lei:OW6OFBNCKXC4US5C7523` or `OW6OFBNCKXC4US5C7523` | LEI (checked with the ISO 17442 check digits) |
| `no:923609016`, `no:923 609 016` | Norwegian organisasjonsnummer (MOD 11 check digit) |
| `fr:552032534` | French SIREN (Luhn check digit) |
| `fr:55203253400703` or a bare 14-digit number | French SIRET; the company (SIREN) record is returned |
| `gb:00445790`, `uk:SC123456`, `gb:445790` | UK company number (zero-padded to 8 characters) |
| `923609016` (bare 9 digits) | Norwegian **or** French, decided by check digit (see below) |
| `Equinor no`, `"Danone" fr`, `no:Equinor ASA`, `gb:Tesco` | name search in that country's registry (mode `search` only) |
| `Siemens`, `any:Siemens` | name search in GLEIF, worldwide (mode `search` only) |

**Ambiguous 9-digit numbers.** Norwegian org numbers and French SIRENs are both 9 digits. Without a prefix, the Actor checks both check digits: if only one passes, that registry is used; if both pass, the query is reported as `ambiguous` and is free. Add `no:` / `fr:` or set **Default country** to `NO` or `FR` to remove the guesswork.

**Modes.** `lookup` accepts identifiers only and returns at most one company per query. `search` also accepts names; identifiers are still matched exactly.

### Output

One row per company. Example (Norway, with `includeParents`):

```json
{
  "query": "no:923609016",
  "source": "brreg",
  "country": "NO",
  "registryId": "923609016",
  "lei": "OW6OFBNCKXC4US5C7523",
  "leiRegistrationStatus": "ISSUED",
  "name": "EQUINOR ASA",
  "otherNames": ["Den norske stats oljeselskap a.s", "STATOIL ASA", "STATOILHYDRO ASA"],
  "legalForm": { "code": "ASA", "label": "Allmennaksjeselskap" },
  "status": "active",
  "statusRaw": "registrert",
  "incorporationDate": "1972-09-18",
  "dissolvedDate": null,
  "registeredAddress": { "lines": ["Forusbeen 50"], "city": "STAVANGER", "postalCode": "4035", "region": null, "country": "NO" },
  "industryCodes": [{ "scheme": "NACE", "version": null, "code": "06.100", "label": "Utvinning av råolje" }],
  "employeesRange": "21231",
  "website": "www.equinor.com",
  "registrationAuthorityId": "RA000472",
  "commercialProspectingOptOut": null,
  "parents": [
    { "relationship": "direct", "lei": null, "name": null, "country": null, "status": null, "reportingException": "NATURAL_PERSONS" },
    { "relationship": "ultimate", "lei": null, "name": null, "country": null, "status": null, "reportingException": "NATURAL_PERSONS" }
  ],
  "sourceUrl": "https://virksomhet.brreg.no/nb/oppslag/enheter/923609016",
  "retrievedAt": "2026-11-12T00:00:00.000Z"
}
```

| Field | Notes |
|---|---|
| `source` | `brreg`, `sirene`, `companies_house` or `gleif` |
| `status` | normalised `active` / `inactive` / `dissolved` / `unknown`; `statusRaw` keeps the registry's own value (e.g. `konkurs`, `C (cessée)`, `liquidation`, `INACTIVE (DISSOLVED)`) |
| `legalForm` | Norway: organisasjonsform; France: INSEE catégorie juridique; UK: Companies House type; GLEIF: ISO 20275 ELF code with its label |
| `industryCodes` | Norway: NACE-based næringskode; France: NAF rev2 (with label) and NAF 2025 (code only); UK: SIC 2007 (code only) |
| `employeesRange` | Norway: registered head-count; France: INSEE size band (e.g. `1000-1999`); otherwise null |
| `website` | only when the registry publishes one (Norway) |
| `parents` | only with `includeParents`; `null` otherwise. GLEIF "accounting consolidation" parents, or GLEIF's reporting-exception reason when none is reported |
| `commercialProspectingOptOut` | France only: the company opposed the use of its data for commercial prospecting. Respect it if you do outreach |

Two more records are saved in the run's key-value store:

- **`QUERY_REPORT`**: one entry per input line with how it was read and its status: `ok`, `not_found`, `ambiguous`, `invalid`, `error`, `excluded_natural_person`, `unsupported_without_key`, `skipped_charge_limit` or `duplicate`, plus a note or error.
- **`OUTPUT_SUMMARY`**: counts per status and source, rows with an LEI, charged amount, and HTTP health per source.

### Supported registries

| Registry | Country | Used for | Licence of the data | Rate limit we respect |
|---|---|---|---|---|
| [GLEIF API](https://api.gleif.org/docs) | worldwide | LEI records, LEI lookup by registry number, name search, parents | **CC0 1.0** ([LEI Data Terms of Use](https://www.gleif.org/en/meta/lei-data-terms-of-use)) | "60 requests, per minute, per user" ([API docs](https://api.gleif.org/docs)) → we send at most 1 request / 1.1 s and batch up to 100 LEIs or 40 registry numbers per request |
| [Brønnøysund Enhetsregisteret](https://data.brreg.no/enhetsregisteret/api/dokumentasjon/no/index.html) | Norway | org-number lookup, name search | **NLOD 2.0** (Norsk lisens for offentlige data; stated in the API docs and on [brreg.no](https://www.brreg.no/bruke-data-fra-bronnoysundregistrene/apne-data/)) | no published limit found (UNVERIFIED) → we stay at 5 requests/s |
| [API Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr/docs/) (SIRENE + RNE) | France | SIREN/SIRET lookup, name search | **Licence Ouverte / Etalab 2.0** for the underlying datasets ([Base Sirene](https://www.data.gouv.fr/datasets/base-sirene-des-entreprises-et-de-leurs-etablissements-siren-siret), [Annuaire des Entreprises data](https://www.data.gouv.fr/datasets/donnees-des-entreprises-utilisees-dans-lannuaire-des-entreprises)). The API's own data.gouv.fr page states no licence | "au maximum 7 requêtes par seconde par adresse IP" and 30/s per ASN ([docs](https://recherche-entreprises.api.gouv.fr/docs/)) → we send 4 requests/s and honour `Retry-After` on 429 |
| [Companies House API](https://developer.company-information.service.gov.uk/) (optional) | UK | company profile, company name search | licence of API output **UNVERIFIED** (the developer site says "© Crown copyright"); you use your own key under Companies House's terms | 600 requests per 5 minutes per key ([developer guidelines](https://developer.company-information.service.gov.uk/developer-guidelines)) → 1 request / 0.55 s |

**UK without a key.** Companies House requires a (free) registered key, so it is optional here. Without one, UK numbers are looked up in GLEIF by registry number: companies that hold an LEI are returned with `source: "gleif"`; the others are reported as `unsupported_without_key` and are free. With a key, only the company profile endpoint (and company search in search mode) is called, never officers or persons with significant control.

**LEI enrichment** (`includeLei`, on by default) matches national records to GLEIF by the registry number that GLEIF stores in `registeredAs` and the country. If several LEIs share a number, an ISSUED one is preferred.

### Pricing

Pay per event, no subscription:

| Event | Price (no discount) |
|---|---|
| Company profile returned (one row in the dataset) | $0.003 |

Higher Apify plans get automatic discounts (Bronze $0.0027, Silver $0.0024, Gold $0.002 per company).

**You don't pay for:**

- invalid or ambiguous identifiers (they are checked before any request);
- IDs that are not found, and searches with no match;
- natural persons that are excluded (`excluded_natural_person`);
- UK numbers that need a key (`unsupported_without_key`);
- errors, timeouts and duplicates in your list;
- LEI enrichment and parent lookups (included in the row price).

**Cost examples (no-discount price):**

- **100 IDs, all found:** 100 × $0.003 = **$0.30**.
- **5,000 IDs, 90% found:** 4,500 × $0.003 = **$13.50**.
- **50 name searches × 3 results:** up to 150 rows = **$0.45**.

Set **Max cost per run** in the run options for a hard cap: the Actor stops cleanly at the cap and marks the remaining queries `skipped_charge_limit`.

**Speed.** IDs are processed in batches of 25. Lookups run at about 4–5 per second per registry; GLEIF's 60-requests-per-minute limit is the bottleneck, so `includeParents` adds about 2 seconds per company. By our estimate, 1,000 Norwegian or French IDs with LEI enrichment take about 4–5 minutes. With `includeParents`, more than ~1,500 companies need a run timeout above one hour.

### Use with AI agents (MCP)

This Actor is available to AI agents through the Apify MCP server at `https://mcp.apify.com`. An agent can find it with `search-actors` (for example "company registry lookup", "verify company", "LEI lookup") and run it with `call-actor`:

```json
{ "actor": "joey_wei/company-registry-lookup", "input": { "queries": ["no:923609016", "lei:2138002P5RNKC5W2JZ46"] } }
```

Tips for agents:

- Use prefixes (`no:`, `fr:`, `gb:`, `lei:`) so numbers are never ambiguous.
- For names, set `"mode": "search"` and a small `maxResultsPerQuery` (1–3).
- Read `QUERY_REPORT` to explain anything that was not found, invalid or excluded.

### Data and privacy

- **Company-level data only.** The Actor never outputs officers, directors (`dirigeants`), roles (`roller`), persons with significant control, beneficial owners, shareholders, or any natural person's data.
  - France: requests use `minimal=true&include=siege,complements`, so the API does not even send the directors list.
  - Norway: the roles endpoints are never called; phone numbers and e-mail addresses in the record are dropped.
  - UK: the registered office `care_of` name is dropped; officer and PSC endpoints are never called.
- **Sole traders are excluded.** Records that are natural persons return `excluded_natural_person` with no data and no charge:
  - Norway: `ENK` (enkeltpersonforetak) and `PERS`;
  - France: catégorie juridique 1xxx (entrepreneur individuel), the "entre personnes physiques" codes 2110 / 2210 / 2310, and anything flagged `est_entrepreneur_individuel`;
  - GLEIF: category `SOLE_PROPRIETOR` and sole-trader legal forms (ISO 20275 ELF).
    In search mode such matches are dropped from the results and counted in `excludedNaturalPersons`.
- **GLEIF parents** are legal entities only. When GLEIF reports that a company is controlled by natural persons, you get only the reason code (`NATURAL_PERSONS`), never who they are.
- **France's prospecting opt-out** is passed through as `commercialProspectingOptOut`.

### FAQ

**Why is my number `invalid`?** Every identifier is checked locally first (LEI ISO 17442 check digits, Norwegian MOD 11, SIREN/SIRET Luhn, UK number format). A typo is caught before any request and costs nothing.

**Why `not_found`?** The number is well-formed but the registry does not have it. In France, companies that are "non-diffusibles" are not in the public API. In Norway, a 9-digit number can belong to a sub-unit (underenhet); the report then names its main entity.

**Why is `lei` null?** The company has no LEI, or GLEIF stores its registry number in a different format. Many small companies never get an LEI.

**How fresh is the data?** Live: each run reads the registries at that moment. GLEIF data is GLEIF's latest published golden copy.

**Can I get UK companies without a Companies House key?** Only those with an LEI, through GLEIF. Get a free key at developer.company-information.service.gov.uk for full UK coverage.

**Why did a name search return fewer results than I asked for?** Matches that are natural persons are removed, and so are hits whose name does not contain your search words (the registries' own search also matches addresses and people).

### Changelog

See [CHANGELOG.md](CHANGELOG.md).

# Changelog

This Actor's version history is a separate document: https://apify.com/joey_wei/company-registry-lookup/changelog.md

# Actor input Schema

## `queries` (type: `array`):

One company per line. IDs: an LEI ("lei:OW6OFBNCKXC4US5C7523" or the bare 20-character code), a Norwegian org number ("no:923609016"), a French SIREN or SIRET ("fr:552032534", "fr:55203253400703"), a UK company number ("gb:00445790"). In mode "search" you can also give names, with an optional country: "Equinor no", ""Danone" fr", "gb:Tesco", or just "Siemens" (searches GLEIF worldwide). A bare 9-digit number is read as Norwegian or French by its check digit; if it is valid as both, add a prefix or set Country. Up to 5,000 per run.

## `mode` (type: `string`):

"lookup" accepts identifiers only and returns at most one company per query (exact match). "search" also accepts company names and returns up to "Max results per name search" matches per name; identifiers are still matched exactly.

## `country` (type: `string`):

Registry used for entries without a prefix. ANY: bare 9-digit numbers are decided by check digit, 8-character numbers are UK, names are searched in GLEIF worldwide. NO / FR / GB: bare numbers and names go to that country's registry.

## `maxResultsPerQuery` (type: `integer`):

Mode "search" only: the best-matching companies kept per name (exact names first, active before inactive). Each returned company is one charged result.

## `includeLei` (type: `boolean`):

For Norwegian, French and UK records, find the company's Legal Entity Identifier at GLEIF by its registry number. Free; adds about 1 second per 40 companies.

## `includeParents` (type: `boolean`):

Add the direct and ultimate accounting-consolidation parent from GLEIF (LEI, name, country), or GLEIF's reason why none is reported. Only for companies with an LEI. Slower: GLEIF allows 60 requests per minute, so this adds about 2 seconds per company.

## `companiesHouseApiKey` (type: `string`):

Your own free key from developer.company-information.service.gov.uk. With it, UK company numbers and UK name searches use the official Companies House company profile. Without it, UK numbers are resolved through GLEIF only when the company has an LEI; otherwise they are reported as unsupported_without_key. Only the company profile endpoint is called, never officers or PSCs.

## Actor input object example

```json
{
  "queries": [
    "no:923609016",
    "fr:552032534",
    "lei:2138002P5RNKC5W2JZ46",
    "98450073EGD581D89F03"
  ],
  "mode": "lookup",
  "country": "ANY",
  "maxResultsPerQuery": 5,
  "includeLei": true,
  "includeParents": false
}
```

# Actor output Schema

## `companies` (type: `string`):

One row per company found.

## `companiesFull` (type: `string`):

No description

## `summary` (type: `string`):

Counts per query status and source, and the amount charged.

## `queryReport` (type: `string`):

How each query was read and whether it was ok, not found, invalid, ambiguous, excluded (natural person) or errored.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "no:923609016",
        "fr:552032534",
        "lei:2138002P5RNKC5W2JZ46",
        "98450073EGD581D89F03"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("joey_wei/company-registry-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": [
        "no:923609016",
        "fr:552032534",
        "lei:2138002P5RNKC5W2JZ46",
        "98450073EGD581D89F03",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("joey_wei/company-registry-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "no:923609016",
    "fr:552032534",
    "lei:2138002P5RNKC5W2JZ46",
    "98450073EGD581D89F03"
  ]
}' |
apify call joey_wei/company-registry-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,joey_wei/company-registry-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EZMRVgq8FUfo7hX7k/builds/dPGvtqdZUQXlFF2Dy/openapi.json
