DEV Community

Aurelix Solutions
Aurelix Solutions

Posted on

A daily list of newly incorporated UK companies in your industry and postcode area

Between 2,000 and 4,000 companies are incorporated in the UK on a typical working day, and every one of them needs a bank account, an accountant, insurance, a website and usually a phone line in its first weeks. That makes the Companies House register a lead list that refreshes itself daily. An accountant in Manchester wants the new limited companies in M and SK postcodes; a web agency wants new software and IT companies in London; a business bank wants new subsidiaries of existing groups.

The register is public, but its search isn't built for "what was incorporated yesterday in my area and industry". This post builds that feed in Python.

Disclosure: I'm Aurelix, and I built the Companies House Scraper. It's a paid tool (prices below).

What each row holds

Rows come from the official Companies House Public Data API, newest first:

  • company_number, company_name, incorporation_date, company_status, company_type and its description.
  • sic_codes with sic_descriptions in Companies House's own wording, and industry (the SIC section).
  • The registered office: address lines, locality, postal_code, postcode_area and uk_region.
  • officers_count and the current officers as the register lists them: role, appointment date, birth month and year, nationality, country of residence and service address.
  • Optional corporate_psc: owners that are companies or legal entities, with registration number and nature of control. Individual owners come in individual_psc with the same register details.
  • company_url, the company's page on the public register.

Dormant shells (SIC 99999) are dropped by default.

A morning list for your area

pip install apify-client
Enter fullscreen mode Exit fullscreen mode
import csv
import os
from collections import Counter

from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("aurelix/companies-house-scraper").call(
    run_input={
        "daysBack": 1,
        "postcodeAreas": ["M", "SK"],
        "companyTypes": ["ltd"],
        "maxResults": 300,
        "incremental": True,
        "stateKey": "manchester-new-ltd",
    }
)
companies = list(client.dataset(run["defaultDatasetId"]).iterate_items())

fields = ["company_name", "company_number", "incorporation_date", "industry", "sic",
          "locality", "postal_code", "officers_count", "company_url"]
with open("new_companies.csv", "w", newline="", encoding="utf-8") as f:
    w = csv.writer(f)
    w.writerow(fields)
    for c in companies:
        w.writerow([c["company_name"], c["company_number"], c["incorporation_date"], c["industry"],
                    "; ".join(c["sic_descriptions"] or []), c["locality"], c["postal_code"],
                    c["officers_count"], c["company_url"]])

print(f"{len(companies)} new companies")
for industry, n in Counter(c["industry"] or "unknown" for c in companies).most_common(5):
    print(f"  {industry}: {n}")
Enter fullscreen mode Exit fullscreen mode

With incremental on, the first run returns everything that matches; each later run with the same stateKey skips companies already returned, so a daily schedule pays only for new ones. Save the input as a task in the Apify Console and schedule it each morning; a Slack webhook URL in slackWebhookUrl posts the count and the top 10.

One thing to check before writing to anyone: for small companies the registered office is often an accountant's or a formation agent's address, not where the business trades.

Other filters for other sellers:

  • Agencies and B2B SaaS: "sicCodes": ["62", "63"] (software and IT services) with "regions": ["london", "south-east"] and a week's window.
  • Hospitality suppliers and insurers: "industries": ["hospitality"] for new pubs, cafes and hotels in a region.
  • New subsidiaries: "includeCorporatePsc": true and keep rows where corporate_psc is not empty; registration_number identifies the parent.
  • A website, where there is one: "findWebsite": true tries the company name as a domain and keeps it only when the site shows the company number or postcode. Most brand-new companies don't have one yet.
  • Big or frequent runs: paste your own free Companies House API key in apiKey; the rate limit is per key.

Why this tool

  • Built as a daily new-companies feed from the live register: an incorporation-date window and an only-new mode.
  • 12 UK regions, postcode areas and districts as filters.
  • SIC codes with descriptions and the SIC section.
  • Officers (role, appointment date, birth month and year, nationality, service address) and persons with significant control, in the base price.
  • A digest after each run.
  • What it doesn't cover: older companies, accounts dates, filing history and charges.

If you sell to US companies that just raised money rather than UK companies that just formed, the Recently Funded Companies API does the same from SEC Form D filings.

Limits

  • New incorporations only, up to 30 days back. For one company by name or number, or older companies, use a lookup tool.
  • Region comes from the postcode area, and some areas straddle borders (outer London areas such as BR, CR, HA, KT; also CH, SY, TD, DG, HP). Use postcode districts for precise targeting.
  • Officers are current ones only; resigned officers are left out, and birth dates are month and year only, as the register shows them.
  • Speed is capped by Companies House at 600 requests per 5 minutes per key, shared by all runs on our key unless you add your own.
  • Websites are rare in a company's first days, so findWebsite usually finds few.

Cost

You pay per company returned. Companies outside your filters, dormant companies, companies already returned in only-new mode and suppressed names are free, and officers and corporate owners cost nothing extra; the optional contact lookup is charged only for companies where something was found. The current prices are on the Store page; Apify's free plan includes $5 of credit a month, about 2,500 companies.

Links

Top comments (0)