# Companies House API: UK Company Search & Lookup (`devdarfy/uk-companies-house`) Actor

Companies House API for UK company data: look up companies by number with no API key, or search by name, SIC code and location and track new incorporations with your own free key. $3 per 1,000 companies.

- **URL**: https://apify.com/devdarfy/uk-companies-house.md
- **Developed by:** [Volkan](https://apify.com/devdarfy) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 companies

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

A **Companies House API** for UK company data as one clean JSON row per company: name, status, type, incorporation date, SIC codes, registered office, accounts and confirmation statement dates, charges and previous names. **Look up companies by number with no API key**, or search by name, SIC code and location and follow newly incorporated companies with your own free Companies House key.

- **What you get:** one row per company from the official Companies House sources, with the same fields and codes whichever source a row came from.
- **What it costs:** $0.003 per company returned, so **1,000 companies = $3**. Invalid numbers and companies skipped by delta mode are free. The only other charge is the standard Apify start fee of $0.00005 per run (per GB of memory). Apify platform usage is included in the price.
- **What you need:** company numbers for lookup. For search and new incorporations, a free API key from the Companies House developer site.

No HTML scraping and no proxies. The Actor never calls the officer or persons-with-significant-control endpoints, so there are no directors, owners or other people in the output.

### Use cases

- **KYB and due diligence.** Check status, company type, accounts and confirmation statement due dates, charges and previous names for a list of company numbers.
- **Lead lists of new companies.** Follow new incorporations by SIC code and location every day or week, with only companies you have not received before.
- **Enriching a CRM.** Add registered office, SIC codes and status to the company numbers you already hold.
- **Market mapping.** Search active companies in a sector and town and count them, without hand-copying from the register.

### Example output

A real row from a keyless run on 16 November 2026:

```json
{
  "companyNumber": "00445790",
  "name": "TESCO PLC",
  "status": "active",
  "type": "plc",
  "jurisdiction": "england-wales",
  "incorporatedAt": "1947-11-27",
  "dissolvedAt": null,
  "sicCodes": [
    { "code": "47110", "description": "Retail sale in non-specialised stores with food, beverages or tobacco predominating" }
  ],
  "registeredOffice": {
    "line1": "TESCO HOUSE, SHIRE PARK",
    "line2": "KESTREL WAY",
    "town": "WELWYN GARDEN CITY",
    "postcode": "AL7 1GA",
    "country": "UNITED KINGDOM"
  },
  "accounts": { "nextDue": "2027-08-26", "lastMadeUpTo": "2026-02-28", "category": "group" },
  "confirmationStatement": { "nextDue": "2027-07-02", "lastMadeUpTo": "2026-06-18" },
  "charges": { "total": 9, "outstanding": 2 },
  "previousNames": [
    { "name": "TESCO STORES (HOLDINGS) PUBLIC LIMITED COMPANY", "changedAt": "1983-08-25" },
    { "name": "TESCO STORES (HOLDINGS) LIMITED", "changedAt": "1981-12-14" }
  ],
  "hasInsolvencyHistory": null,
  "recentFilings": null,
  "sourceUrl": "https://find-and-update.company-information.service.gov.uk/company/00445790",
  "source": "uri-service",
  "fetchedAt": "2026-11-16T06:26:53.083Z"
}
```

### Quick start

Press Start with the default input to look up four well-known companies (Tesco, BP, AstraZeneca, Barclays) without a key.

**Look up companies by number (no key)**

```json
{
  "mode": "lookup",
  "companyNumbers": ["00445790", "SC095000", "OC301540"]
}
```

**Search by name and filters (your key)**

```json
{
  "mode": "search",
  "apiKey": "YOUR_COMPANIES_HOUSE_KEY",
  "query": "robotics",
  "location": "Bristol",
  "companyStatus": ["active"],
  "companyType": ["ltd"],
  "maxItems": 200
}
```

**New software companies each day (your key, delta mode)**

```json
{
  "mode": "newIncorporations",
  "apiKey": "YOUR_COMPANIES_HOUSE_KEY",
  "sicCodes": ["62012", "62020"],
  "onlyNew": true,
  "maxItems": 1000
}
```

Schedule the last one daily or weekly and connect the dataset to a webhook, Make, Zapier or your CRM. Each run returns only companies you have not received before.

### What you get

| Field | Description |
|---|---|
| `companyNumber` | 8-character Companies House number |
| `name` | Registered name |
| `status` | `active`, `dissolved`, `liquidation`, `administration`, `receivership`, `voluntary-arrangement` and the other Companies House status codes |
| `type` | `ltd`, `plc`, `llp`, `limited-partnership`, `private-limited-guarant-nsc` and the other Companies House type codes |
| `jurisdiction` | `england-wales`, `scotland`, `northern-ireland` and so on |
| `incorporatedAt`, `dissolvedAt` | Dates as `YYYY-MM-DD` |
| `sicCodes` | `[{ code, description }]` |
| `registeredOffice` | `{ line1, line2, town, postcode, country }` |
| `accounts` | `{ nextDue, lastMadeUpTo, category }`; category is for example `group`, `full`, `micro-entity`, `dormant` |
| `confirmationStatement` | `{ nextDue, lastMadeUpTo }` |
| `charges` | `{ total, outstanding }` registered charges (mortgages) |
| `previousNames` | `[{ name, changedAt }]` |
| `hasInsolvencyHistory` | `true`, `false`, or `null` when the source does not say |
| `recentFilings` | `[{ date, category, type, description }]`, only when you ask for it |
| `sourceUrl` | The company's page on the public register |
| `source` | `uri-service` (keyless) or `rest-api` (your key) |
| `fetchedAt` | When the row was read, ISO timestamp |

Both sources are mapped to the same keys and the same code lists, so `status: "active"` and `type: "plc"` look the same whichever source a row came from. `null` always means "this source does not publish it", never "checked and empty".

#### What each source fills

| Field | Keyless lookup | With your key (full profile) | With your key, `fullProfile` off |
|---|---|---|---|
| name, status, type, dates, registered office | yes | yes | yes |
| `sicCodes` | yes | yes | filter searches only; empty for plain name searches |
| `jurisdiction` | derived from the number prefix | as published | `null` |
| `accounts`, `confirmationStatement`, `previousNames` | yes | yes | `null` |
| `charges` | yes | yes | `null` |
| `hasInsolvencyHistory` | `null` | yes | `null` |
| `recentFilings` | `null` | if `includeRecentFilings` > 0 | if `includeRecentFilings` > 0 |

### Input fields

| Field | Meaning |
|---|---|
| `mode` | `lookup` (default), `search` or `newIncorporations` |
| `companyNumbers` | Numbers for `lookup`. Short numbers are zero-padded (`445790` becomes `00445790`), duplicates are fetched once |
| `apiKey` | Your Companies House API key (secret input). Required for `search` and `newIncorporations`, optional for `lookup` |
| `query` | Company name text. Alone it is a relevance-ranked name search; together with any filter it means "name includes" |
| `sicCodes` | Keep companies with any of these SIC codes, for example `62012` |
| `location` | Registered office location, for example `Manchester` |
| `companyStatus` | For example `active`, `dissolved`, `liquidation` |
| `companyType` | For example `ltd`, `plc`, `llp` |
| `incorporatedFrom`, `incorporatedTo` | `YYYY-MM-DD`. In `newIncorporations` the default is the last 7 days up to today (UTC); the range can cover at most 366 days |
| `onlyNew` | Delta mode, see below |
| `includeRecentFilings` | 0 to 20 newest filings per company (needs a key, one extra request per company) |
| `fullProfile` | On by default. Off returns rows straight from the search index: faster, fewer fields |
| `maxItems` | Cap on returned companies, 0 = unlimited. You pay per returned company |

`sicCodes`, `location`, `companyStatus`, `companyType` and the two dates apply to `search` and `newIncorporations`; `lookup` ignores them.

### Getting a Companies House API key

The key is free. Sign in or register at [developer.company-information.service.gov.uk](https://developer.company-information.service.gov.uk/), create an application for the live environment, select "Create new key" and choose the client type "API key". Paste it into the `apiKey` input. It is stored as a secret input, sent only to `api.company-information.service.gov.uk` and never written to the dataset or the log.

If a keyed mode is started without a key, the run stops straight away with these instructions and nothing is charged.

### Only companies you have not seen

With `onlyNew` the Actor remembers delivered company numbers in the named key-value store `uk-companies-house-seen` in your account and skips them in later runs before fetching their details. One list is kept per mode and filter set, so two schedules with different SIC codes do not hide companies from each other. Each list holds up to 200,000 numbers. Companies cut off by `maxItems` are not marked and come back next run. To start over, delete the store.

In `newIncorporations` mode with `onlyNew` and no `incorporatedFrom`, the date range reaches back to the day before the previous completed run, so a weekly or monthly schedule leaves no gap.

### Pricing

Pay per result: **$3 per 1,000 companies** (one default dataset item per company returned). Company numbers that are invalid or not on the register, and companies skipped by delta mode, are not written to the dataset and not charged. Use `maxItems` to cap spend.

### Problems and errors

Rows in the dataset are always real companies. A number that is malformed or not on the register is listed in the `ERRORS` record of the run's default key-value store and in the log, with the reason. A rejected API key or a failed search stops the run with a message that says what to fix.

### FAQ

**Do I need an API key?** Not for looking up companies by number. Search and new incorporations need your own key, because the Companies House API has no anonymous access and keys should not be shared.

**Does it return directors, shareholders or persons with significant control?** No. Those endpoints are never called. "Care of" names in addresses and the name details inside filing descriptions are dropped too.

**Is there any personal data at all?** A company's registered office can be someone's home address and a company name can contain a person's name. Both are part of the public register and are returned as published. You are responsible for how you use them.

**Why is `hasInsolvencyHistory` null?** The keyless service does not publish it. Add your key and the lookup reads the REST API, which does.

**How fresh is the data?** Every row is read from Companies House during the run; nothing is cached. `fetchedAt` shows the time.

**My key is rejected with HTTP 401. Why?** Check that it is an "API key" client of a live application, not a stream key or a sandbox key, and that the key is not restricted to specific IP addresses: Apify runs come from changing addresses.

**Can I get more than the newest filings, or the filed documents?** Not in this version. `includeRecentFilings` returns up to 20 filings per company without documents.

### Limits

- Keyless lookup reads one company per request with a pause between requests, about 170 companies per minute.
- With a key, Companies House allows 600 requests per five minutes. The Actor stays under 1.8 requests per second and, if it still gets HTTP 429, waits for the window to reset and retries. A full profile costs one request per company, one more if the company has charges, and one more if you ask for filings: roughly 35 to 100 companies per minute. With `fullProfile` off, one search request returns up to 500 companies.
- The quota belongs to your key. Other software using the same key at the same time shares the 600 requests.
- `newIncorporations` asks Companies House for one day at a time, newest day first.
- Addresses and names keep the capitalisation the source uses: the keyless service returns upper case, the REST API returns addresses as filed.
- A few categories that only the keyless service uses, such as `community-interest-company`, have no REST type code and are kept as a lower-case slug of the label.
- `recentFilings.description` is the Companies House description code, for example `accounts-with-accounts-type-micro-entity`, not a sentence. The values that fill in those descriptions are left out because they can contain officer names.
- The REST API part (search, new incorporations, lookup with a key) is tested against sample responses built from the official documentation, not against the live API with a real key. If a field is missing or wrong, please open an issue on the Actor page.

### Sources, licence and attribution

- Keyless lookup: the Companies House URI service, `data.companieshouse.gov.uk/doc/company/{number}`.
- Keyed modes: the Companies House REST API, `api.company-information.service.gov.uk`, endpoints company profile, company search, advanced company search, charges and filing history.
- SIC code descriptions for REST rows come from the enumeration file Companies House publishes for API clients.
- Reuse: Companies House states on GOV.UK (Companies House data products, read 16 November 2026): "We impose no rules or requirements on how the information on the public register is used, and we're not responsible for your use of the company data. You are responsible for complying with any applicable data protection, copyright and other legislation and regulations."
- Contains public sector information from Companies House. This Actor is not affiliated with or endorsed by Companies House.

### More Actors from the same developer

| Actor | What it does | Price |
|---|---|---|
| [ATS Jobs API](https://apify.com/devdarfy/ats-jobs) | Greenhouse, Lever and Ashby job postings, with new-job alerts | $3 / 1,000 jobs |
| [Career Page Jobs Scraper](https://apify.com/devdarfy/jobposting-extractor) | schema.org JobPosting data from any careers page that publishes it | $4 / 1,000 jobs |
| [Government Jobs API](https://apify.com/devdarfy/gov-jobs) | USAJOBS and Swedish Arbetsförmedlingen (Platsbanken) job ads | $2 / 1,000 jobs |
| [Website Screenshot API](https://apify.com/devdarfy/render-api) | Full-page screenshots and URL to PDF for lists of URLs | $1 / 1,000 screenshots |
| [RSS Feed Reader & Parser](https://apify.com/devdarfy/rss-feed-reader) | RSS, Atom, RDF and JSON Feed to clean JSON, new items only | $1 / 1,000 items |
| [Bulk DNS Lookup & DMARC Checker](https://apify.com/devdarfy/dns-email-security) | MX, SPF, DMARC, DKIM and DNSSEC audit per domain, with a score | $2 / 1,000 domains |

# Actor input Schema

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

lookup = fetch the companies listed in Company numbers (works without an API key). search = find companies by name and filters. newIncorporations = companies incorporated in a date range, by default the last 7 days. search and newIncorporations need your own free Companies House API key.

## `companyNumbers` (type: `array`):

Companies House numbers for lookup mode, for example 00445790 or SC095000. Short numbers are padded with zeros (445790 becomes 00445790). Duplicates are fetched once.

## `apiKey` (type: `string`):

Your own free Companies House API key. Required for search and newIncorporations. Optional for lookup: with a key the Actor reads the REST API instead of the keyless URI service and adds jurisdiction, insolvency flag and recent filings. Get one at developer.company-information.service.gov.uk: create a live application, then a key of client type 'API key'. The key is used only for requests to api.company-information.service.gov.uk, stored as a secret input and never written to output or logs.

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

Search text for search mode. Without filters it is a relevance-ranked company search; with any filter below it means 'company name includes'. In newIncorporations mode it narrows the results to names that include this text.

## `sicCodes` (type: `array`):

Keep companies with any of these SIC codes (nature of business), for example 62012 for software development or 47110 for supermarkets. Used in search and newIncorporations.

## `location` (type: `string`):

Registered office location, for example Manchester or a postcode area. Used in search and newIncorporations.

## `companyStatus` (type: `array`):

Keep only companies with these statuses. Used in search and newIncorporations. Leave empty for all.

## `companyType` (type: `array`):

Keep only these company types, for example ltd (private limited), plc, llp. Used in search and newIncorporations. Leave empty for all.

## `incorporatedFrom` (type: `string`):

Earliest incorporation date, YYYY-MM-DD. In newIncorporations mode the default is 7 days before Incorporated to; the range can cover at most 366 days.

## `incorporatedTo` (type: `string`):

Latest incorporation date, YYYY-MM-DD. Default in newIncorporations mode: today (UTC).

## `onlyNew` (type: `boolean`):

Delta mode: remember delivered company numbers in the named key-value store 'uk-companies-house-seen' in your account and skip them in later runs. One list is kept per mode and filter set. Companies cut off by Max items are not marked and come back next run. Schedule newIncorporations with this on to get a feed of new companies.

## `includeRecentFilings` (type: `integer`):

Add the newest N filings (date, category, type, description code) to every row as recentFilings. 0 = off. Needs an API key and one extra request per company.

## `fullProfile` (type: `boolean`):

On (default): every company found by search or newIncorporations is read from its company profile, so accounts, confirmation statement, charges, previous names and insolvency flag are filled. This costs one to three requests per company (roughly 35 to 100 companies per minute). Off: rows come straight from the search index, much faster, and those fields are null.

## `maxItems` (type: `integer`):

Maximum number of companies returned, 0 = unlimited. You are charged per company returned (pay per result), so this caps your spend.

## Actor input object example

```json
{
  "mode": "lookup",
  "companyNumbers": [
    "00445790",
    "00102498",
    "02723534",
    "00048839"
  ],
  "onlyNew": false,
  "includeRecentFilings": 0,
  "fullProfile": true,
  "maxItems": 100
}
```

# Actor output Schema

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

UK companies returned by this run

# 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 = {
    "mode": "lookup",
    "companyNumbers": [
        "00445790",
        "00102498",
        "02723534",
        "00048839"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("devdarfy/uk-companies-house").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 = {
    "mode": "lookup",
    "companyNumbers": [
        "00445790",
        "00102498",
        "02723534",
        "00048839",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("devdarfy/uk-companies-house").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 '{
  "mode": "lookup",
  "companyNumbers": [
    "00445790",
    "00102498",
    "02723534",
    "00048839"
  ],
  "maxItems": 100
}' |
apify call devdarfy/uk-companies-house --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devdarfy/uk-companies-house"
        }
    }
}
```

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/eE3vtOPJSOVUz4NHw/builds/lO5nxx8sxTGz0wflJ/openapi.json
