# UK Company Data — Companies House Profiles, Officers & Filings (`jdepablos/companies-house-feed`) Actor

- **URL**: https://apify.com/jdepablos/companies-house-feed.md
- **Developed by:** [Juan de Pablos](https://apify.com/jdepablos) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 company profile delivereds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## UK Company Data — Companies House Profiles, Officers & Filings

**Run a KYC-grade check on any UK company in one call**: official profile, active directors, beneficial owners (PSC), registered charges and recent filings — as clean JSON with verifiable **risk flags** (overdue accounts, insolvency history, outstanding charges, dissolved status).

Data comes straight from the official [Companies House](https://find-and-update.company-information.service.gov.uk/) register (the UK company registry), not from a stale third-party database.

### What you get per company

```json
{
    "companyNumber": "SC327000",
    "companyName": "BANK OF SCOTLAND PLC",
    "status": "active",
    "type": "plc",
    "incorporatedOn": "2007-09-25",
    "companyAgeYears": 18.8,
    "registeredOffice": "The Mound, Edinburgh, EH1 1YZ, Scotland",
    "sicCodes": ["64191"],
    "accounts": { "nextDue": "2027-06-30", "lastMadeUpTo": "2025-12-31", "overdue": false },
    "confirmationStatement": { "nextDue": "2027-05-20", "overdue": false },
    "officers": [{ "name": "...", "role": "director", "appointedOn": "2024-01-15" }],
    "officersCount": { "active": 14, "total": 71 },
    "personsWithSignificantControl": [{ "name": "HBOS PLC", "kind": "corporate-entity-person-with-significant-control", "naturesOfControl": ["ownership-of-shares-75-to-100-percent"] }],
    "charges": { "total": 29, "outstanding": 16, "satisfied": 13 },
    "recentFilings": [{ "date": "2026-05-19", "category": "confirmation-statement", "description": "confirmation statement with no updates — made up date: 2026-05-06" }],
    "totalFilings": 312,
    "riskFlags": ["outstanding-charges:16"],
    "source": "https://find-and-update.company-information.service.gov.uk/company/SC327000"
}
```

### Use cases

- **KYC / vendor onboarding** — verify a counterparty exists, is active, and who controls it.
- **Credit checks** — overdue accounts, outstanding charges and insolvency history in one field (`riskFlags`).
- **Watchlists** — pass up to 50 company numbers per run and schedule it daily; diff `recentFilings` to catch new appointments, resignations, charges or insolvency events.
- **Lead enrichment** — SIC codes, age, registered office and officer names for UK B2B prospecting.

### Input

Company **numbers** (`"00502851"`, `"SC327000"`) or **names** (`"Greggs"`) — names are resolved through the official search (best match wins, alternatives logged). Toggle `includeOfficers`, `includePsc`, `includeCharges` and `filingsLimit` to trim the report.

Bring your own free API key (optional `apiKey` input) to use your own rate limit — otherwise the built-in shared key is used.

### Pricing

Pay per event: you are charged only for **profiles actually delivered**. Companies not found and failed lookups are never charged.

### Use with AI agents (MCP)

This Actor works out of the box with Apify's MCP server. Point your agent to:

```
https://mcp.apify.com?tools=jdepablos/companies-house-feed
```

Ask things like *"Run a risk check on Greggs plc"* or *"Which of these 20 suppliers have overdue accounts?"*.

### FAQ

**Is this data legal to use?** Yes — Companies House data is UK public register data, free to reuse (including commercially).

**How fresh is it?** Live: every run queries the official API at request time. Filings appear here as soon as Companies House registers them.

**Scotland / Northern Ireland companies?** Yes — all UK registers (prefixes SC, NI, OC for LLPs, etc.).

**What does `riskFlags` contain?** Only verifiable register facts: `accounts-overdue`, `confirmation-statement-overdue`, `insolvency-history`, `outstanding-charges:N`, `status:dissolved`, `undeliverable-registered-office`, `no-active-officers`. No opinions or scores — you decide the policy.

# Actor input Schema

## `companies` (type: `array`):

Company numbers (e.g. "00502851") or names (e.g. "Greggs") — names are resolved via the official search, best match wins. Up to 50 per run.

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

One company number or name — convenience alternative to `companies` for single lookups.

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

Active directors and secretaries with role and appointment date.

## `includePsc` (type: `boolean`):

Persons with significant control (beneficial owners) and their natures of control.

## `includeCharges` (type: `boolean`):

Registered charges (mortgages/debentures): total, outstanding and satisfied counts.

## `filingsLimit` (type: `integer`):

How many recent filings to include per company (0 disables filings).

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

Bring your own free API key from developer.company-information.service.gov.uk to use your own rate limit (600 req/5 min). Leave empty to use the built-in shared key.

## Actor input object example

```json
{
  "companies": [
    "00502851",
    "Tesco"
  ],
  "includeOfficers": true,
  "includePsc": true,
  "includeCharges": true,
  "filingsLimit": 10
}
```

# 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 = {
    "companies": [
        "00502851",
        "Tesco"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jdepablos/companies-house-feed").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 = { "companies": [
        "00502851",
        "Tesco",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jdepablos/companies-house-feed").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "companies": [
    "00502851",
    "Tesco"
  ]
}' |
apify call jdepablos/companies-house-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=jdepablos/companies-house-feed",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/55FGIq8FKdEdjH6Ui/builds/BZkOQga85QkJOHh6I/openapi.json
