# UK Insolvency Notices Scraper (The Gazette, Liquidations) (`steadyscrape/uk-insolvency-notices-scraper`) Actor

UK insolvency notices from The Gazette: winding-up petitions and orders, liquidations, administrations, creditors' meetings and dividends, with company number, court, case number and the insolvency practitioner firm. Monitor companies nightly. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/uk-insolvency-notices-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (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 $2.00 / 1,000 notices

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 Insolvency Notices Scraper (The Gazette)

**UK insolvency notices** from The Gazette, the official public record of the United Kingdom: winding-up petitions and
winding-up orders, resolutions for winding-up, liquidator and administrator appointments, creditors' meetings, notices to
creditors, dividends and final meetings, for companies in England, Wales, Scotland and Northern Ireland. Each notice comes
with the **company number** (and its Companies House link), registered office, nature of business, the **court and case
number**, the petitioner when it is an organisation such as HMRC, the key dates, and the **insolvency practitioner firm**.
Filter by notice type, publication days, text, postcode, or a list of company numbers you want to monitor. Export UK
insolvency data to JSON, CSV or Excel, or use it via API.

### What UK insolvency notices are for

- **Credit control and risk**: hear the night a customer, supplier or debtor has a winding-up petition presented, goes
  into liquidation or administration. Give your list of company numbers and schedule it with **Only new notices**.
- **Debt recovery and claims**: the last day for proving claims, the liquidator's firm and the dividend notices, in one row.
- **Lead generation for insolvency practitioners, lawyers, asset buyers and turnaround advisers**: every new corporate
  insolvency in an area (postcode and miles) or a trade (text such as `roofing`).
- **Market research and journalism**: winding-up petitions by HMRC, liquidations by industry, region or court.

### The Gazette's night window: schedule it between 9 pm and 7 am UK time

The Gazette's fair use policy asks every automated tool to **crawl only between 9 pm and 7 am UK time**, at most one
request every 10 seconds (its robots.txt crawl delay). This Actor keeps to it:

- **Run outside the window, it asks nothing** and ends at once with one free row that says when the window opens. You pay
  nothing for that run.
- **Schedule it inside the window**, for example every night at 22:00 `Europe/London` (Apify Console → Schedules). A run that
  reaches 7 am stops there, keeps what it delivered, and says when it can go on; with **Only new notices** the next night
  picks up where it stopped.
- Reading each notice's own page takes one request, so a run delivers about **360 notices an hour** with pages, or about
  **36,000 an hour** with pages off (100 per request, with what the search list shows).

### Input

| Field | What it does |
| --- | --- |
| Notice types | The corporate insolvency categories of The Gazette's own search form (administration, creditors' voluntary liquidation, liquidation by the court, members' voluntary liquidation, receivership, moratoria, dividends, prohibited names…). Empty means all of them. |
| Published in the last days | A moving window for schedules, today included (UK days). |
| Published from / to | Fixed days, `YYYY-MM-DD`, both included. They win over the last days. |
| Text | Words the notice contains: a company name, a trade, a court or a town. |
| Company numbers | UK company numbers to monitor (`11440302`, `SC606766`): one search each, over their whole history unless you give fixed days. |
| Near a postcode, distance | Notices with an address within 1–30 miles of a UK postcode. |
| Read each notice's page | On (default): every field below. Off: what the search list shows, at the lower price. |
| Only new notices | Deliver only what an earlier run of the same filters did not. |
| Maximum notices | Most notices one run delivers (up to 10,000). |

Example: every winding-up petition and winding-up order of the last 2 days, for a nightly schedule.

```json
{
    "noticeTypes": ["G405010307", "G405010311"],
    "publishedInLastDays": 2,
    "onlyNewNotices": true,
    "maxResults": 500
}
```

### Output: one row per UK insolvency notice

