# Company registry lookup (UK & France) (`attentive_sunshine_2r9/company-registry-lookup`) Actor

Give it a company name, official number, or domain and get a company-level legal profile from the UK Companies House API or the French API Recherche d'entreprises. Ambiguous matches return candidates and are not charged. Works via batch, Standby HTTP, or MCP.

- **URL**: https://apify.com/attentive_sunshine_2r9/company-registry-lookup.md
- **Developed by:** [Ruan Louw](https://apify.com/attentive_sunshine_2r9) (community)
- **Categories:** Lead generation, Agents, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 company profiles

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/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 (UK & France)

Give this Actor a **company name**, an **official number**, or a **domain**. It looks the company up on official public registers and returns one structured, company-level legal profile: legal name, number, status, type, incorporation date, registered office, industry codes, filing dates when the register publishes them, previous names, and the official register URL.

v1 covers:

- the [UK Companies House Public Data API](https://developer.company-information.service.gov.uk/get-started/)
- the [French API Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr/docs/)

It does **not** return officers, directors, people with significant control, or other personal data. Failed lookups and ambiguous matches return a short explanation or a candidate list and are **not charged**.

This is built for sales, lead-gen, light KYB, recruiting, and AI agents that already look up a company's open jobs and also need a legal-entity card. Pair it with the sibling Actor [Company job lookup](https://apify.com/attentive_sunshine_2r9/company-jobs-lookup).

Use it as a normal Apify run, as a Standby HTTP API, or from Claude or Cursor through MCP.

### Try it (copy-paste inputs)

**1. A UK legal name**

```json
{ "query": "Tesco PLC" }
```

**2. A UK company number, a French SIREN, and a domain**

```json
{
  "queries": ["00445790", "356000000", "tesco.com"],
  "maxCompanies": 5
}
```

**3. Force one register** when a name exists in both countries:

```json
{ "query": "Orange", "country": "fr" }
```

### Use it from Claude or Cursor via MCP

The Actor is available on the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Add this to your MCP client config (after the Actor is published). On first connect, your browser opens so you can sign in to Apify:

```json
{
  "mcpServers": {
    "company-registry-lookup": {
      "url": "https://mcp.apify.com/?tools=attentive_sunshine_2r9/company-registry-lookup"
    }
  }
}
```

If you would rather put a token in the config instead of signing in with OAuth, add `"headers": { "Authorization": "Bearer <APIFY_TOKEN>" }` next to the URL. Use your own Apify token. Do not put a token in this README or in chat.

Then ask, for example: "Look up the official UK company profile for Tesco PLC." The hosted tool talks to the Actor's Standby HTTP API (`GET /lookup`). Each matched profile is $0.0025. Failed or ambiguous lookups are free.

Need open jobs for the same company? Use [company-jobs-lookup](https://apify.com/attentive_sunshine_2r9/company-jobs-lookup) the same way.

### Cost

Prices below are what the Actor charges. You keep 80% after Apify's commission. Compute is extra and should stay small (these are light official JSON APIs).

| Event | When it is charged | Price |
|---|---|---|
| `company-profile` | Once per clearly matched company-level profile | **$0.0025** |
| Failed, invalid, or ambiguous (candidates only) | Never | **$0** |

Examples:

- 1 clear match: `$0.0025`
- 10 clear matches in one run: `$0.025`
- A name that matches several companies: **$0**, with a candidate list you can follow up on by number

### How matching works

- A UK company number, or a French SIREN (9 digits) or SIRET (14 digits), is looked up directly.
- A legal name is searched on the register you choose (`gb`, `fr`, or `auto`).
- A domain is searched using the registrable name (`tesco.com` → `tesco`). Only a **clear** unique name match is billed; otherwise you get unbilled candidates.
- `country: "auto"` (the default) uses the number format or a `.uk` / `.fr` ending when it can. Otherwise it searches both registers and only bills a profile when exactly one side has a clear match. If both sides match, you get candidates and are not charged.

### Output

Each dataset item has a `record_type`:

- `company_profile` — billed. Includes `source`, `source_url`, `source_updated_at` when the register publishes it, `retrieved_at`, and an `attribution` line.
- `candidates` — not billed. A short list of possible companies.
- `error` — not billed. For example `NOT_FOUND`, `INVALID_INPUT`, or `RATE_LIMITED`.

French records are reused under [Licence Ouverte 2.0](https://www.data.gouv.fr/pages/legal/licences/etalab-2-0). The `attribution` field names the source and the dates of last update and retrieval. This product is not endorsed by Companies House or by the French administration. Do not treat register data as identity or credit advice; the registers publish what they are sent.

### Related

- [Company job lookup (Greenhouse, Lever, Ashby, Workable, SmartRecruiters)](https://apify.com/attentive_sunshine_2r9/company-jobs-lookup) — open jobs for the same company name or domain.

### Limits (v1)

UK and France only. Company-level fields only (no officers, directors, or PSCs). No US state registers, no Crunchbase or LinkedIn, no filed-document downloads. Companies House allows 600 API requests per 5 minutes. The French API allows 7 requests per second per IP; public-cloud addresses may share a tighter ASN limit, so the Actor stays well under that and honours `Retry-After`.

### Standby HTTP

`GET /lookup?query=Tesco%20PLC` or `POST /lookup` with the same JSON as a batch run. `GET /health` is a readiness probe.

# Actor input Schema

## `query` (type: `string`):

A company name, UK company number, French SIREN or SIRET, or a domain. Examples: Tesco PLC, 00445790, 356000000, tesco.com, societe-generale.fr

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

Look up several companies in one run. Capped by maxCompanies. Each clear match is $0.0025; failed and ambiguous lookups are not charged.

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

gb = UK Companies House only. fr = France only. auto (default) detects numbers and some domain endings, otherwise searches both and only bills a profile when exactly one register has a clear match.

## `maxCompanies` (type: `integer`):

Maximum companies to process in one run. Default 10.

## Actor input object example

```json
{
  "query": "Tesco PLC",
  "country": "auto",
  "maxCompanies": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset items. Check record_type: company_profile (billed), candidates (free), or error (free).

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

JSON summary with counts, estimated cost, and any errors.

# 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 = {
    "query": "Tesco PLC"
};

// Run the Actor and wait for it to finish
const run = await client.actor("attentive_sunshine_2r9/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 = { "query": "Tesco PLC" }

# Run the Actor and wait for it to finish
run = client.actor("attentive_sunshine_2r9/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 '{
  "query": "Tesco PLC"
}' |
apify call attentive_sunshine_2r9/company-registry-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,attentive_sunshine_2r9/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/OmZwGtQZ2Jl0QNZef/builds/LBa0c8blK3g1NuWQi/openapi.json
