Stratagem

Manage your Strata Compliance products

Companies House Autofill

Add company lookup to your forms in minutes. Users search by name or number, select a result, and your form fields populate automatically with verified Companies House data.

Get started in 3 steps

1

Sign up for free

Create your account and organization in under a minute. No credit card required.

Create account
2

Get your site token

Add a site in the dashboard to receive your unique license key.

Go to dashboard
3

Install the widget

Drop our WordPress plugin or JS snippet into your site and configure field mapping.

View install guides

Sample normalized payload

Stratagem shares schema helpers with the widget and Worker. Here's what the normalized Companies House profile looks like for a real record:

{
  "number": "00445790",
  "name": "Tesco PLC",
  "status": "active",
  "type": "plc",
  "address_line1": "Tesco House",
  "address_line2": "Shire Park",
  "locality": "Welwyn Garden City",
  "region": "Hertfordshire",
  "postal_code": "AL7 1GA",
  "country": "England"
}

Try it yourself

Test with real company numbers. The API returns normalized JSON matching our shared schema.

  • 00445790 — Tesco PLC
  • 01026167 — Barclays Bank PLC
  • 04706930 — Rolls-Royce Holdings plc
View live API response →

Install options

WordPress Plugin

Install via zip upload or WP-CLI. Add the shortcode to any form page.

[companies_house_autofill mapping='{"name":"#company_name"}']
View documentation →

JavaScript Widget

Include the script and call attach() with your field mapping.

CHAutofill.attach({
  containerId: 'company-search',
  mapping: { name: '#company_name' }
});
View documentation →

PHP SDK

Server-side library for custom PHP applications.

$client = new CompaniesHouseClient([
    'workerUrl' => 'https://chapi.stratacompliance.com',
    'siteToken' => 'your-license-key',
]);
View documentation →

API endpoints

Base URL: https://chapi.stratacompliance.com

MethodEndpointDescription
GET/search?q={query}Search companies by name or number
GET/company/{number}Fetch company profile
GET/company/{number}/officersList company officers (Pro)
GET/company/{number}/persons-with-significant-controlList PSCs (Pro)
GET/company/{number}/filing-historyFiling history (Pro)

Plans

Free

£0

Get started with company search and autofill.

  • Companies House search & profile autofill
  • Shared quota (600 lookups/month)
  • WordPress plugin + JS widget
  • Powered by Strata Compliance badge
Start free

Pro

From £29/mo

White-label, advanced data, and analytics.

  • Everything in Free
  • Officers, PSCs, filing history endpoints
  • Remove branding badge
  • Usage analytics per site
  • Priority support
Upgrade to Pro

Developer resources