```json
{
    "rowType": "notice",
    "noticeId": "5253876",
    "noticeUrl": "https://www.thegazette.co.uk/notice/5253876",
    "noticeCode": "2443",
    "noticeType": "Appointment of Liquidators",
    "edition": "London",
    "publishedAt": "2026-11-17T06:10:10",
    "publicationDate": "2026-11-17",
    "companyName": "TEDDINGTON & RICHMOND ROOFING LIMITED",
    "companyNumber": "11440302",
    "companiesHouseUrl": "https://find-and-update.company-information.service.gov.uk/company/11440302",
    "registeredOffice": "1st Floor, Fairclough House, Church Street, Chorley, Lancashire, PR7 4EX",
    "principalTradingAddress": "Unit 209b, Lansbury Estate 102 Lower Guildford Road, Knaphill, Woking, Surrey, GU21 2EP",
    "natureOfBusiness": "Roofing activities",
    "typeOfLiquidation": "Creditors Voluntary Liquidation",
    "appointmentDate": "2026-11-11",
    "appointedBy": "Members and Creditors",
    "signedDate": "2026-11-16",
    "firms": ["Anderson Brookes Insolvency Practitioners Limited"],
    "firmAddress": "1st Floor, Fairclough House, Church Street, Chorley, Lancashire, PR7 4EX",
    "latitude": 51.31341,
    "longitude": -0.611668,
    "pageRead": true,
    "unreadFields": []
}
```

A winding-up petition carries the court side (notice 5253218): `"court": "High Court of Justice (Chancery Division)"`,
`"courtDistrict": "Companies Court"`, `"caseNumber": "CR-2026-005904"`, `"caseYear": 2026`,
`"petitioner": "COMMISSIONERS FOR HM REVENUE AND CUSTOMS"`, `"petitionPresentedDate": "2026-07-28"`.

### Fields

| Field | Meaning |
| --- | --- |
| `noticeId`, `noticeUrl` | The Gazette's notice and its page. |
| `noticeCode`, `noticeType` | The Gazette's notice code (2441 resolutions for winding-up, 2443 appointment of liquidators, 2450 petitions to wind up…) and its name. |
| `edition` | London, Edinburgh or Belfast Gazette. |
| `publishedAt`, `publicationDate` | When it was published, UK time as The Gazette prints it. |
| `companyName`, `companyNumber`, `companiesHouseUrl` | The company, its number and its Companies House page (UK numbers only). |
| `tradingNames`, `previousNames` | Other names the notice gives. |
| `registeredOffice`, `principalTradingAddress` | The company's addresses as the notice prints them. |
| `natureOfBusiness`, `typeOfLiquidation` | As printed (often a SIC code and its words). |
| `court`, `courtDistrict`, `caseNumber`, `caseYear` | The proceedings, when a court is involved. |
| `petitioner`, `petitionPresentedDate`, `windingUpOrderDate` | For petitions and orders; the petitioner only when it is an organisation. |
| `resolutionDate`, `appointmentDate`, `appointedBy`, `meetingDate`, `claimsDeadline`, `signedDate` | The notice's dates; `claimsDeadline` is the last day for creditors to prove their debts. |
| `firms`, `firmAddress` | The insolvency practitioners' firm (or the petitioner's solicitors) and its address. |
| `latitude`, `longitude` | The place The Gazette pins the notice to. |
| `pageRead` | `true` when the notice's own page was read. |
| `unreadFields` | Fields the notice shows that the Actor could not read (the site changed them): empty in a normal run. A `null` field that is not listed here means the notice does not give it. |
| `rowType`, `query`, `scrapedAt` | `notice` (or `status`, below), the search that found it, and when it was read (UTC). |

**Free status rows** (`rowType: "status"`, never charged) tell you why something gave no notice: `outside_window` and
`window_closed` (the night window), `no_results`, `no_new`, `invalid_input` (a company number that is not one),
`invalid_search`, `page_gone` (a notice The Gazette withdrew), `no_company_name`, `blocked` (the site refused, see below).
Each carries `status`, `query`, `reason`, `noticeId` (when it is about one notice) and `windowOpensAt` (for the night
window, UTC). A `SUMMARY` record in the run's key-value store counts everything.

### Pricing

Pay per event, no start fee:

- **US$0.002 per notice read from its own page** (`notice`).
- **US$0.001 per notice as the search list shows it** (`notice-listed`): with pages off, when a page could not be read,
  or when a field the page shows (company number, office, court…) could not be read and is named in `unreadFields`.

Status rows are free. A run outside the night window costs nothing in events. Set a maximum cost per run in the Apify
Console and the Actor stops there.

### Limits

- **Corporate insolvency only.** Personal insolvency (bankruptcies, IVAs, sequestrations) and deceased estates are not
  offered, because they are about people (see below).
