# UK Company Data — Directors, Owners & Firmographics (`foxlabs/uk-company-data`) Actor

Look up any UK company and get directors, persons with significant control (beneficial owners), and firmographics. 5M+ companies from the official Companies House API.

- **URL**: https://apify.com/foxlabs/uk-company-data.md
- **Developed by:** [Berkan Kaplan](https://apify.com/foxlabs) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 results

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

<p align="center"><a href="https://apify.com/foxlabs/uk-company-data"><img src="https://data.foxlabs.com.tr/img/uk-company-data-banner.svg" alt="UK Company Data — Companies House officers, PSC &amp; SIC" width="100%" /></a></p>

## UK Company Data — Directors, Owners & Firmographics

[![Apify](https://img.shields.io/badge/Apify-foxlabs%2Fuk--company--data-blue)](https://apify.com/foxlabs/uk-company-data)
[![Coverage](https://img.shields.io/badge/coverage-5M%2B%20companies-orange)]()

Look up any UK company and get **directors, beneficial owners (PSC), and full firmographics** from the official Companies House API. 5M+ companies, zero browser overhead.

- **Directors & Secretaries** — names, roles, appointment dates, nationality
- **Persons with Significant Control** — beneficial owners with control percentages
- **Company Profile** — status, SIC codes, incorporation date, address

Part of the [foXLabs B2B Intelligence Suite](https://apify.com/foxlabs).

### Quick Start

```json
{
  "companyNumbers": ["02050399"],
  "companyNames": ["Tesco", "BP"]
}
````

### Input

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `companyNumbers` | array | — | 8-digit UK company number. Exact match. |
| `companyNames` | array | — | Company name — best-effort search via Companies House. |
| `api_key` | string | *(built-in)* | Companies House API key. Default provided. |
| `maxResults` | integer | `100` | Max records. |
| `maxConcurrency` | integer | `3` | Keep low — 600 req / 5 min rate limit. |

### Output

```json
{
  "company_name": "TESCO PLC",
  "company_number": "02050399",
  "company_status": "active",
  "incorporation_date": "1994-05-09",
  "sic_codes": ["47110"],
  "officers": [
    { "name": "SMITH, John", "role": "director", "appointed_on": "2020-01-15", "nationality": "British" }
  ],
  "officers_count": 13,
  "persons_with_significant_control": [
    { "name": "Mr Maxwell Moody", "natures_of_control": "Owns 75-100% of shares", "notified_on": "2016-04-06" }
  ],
  "psc_count": 1,
  "matched": true,
  "source": "UK Companies House"
}
```

### Use Cases

- **KYC & Due Diligence** — Verify UK companies and identify beneficial owners
- **Supply Chain** — Map UK supplier corporate structures
- **Compliance** — UK Economic Crime Act / PSC register checks

### Powered By

- **[Companies House](https://www.gov.uk/government/organisations/companies-house)** — UK official company registry
- **got-scraping** — Plain HTTP, zero browser
- **Apify SDK** — Serverless deployment

### Changelog

#### v0.1 — 2026-06-22

- Initial release: Companies House company profile + officers + PSC
- 5M+ UK companies
- Name search & company number lookup
- Built-in default API key

Built by [foXLabs](https://data.foxlabs.com.tr)

# Actor input Schema

## `api_key` (type: `string`):

A default API key is included. Provide your own key at https://developer.company-information.service.gov.uk if you need higher rate limits.

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

8-digit UK company numbers (e.g. 02050399). Exact match from Companies House.

## `companyNames` (type: `array`):

Search Companies House by name. Returns first match. Best-effort — use company number for guaranteed results.

## `sicCode` (type: `string`):

Select a UK SIC industry section to discover companies in that sector. Leave empty for direct lookup with company numbers/names.

## `statusFilter` (type: `string`):

Filter by company status.

## `maxResults` (type: `integer`):

Hard cap on results.

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

Parallel requests. Default 3 for rate limits.

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

Apify Datacenter proxy for accessing the Companies House API.

## Actor input object example

```json
{
  "companyNumbers": [
    "02050399"
  ],
  "companyNames": [],
  "sicCode": "",
  "statusFilter": "",
  "maxResults": 100,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "api_key": "",
    "companyNumbers": [
        "02050399"
    ],
    "companyNames": [],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": []
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("foxlabs/uk-company-data").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 = {
    "api_key": "",
    "companyNumbers": ["02050399"],
    "companyNames": [],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("foxlabs/uk-company-data").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 '{
  "api_key": "",
  "companyNumbers": [
    "02050399"
  ],
  "companyNames": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}' |
apify call foxlabs/uk-company-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=foxlabs/uk-company-data",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "UK Company Data — Directors, Owners & Firmographics",
        "description": "Look up any UK company and get directors, persons with significant control (beneficial owners), and firmographics. 5M+ companies from the official Companies House API.",
        "version": "0.1",
        "x-build-id": "52kbE9qjsaxdpeODA"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/foxlabs~uk-company-data/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-foxlabs-uk-company-data",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/foxlabs~uk-company-data/runs": {
            "post": {
                "operationId": "runs-sync-foxlabs-uk-company-data",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/foxlabs~uk-company-data/run-sync": {
            "post": {
                "operationId": "run-sync-foxlabs-uk-company-data",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "api_key": {
                        "title": "Companies House API key (optional — default provided)",
                        "type": "string",
                        "description": "A default API key is included. Provide your own key at https://developer.company-information.service.gov.uk if you need higher rate limits."
                    },
                    "companyNumbers": {
                        "title": "Company registration numbers — most precise",
                        "type": "array",
                        "description": "8-digit UK company numbers (e.g. 02050399). Exact match from Companies House.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "companyNames": {
                        "title": "Company names (best-effort search)",
                        "type": "array",
                        "description": "Search Companies House by name. Returns first match. Best-effort — use company number for guaranteed results.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "sicCode": {
                        "title": "Industry sector — Discovery Mode (SIC 2007)",
                        "enum": [
                            "",
                            "A",
                            "B",
                            "C",
                            "CA",
                            "CB",
                            "CC",
                            "CD",
                            "CE",
                            "CF",
                            "CG",
                            "CH",
                            "CI",
                            "CJ",
                            "CK",
                            "CL",
                            "CM",
                            "D",
                            "E",
                            "F",
                            "G",
                            "H",
                            "I",
                            "J",
                            "JA",
                            "JB",
                            "JC",
                            "K",
                            "L",
                            "M",
                            "N",
                            "O",
                            "P",
                            "Q",
                            "R",
                            "S",
                            "T",
                            "U"
                        ],
                        "type": "string",
                        "description": "Select a UK SIC industry section to discover companies in that sector. Leave empty for direct lookup with company numbers/names.",
                        "default": ""
                    },
                    "statusFilter": {
                        "title": "Company status",
                        "enum": [
                            "",
                            "active",
                            "dissolved",
                            "liquidation",
                            "administration",
                            "receivership",
                            "voluntary-arrangement",
                            "converted-closed",
                            "insolvency-proceedings",
                            "registered",
                            "removed"
                        ],
                        "type": "string",
                        "description": "Filter by company status.",
                        "default": ""
                    },
                    "maxResults": {
                        "title": "Maximum number of companies",
                        "minimum": 0,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Hard cap on results.",
                        "default": 100
                    },
                    "maxConcurrency": {
                        "title": "Concurrent lookups",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Parallel requests. Default 3 for rate limits.",
                        "default": 3
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Datacenter proxy for accessing the Companies House API.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": []
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
