# Company House GOV.UK (`nocodeventure/company-house-gov-uk`) Actor

Get all the information you need about UK companies in seconds! This scraper grabs data from the official Companies House website - that's where the UK government keeps records of every company.

- **URL**: https://apify.com/nocodeventure/company-house-gov-uk.md
- **Developed by:** [No-Code Venture](https://apify.com/nocodeventure) (community)
- **Categories:** Automation, Integrations, Lead generation
- **Features:** Limited permissions
- **Stats:** 22 total users, 1 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## 🏢 Companies House UK Scraper PPE

Get all the information you need about UK companies in seconds! This scraper grabs data from the official **Companies House** website - that's where the UK government keeps records of every company.

### 💰 Pay Per Event Pricing

This Actor uses **Pay Per Event (PPE)** pricing - you only pay for what you use!

#### Billing Events

| Event | When Charged | Description |
|-------|--------------|-------------|
| **proxy-group-usage** | Once per run | Charged when using proxy groups (RESIDENTIAL, GOOGLE_SERP, etc.) |
| **proxy-usage** | Once per run | Charged when using standard datacenter proxy (no groups) |
| **proxy-record-surcharge** | Per company scraped | Additional charge per record when proxy is enabled |

#### Prefer a Subscription?

If you prefer **predictable monthly pricing** instead of pay-per-use, check out our subscription-based version:

👉 **[Company House GOV.UK (Subscription)](https://apify.com/nocodeventure/company-house-gov-uk)** - $9.00/month + Apify platform costs

The subscription version offers the same features with a fixed monthly Actor fee, plus standard Apify platform costs (compute, proxy, etc.).

### What Does This Scraper Do?

Think of Companies House like a giant phone book, but for businesses. This scraper reads that phone book for you and collects all the juicy details about any UK company you want to know about.

You can search by company name (like "Apple" or "Tesco") or use the company number if you know it. The scraper then visits Companies House and brings back everything it finds!

### ✨ What Information Can You Get?

Here's all the cool stuff this scraper can find:

| Data Type | What It Means |
|-----------|---------------|
| **Company Details** | The basics - name, number, status (active or closed), type, and when it started |
| **Address** | Where the company's official office is located |
| **Officers** | Who runs the company - directors, secretaries, both current and past |
| **PSCs** | "Persons with Significant Control" - the people who really own or control the company |
| **Filing History** | All the paperwork the company has filed (like report cards for businesses!) |
| **Charges** | Any loans or debts secured against the company |
| **SIC Codes** | Special codes that tell you what the business actually does |

### 🚀 How To Use It

#### Option 1: Search by Company Name

Just type in a company name, and the scraper will search for it and grab the first match.

#### Option 2: Use Direct URLs

Already know which company page you want? Paste the Companies House URL directly!

Example URL: `https://find-and-update.company-information.service.gov.uk/company/11076647`

### ⚙️ Input Options

#### Scraping Options

| Field | What It Does | Default |
|-------|--------------|---------|
| `searchQuery` | Type a company name or number to search for | - |
| `directUrls` | Paste Companies House URLs directly (skips searching) | Empty |
| `scrapeFilingHistory` | Get the company's filing history? | ✅ Yes |
| `scrapeOfficers` | Get info about directors and officers? | ✅ Yes |
| `scrapePSCs` | Get info about people who control the company? | ✅ Yes |
| `scrapeCharges` | Get info about company charges/loans? | ✅ Yes |
| `maxFilingHistoryPages` | How many pages of filing history to grab (0 = all of them) | 10 |

#### Performance & Rate Limiting

| Field | What It Does | Default |
|-------|--------------|---------|
| `maxRequestsPerCrawl` | Max pages the scraper can visit (0 = unlimited) | 0 (unlimited) |
| `maxConcurrency` | Number of parallel browser sessions (1-3 recommended) | 3 |
| `requestDelaySeconds` | Delay between requests in seconds | 1 |
| `proxyConfiguration` | Proxy settings for avoiding IP blocks | No proxy |

### 📊 Output Schema

Here's exactly what data you'll get back for each company:

#### Main Company Info

```json
{
  "companyName": "EXAMPLE COMPANY LTD",
  "companyNumber": "12345678",
  "companyStatus": "Active",
  "companyType": "Private limited Company",
  "incorporatedOn": "22 November 2017",
  "dissolvedOn": null,
  "registeredOfficeAddress": "123 Main Street, London, England, SW1A 1AA",
  "url": "https://find-and-update.company-information.service.gov.uk/company/12345678",
  "scrapedAt": "2025-12-04T15:44:32.655Z"
}
```

#### SIC Codes (What the business does)

```json
{
  "sicCodes": [
    {
      "code": "62012",
      "description": "Business and domestic software development"
    }
  ]
}
```

#### Accounts Info

```json
{
  "accounts": {
    "nextAccountsMadeUpTo": "30 November 2025",
    "lastAccountsMadeUpTo": "30 November 2024"
  },
  "annualReturn": {
    "lastAnnualReturnMadeUpTo": "2 July 2014"
  },
  "confirmationStatement": {
    "nextStatementDate": "16 January 2026",
    "lastStatementDate": "16 January 2025"
  }
}
```

> **Note:** `annualReturn` is only available for older/dissolved companies. Active companies use `confirmationStatement` instead (annual returns were replaced by confirmation statements in 2016).

#### Officers (Directors & Secretaries)

```json
{
  "officers": [
    {
      "name": "SMITH, John",
      "role": "Director",
      "status": "Active",
      "appointedOn": "1 February 2018",
      "resignedOn": null,
      "dateOfBirth": "December 1982",
      "nationality": "British",
      "countryOfResidence": "England",
      "occupation": "Software Developer",
      "correspondenceAddress": "123 Main Street, London, England, SW1A 1AA",
      "identityVerificationDue": "30 January 2026",
      "placeRegistered": null,
      "registrationNumber": null
    }
  ]
}
```

#### PSCs (Persons with Significant Control)

```json
{
  "pscs": [
    {
      "name": "Mr John Smith",
      "status": "Active",
      "correspondenceAddress": "123 Main Street, London, England, SW1A 1AA",
      "notifiedOn": "16 January 2019",
      "ceasedOn": null,
      "dateOfBirth": "December 1982",
      "nationality": "British",
      "countryOfResidence": "England",
      "natureOfControl": [
        "Ownership of shares – 75% or more",
        "Ownership of voting rights - 75% or more",
        "Right to appoint or remove directors"
      ],
      "placeRegistered": null,
      "registrationNumber": null,
      "legalForm": null,
      "lawGoverned": null
    }
  ]
}
```

#### Filing History

```json
{
  "filingHistory": [
    {
      "date": "22 Aug 2025",
      "type": "AA",
      "description": "Micro company accounts made up to 30 November 2024",
      "documentUrl": "https://find-and-update.company-information.service.gov.uk/company/12345678/filing-history/.../document"
    }
  ]
}
```

#### Statistics Summary

```json
{
  "statistics": {
    "filings": 28,
    "officers": 3,
    "pscs": 3,
    "sicCodes": 1,
    "previousNames": 0
  }
}
```

#### Extra Links

```json
{
  "moreInfo": {
    "orderCertifiedDocumentUrl": "https://find-and-update.company-information.service.gov.uk/company/12345678/orderable/certified-copies",
    "fileForCompanyUrl": "/company/12345678/authorise?return_to=/company/12345678/more",
    "followCompanyUrl": "https://follow.company-information.service.gov.uk/company/12345678/confirm-follow"
  }
}
```

### 🎯 Perfect For

- **Researchers** looking into UK businesses
- **Due diligence** before working with a company
- **Journalists** investigating corporate structures
- **Business analysts** gathering market data
- **Developers** building apps that need UK company data

### 📚 Learn More

- [Apify Platform Docs](https://docs.apify.com/platform)
- [Crawlee Documentation](https://crawlee.dev)
- [Join the Apify Discord](https://discord.com/invite/jyEM2PRvMU)

### ⚖️ Legal Disclaimer & Responsible Use

This scraper accesses publicly available data from [Companies House](https://find-and-update.company-information.service.gov.uk/), a UK government service. Before using this scraper, please be aware of the following:

#### Terms of Use

- **Open Government Licence**: Data from Companies House is available under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). You must meet the conditions of this licence when reusing the data.
- **Rate Limiting**: This scraper is configured with sensible defaults (`maxConcurrency: 3`, `requestDelaySeconds: 1`). You can adjust these settings, but making too many requests may result in your access being temporarily blocked.
- **robots.txt**: The scraper respects standard web crawling conventions. It does not access disallowed paths such as `/search/all*` or print pages.

#### Your Responsibilities

- ✅ Use the data in accordance with the [Open Government Licence](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)
- ✅ Attribute the data source appropriately when publishing
- ✅ Respect rate limits and avoid overwhelming the service
- ❌ Do not use for purposes that violate Terms of Service
- ❌ Do not scrape or store personal data without lawful basis (GDPR applies)
- ❌ Do not use the data for harassment, spam, or illegal purposes

#### Official APIs

Companies House also provides [official APIs](https://developer.company-information.service.gov.uk/) which may be more appropriate for high-volume or commercial use. Consider using the official API if you need:

- Real-time data access
- Higher rate limits
- SLA guarantees

**This scraper is provided "as is" without warranty. Users are solely responsible for ensuring their use complies with all applicable laws and terms of service.**

***

Made with ❤️ for anyone who needs UK company data fast!

# Actor input Schema

## `searchQuery` (type: `string`):

Company name or company number to search for. Ignored if directUrls are provided.

## `directUrls` (type: `array`):

Direct URLs to company pages (e.g., https://find-and-update.company-information.service.gov.uk/company/11076647). If provided, searchQuery is ignored.

## `scrapeFilingHistory` (type: `boolean`):

Whether to scrape the full filing history (may be paginated)

## `scrapeOfficers` (type: `boolean`):

Whether to scrape current and resigned officers

## `scrapePSCs` (type: `boolean`):

Whether to scrape PSCs (Persons with Significant Control)

## `scrapeCharges` (type: `boolean`):

Whether to scrape company charges

## `maxFilingHistoryPages` (type: `integer`):

Maximum number of filing history pages to scrape (0 = unlimited)

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of requests that can be made by this crawler. Set to 0 for unlimited.

## `maxConcurrency` (type: `integer`):

Maximum number of parallel browser sessions. Lower values are more polite to the server but slower. Recommended: 1-3 for respectful scraping.

## `requestDelaySeconds` (type: `number`):

Minimum delay in seconds between requests. Higher values reduce server load and risk of being blocked. Set to 0 for no delay.

## `proxyConfiguration` (type: `object`):

Proxy settings for avoiding IP blocks. Leave default for no proxy, or configure Apify Proxy for better reliability.

## Actor input object example

```json
{
  "searchQuery": "Apify",
  "directUrls": [],
  "scrapeFilingHistory": true,
  "scrapeOfficers": true,
  "scrapePSCs": true,
  "scrapeCharges": true,
  "maxFilingHistoryPages": 10,
  "maxRequestsPerCrawl": 0,
  "maxConcurrency": 3,
  "requestDelaySeconds": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "searchQuery": "Apify",
    "directUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("nocodeventure/company-house-gov-uk").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 = {
    "searchQuery": "Apify",
    "directUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("nocodeventure/company-house-gov-uk").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 '{
  "searchQuery": "Apify",
  "directUrls": []
}' |
apify call nocodeventure/company-house-gov-uk --silent --output-dataset

```

## MCP server setup

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

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/G6KtT7XtdRgVrazt8/builds/AB0E0HJGA4LNggywV/openapi.json