- **No company strike-off notices**: The Gazette publishes those as long lists on supplement pages, not as notices.
- Notices printed as plain text, mostly from before 2015, have no structured fields: they come with the company the search
  lists, the type and the date.
- **The Actor never answers a browser check and never switches IP to get past a refusal.** If The Gazette refuses it (a
  firewall check, HTTP 403, or a 429 asking to wait more than 2 minutes), the run stops asking, keeps what it delivered and
  ends with a free `blocked` row. A short 429 is waited out, as the fair use policy asks.
- Notices that The Gazette's robots.txt withholds (removed notices) are never delivered.

### Is it legal to scrape The Gazette?

The Gazette's content is published under the **Open Government Licence v3.0**, and its "Re-using our data" page calls it
free for developers to use and repurpose. Its fair use policy allows bots and crawlers that crawl between 9 pm and 7 am UK
time, stay within 5 requests every 10 seconds, follow robots.txt and its crawl delay, send an identifiable User-Agent with
a contact, and respect `Retry-After`. This Actor does all of that, and its User-Agent names it and this page.

The licence **does not cover the re-use of personal data**, so this Actor delivers **no named individuals**: no
insolvency practitioners' or contacts' names, emails or IP numbers, no directors, no individual petitioners, and no personal
insolvency notices. If you combine these rows with other data about people, the UK GDPR applies to you.

This Actor is not affiliated with The Gazette, TSO or The National Archives.

### Related

- **Companies House Scraper**: a UK company's details, officers, persons with significant control and filing history,
  and new UK companies by SIC code. Feed it the company numbers from these notices.

# Actor input Schema

## `noticeTypes` (type: `array`):

The corporate insolvency notice types of The Gazette's own search form: winding-up petitions and orders, resolutions for winding-up, administrations, liquidator appointments, creditors' meetings, dividends, final meetings and more. A group ("all types") takes every type under it. Empty takes every corporate insolvency notice. Personal insolvency and deceased estates are not offered.

## `publishedInLastDays` (type: `integer`):

Notices published in this many days up to today (UK), today included, which keeps a schedule moving. Ignored when you fill in one of the two days below, and with company numbers, which read their whole history.

## `publishedFrom` (type: `string`):

<code>YYYY-MM-DD</code>, included.

## `publishedTo` (type: `string`):

<code>YYYY-MM-DD</code>, included.

## `text` (type: `string`):

Words the notice must contain, the way the site's search box takes them: a company name, a trade (<code>roofing</code>), a court or a town.

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

UK company numbers to watch, e.g. <code>11440302</code> or <code>SC606766</code>: every corporate insolvency notice that names each, one search per number, under the notice types and days above. Turn on <b>Only new notices</b> and schedule it to hear of a new one the night it is published.

## `postcode` (type: `string`):

Notices whose addresses lie near this UK postcode, e.g. <code>M1 1AE</code>.

## `distanceMiles` (type: `string`):

In miles, as the site offers it.

## `readNoticePages` (type: `boolean`):

On: each notice is read from its own page, for the company number, registered office, nature of business, court and case number, petitioner, the dates (appointment, resolution, petition, order, meeting, last day for claims) and the insolvency practitioners' firm. The site allows one request every 10 seconds, so that is about 360 notices an hour. Off: only what the search list shows (company, notice type, date, place, and the company number when the list prints it), 100 notices a request, at the lower price.

## `onlyNewNotices` (type: `boolean`):

Deliver only notices an earlier run of these same filters did not deliver. For a nightly schedule: the first run delivers what matches, the next ones only what is new.

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

Most notices this run delivers.

## Actor input object example

```json
{
  "noticeTypes": [],
  "publishedInLastDays": 7,
  "text": "",
  "companyNumbers": [],
  "postcode": "",
  "distanceMiles": "5",
  "readNoticePages": true,
  "onlyNewNotices": false,
  "maxResults": 5
}
```

# Actor output Schema

## `notices` (type: `string`):

No description

## `summary` (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 = {
    "publishedInLastDays": 7,
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/uk-insolvency-notices-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 = {
    "publishedInLastDays": 7,
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/uk-insolvency-notices-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 '{
  "publishedInLastDays": 7,
  "maxResults": 5
}' |
apify call steadyscrape/uk-insolvency-notices-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/uk-insolvency-notices-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/1nL01qmPwy8rEzgxm/builds/qd0vIX1kVtMfn2WFt/openapi.json
