# UK Companies House Incorporations & Insolvency Leads Scraper (`kailouis_labs/uk-companies-house-leads-scraper`) Actor

UK company leads from the official Companies House register: new incorporations by SIC code, region and date, plus insolvency, liquidation and administration filings, with directors, addresses, overdue accounts signals and lead scores. No proxy, no API key.

- **URL**: https://apify.com/kailouis_labs/uk-companies-house-leads-scraper.md
- **Developed by:** [Kailouis Labs](https://apify.com/kailouis_labs) (community)
- **Categories:** Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 uk company records

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

## UK Companies House New Incorporations & Insolvency Leads Scraper

Extract **UK companies** straight from the official **Companies House register** (`find-and-update.company-information.service.gov.uk`): **newly incorporated companies by SIC code**, live **insolvency, liquidation and administration** records, registered addresses, directors and overdue-account signals. No API key, no proxy, no browser.

Every row is a real registered UK company: company number, status, incorporation date, SIC code and description, registered office and postcode, directors with appointment dates, insolvency cases and a lead score you can sort on.

Built for **B2B sellers who buy UK company lists**, not for consumers.

### Who buys this list

| Buyer | Why they buy it |
| --- | --- |
| Accountants, bookkeepers & tax advisers | Newly formed companies need a first set of accounts within 21 months. Filter by SIC code and postcode to fill a practice's onboarding pipeline. |
| Business banks, neobanks & lenders | Fresh incorporations by SIC code and region are the classic small-business acquisition list; overdue accounts and insolvency cases flag risk. |
| Commercial insurance brokers | New trades (`43210` electrical, `41202` construction) need public liability and employers' liability cover from day one. |
| Web, SEO and marketing agencies | Companies incorporated in the last 90 days have no website and no Google presence yet: they are the warmest local-sales list there is. |
| Company formation agents & company secretarial services | Volume players resell the same register weekly; insolvency filters keep their compliance and strike-off services in front of the right client. |
| B2B data resellers & sales-intelligence platforms | Companies House is free and OGL-licensed, but nobody wants to rebuild the scraper, the pagination and the director enrichment. |
| Insolvency practitioners, credit insurers & debt recovery | `insolvency-proceedings`, `liquidation` and `administration` filters surface the case list a recovery team works from. |
| Recruitment, telecoms and utility brokers | SIC + postcode + incorporation date builds a local new-business list in one run. |

### What you get per lead (30+ fields)

- **Identity:** `companyNumber`, `companyName`, `companyStatus`, `companyStatusDetail`, `companyType`, `previousNames[]`
- **Timing:** `incorporatedOn`, `companyAgeDays` (new-company signal)
- **Classification:** `sicCodes[]`, `sicDescriptions[]`
- **Location:** `registeredOfficeAddress`, `postcode`, `nation` (England / Wales / Scotland / Northern Ireland)
- **Directors:** `officersCount`, `resignationsCount`, `officers[]` (`name`, `role`, `status`, `appointedOn`, `resignedOn`, `nationality`, `occupation`, `dateOfBirth` month-year, `address`)
- **Filing health:** `accountsOverdue`, `accountsNextDue`, `accountsLastMadeUpTo`, `confirmationStatementOverdue`, `confirmationStatementNextDue`
- **Insolvency:** `insolvencyCaseCount`, `insolvencyCases[]` (case type, dates, practitioners)
- **Scoring:** `leadScore` (0–100), `leadGrade` (A/B/C/D), `leadSignals[]` (`active-trading`, `incorporated-under-2-years`, `named-directors`, `accounts-overdue`, `insolvency-open`, `geocodable-postcode`…)
- **Provenance:** `sourceUrl`, `scrapedAt`

### Input

| Field | Default | What it does |
| --- | --- | --- |
| `sicCodes` | `43210,41202,62012` | Comma separated UK SIC 2007 codes (electrical installation, construction of residential buildings, computer programming) |
| `companyStatus` | `active` | `active`, `liquidation`, `insolvency-proceedings`, `administration`, `dissolved`, `receivership` |
| `incorporatedFrom` / `incorporatedTo` | empty | `YYYY-MM-DD` incorporation window; leave `from` empty for "any age" |
| `postcodeOrLocality` | empty | Postcode district (`B11`) or locality (`Manchester`) |
| `keywordQuery` | empty | Company name keyword |
| `includeOfficers` | `true` | Fetch the director list for each company |
| `includeInsolvencyDetail` | `true` | Fetch the insolvency case detail |
| `minLeadScore` | `0` | Drop leads below this score (0–100) |
| `maxItems` | `50` | Hard cap on leads per run (up to 5,000) |

Example, **new Manchester agencies incorporated in the last quarter**:

```json
{
  "sicCodes": "62012,73110,70229",
  "companyStatus": "active",
  "incorporatedFrom": "2026-08-01",
  "postcodeOrLocality": "Manchester",
  "maxItems": 250
}
```

Example, **open insolvency cases to sell to recovery and credit teams**:

```json
{
  "companyStatus": "insolvency-proceedings",
  "includeOfficers": false,
  "maxItems": 500
}
```

### Output

One JSON object per company in the default dataset, and a clean 12-column overview table in the Apify Console (`companyNumber`, `companyName`, `companyStatus`, `incorporatedOn`, `sicCodes`, `sicDescriptions`, `registeredOfficeAddress`, `postcode`, `nation`, `officersCount`, `insolvencyCaseCount`, `leadScore`).

### How it works, and what it costs you

- Plain HTTP + Cheerio against the public register. **No headless browser, no proxy, no API key.**
- Polite by design: one shared request gate (max 3 in flight, 220 ms minimum gap), 4 retries with exponential backoff on HTTP 403/429/5xx, and a global cool-down when the register pushes back. The register is free to read but rate-limits bursts.
- Memory: the run streams results straight into the dataset; peak RSS stays around **150–175 MB**, safe inside a 512 MB container.
- Speed: roughly **10–25 seconds per 50 enriched leads**; turn `includeOfficers` off to double that.
- Pay-per-event: you are charged per company record pushed, and the Actor stops cleanly when `ACTOR_MAX_TOTAL_CHARGE_USD` is reached.

### Notes on the data

- Source: Companies House public register, published under the Open Government Licence. Attribution: "Contains public sector information licensed under the Open Government Licence v3.0".
- Director date of birth is the month and year that Companies House publishes (full dates are not public).
- `sicCodes` is passed to the register's own advanced search. When the register lists a company under several codes, the codes returned are the company's real registered codes, which can include ones outside your filter.
- `companyAgeDays` and the lead score are calculated at scrape time.

### Related Kailouis Labs Actors

- [us-fmcsa-trucking-fleet-scraper](https://apify.com/kailouis_labs/us-fmcsa-trucking-fleet-scraper): US DOT carriers and trucking fleets.
- [us-healthcare-exclusion-leads-scraper](https://apify.com/kailouis_labs/us-healthcare-exclusion-leads-scraper): US OIG exclusion and sanctions leads.
- [uk-planning-applications-scraper](https://apify.com/kailouis_labs/uk-planning-applications-scraper): UK planning applications and construction leads.

### Licence

MIT for the Actor code. The data stays under the Open Government Licence as published by Companies House.

# Actor input Schema

## `sicCodes` (type: `string`):

Filter by SIC code(s) of the company's nature of business. One code per query, comma separated for several (e.g. 43210,41202,62012). Common B2B goldmines: 43210 electrical installation, 41202 construction of domestic buildings, 62012 business and domestic software development, 68209 letting and operating of own or leased real estate, 96020 hairdressing.

## `companyStatus` (type: `string`):

active (newly formed trading companies), liquidation, administration, insolvency-proceedings, receivership, voluntary-arrangement. Leave empty for any status.

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

Only companies incorporated on or after this date (YYYY-MM-DD). Newly formed companies are the goldmine for accountants, business banks, insurance brokers and web/marketing agencies.

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

Only companies incorporated on or before this date (YYYY-MM-DD). Leave empty for no upper bound.

## `postcodeOrLocality` (type: `string`):

Registered office area filter: a postcode (SW1A 1AA, LS1) or a town/county name (Leeds, Manchester, Kent). This is a text match on the registered office address.

## `keywordQuery` (type: `string`):

Only companies whose registered name contains this text (e.g. electric, plumbing, consultancy). Useful with SIC codes to find a specific trade.

## `includeOfficers` (type: `boolean`):

Also open each company page and pull the director(s): name, role, appointed date, nationality and correspondence address. Adds one extra request per lead.

## `includeInsolvencyDetail` (type: `boolean`):

Append the insolvency case reference, previous company names and overdue accounts / confirmation statement warnings found on the company page.

## `minLeadScore` (type: `integer`):

Drop companies below this 0-100 lead score. The score rewards fresh incorporations, reachable directors, rich SIC data and distress signals (useful for insolvency, recovery and restructuring buyers).

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

Maximum number of company leads to return. Default 50 keeps the run under a minute.

## Actor input object example

```json
{
  "sicCodes": "43210,41202,62012",
  "companyStatus": "active",
  "incorporatedFrom": "2025-01-01",
  "includeOfficers": true,
  "includeInsolvencyDetail": true,
  "minLeadScore": 0,
  "maxItems": 50
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

No description

## `datasetItemsCsv` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# 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 = {
    "sicCodes": "43210,41202,62012",
    "incorporatedFrom": "2025-01-01"
};

// Run the Actor and wait for it to finish
const run = await client.actor("kailouis_labs/uk-companies-house-leads-scraper").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 = {
    "sicCodes": "43210,41202,62012",
    "incorporatedFrom": "2025-01-01",
}

# Run the Actor and wait for it to finish
run = client.actor("kailouis_labs/uk-companies-house-leads-scraper").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 '{
  "sicCodes": "43210,41202,62012",
  "incorporatedFrom": "2025-01-01"
}' |
apify call kailouis_labs/uk-companies-house-leads-scraper --silent --output-dataset

```

## MCP server setup

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

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/OYB7rivD91bRFwtae/builds/0jILRHNyeBCNJW4DL/openapi.json
