{
  "openapi": "3.0.1",
  "info": {
    "title": "Companies House Scraper | UK Leads, Directors, Emails & Phones",
    "description": "Find UK companies by SIC code, location and incorporation date from Companies House, with current directors, verified websites, emails and phones. No API key needed.",
    "version": "1.0",
    "x-build-id": "sf9QFp9yVDPDXh7jp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/atlasdata-labs~uk-companies-contacts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-atlasdata-labs-uk-companies-contacts",
        "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/atlasdata-labs~uk-companies-contacts/runs": {
      "post": {
        "operationId": "runs-sync-atlasdata-labs-uk-companies-contacts",
        "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/atlasdata-labs~uk-companies-contacts/run-sync": {
      "post": {
        "operationId": "run-sync-atlasdata-labs-uk-companies-contacts",
        "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": {
          "maxResults": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum number of companies to return in this run. Tip: start with 100 to check your filters, then raise it.",
            "default": 100
          },
          "popularSicCodes": {
            "title": "Activities (SIC codes)",
            "type": "array",
            "description": "Pick one or more activities. Need a code that isn't listed? Add it in \"Other SIC codes\" below.",
            "items": {
              "type": "string",
              "enum": [
                "10710",
                "41100",
                "41201",
                "41202",
                "42990",
                "43210",
                "43220",
                "43290",
                "43310",
                "43320",
                "43330",
                "43341",
                "43342",
                "43390",
                "43910",
                "43999",
                "45111",
                "45200",
                "46900",
                "47110",
                "47190",
                "47710",
                "47730",
                "47910",
                "49410",
                "52290",
                "55100",
                "56101",
                "56102",
                "56103",
                "56302",
                "58290",
                "62011",
                "62012",
                "62020",
                "62090",
                "63110",
                "63120",
                "64999",
                "66220",
                "68100",
                "68209",
                "68310",
                "68320",
                "69102",
                "69201",
                "69202",
                "69203",
                "70100",
                "70210",
                "70229",
                "71111",
                "71121",
                "71129",
                "73110",
                "73200",
                "74100",
                "74209",
                "74909",
                "75000",
                "77110",
                "78109",
                "78200",
                "79110",
                "80100",
                "81210",
                "81299",
                "81300",
                "82990",
                "85590",
                "86210",
                "86230",
                "86900",
                "87100",
                "88100",
                "93110",
                "93130",
                "96020",
                "96040",
                "96090"
              ],
              "enumTitles": [
                "10710 – Bread, fresh pastry goods and cakes",
                "41100 – Development of building projects",
                "41201 – Construction of commercial buildings",
                "41202 – Construction of domestic buildings",
                "42990 – Other civil engineering projects",
                "43210 – Electrical installation",
                "43220 – Plumbing, heat and air-conditioning installation",
                "43290 – Other construction installation",
                "43310 – Plastering",
                "43320 – Joinery installation",
                "43330 – Floor and wall covering",
                "43341 – Painting",
                "43342 – Glazing",
                "43390 – Other building completion and finishing",
                "43910 – Roofing activities",
                "43999 – Other specialised construction activities",
                "45111 – Sale of new cars and light motor vehicles",
                "45200 – Maintenance and repair of motor vehicles",
                "46900 – Non-specialised wholesale trade",
                "47110 – Retail in non-specialised stores (food)",
                "47190 – Other retail in non-specialised stores",
                "47710 – Retail sale of clothing",
                "47730 – Dispensing chemists (pharmacies)",
                "47910 – Retail via mail order or internet (e-commerce)",
                "49410 – Freight transport by road",
                "52290 – Other transportation support activities",
                "55100 – Hotels and similar accommodation",
                "56101 – Licensed restaurants",
                "56102 – Unlicensed restaurants and cafes",
                "56103 – Take-away food shops and mobile food stands",
                "56302 – Public houses and bars",
                "58290 – Other software publishing",
                "62011 – Interactive leisure and entertainment software development",
                "62012 – Business and domestic software development",
                "62020 – Information technology consultancy",
                "62090 – Other information technology services",
                "63110 – Data processing, hosting and related activities",
                "63120 – Web portals",
                "64999 – Financial intermediation n.e.c.",
                "66220 – Insurance agents and brokers",
                "68100 – Buying and selling of own real estate",
                "68209 – Letting and operating of own or leased real estate",
                "68310 – Real estate agencies",
                "68320 – Management of real estate on a fee or contract basis",
                "69102 – Solicitors",
                "69201 – Accounting and auditing",
                "69202 – Bookkeeping",
                "69203 – Tax consultancy",
                "70100 – Activities of head offices",
                "70210 – Public relations and communications",
                "70229 – Management consultancy",
                "71111 – Architectural activities",
                "71121 – Engineering design for industrial processes",
                "71129 – Other engineering activities",
                "73110 – Advertising agencies",
                "73200 – Market research and opinion polling",
                "74100 – Specialised design activities",
                "74209 – Photographic activities",
                "74909 – Other professional, scientific and technical activities",
                "75000 – Veterinary activities",
                "77110 – Renting and leasing of cars",
                "78109 – Employment placement agencies",
                "78200 – Temporary employment agencies",
                "79110 – Travel agencies",
                "80100 – Private security",
                "81210 – General cleaning of buildings",
                "81299 – Other cleaning services",
                "81300 – Landscape services",
                "82990 – Other business support services",
                "85590 – Other education",
                "86210 – General medical practice",
                "86230 – Dental practice",
                "86900 – Other human health activities",
                "87100 – Residential nursing care",
                "88100 – Social work for the elderly and disabled",
                "93110 – Operation of sports facilities",
                "93130 – Fitness facilities",
                "96020 – Hairdressing and beauty treatment",
                "96040 – Physical well-being activities",
                "96090 – Other personal service activities"
              ]
            }
          },
          "sicCodes": {
            "title": "Other SIC codes",
            "type": "array",
            "description": "Any other 5-digit SIC 2007 code, e.g. 01110. Full list: Companies House SIC code list.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Registered office city. One search per city. Need another town or a postcode area? Add it in \"Other locations\" below.",
            "items": {
              "type": "string",
              "enum": [
                "London",
                "Birmingham",
                "Manchester",
                "Leeds",
                "Glasgow",
                "Liverpool",
                "Bristol",
                "Sheffield",
                "Edinburgh",
                "Leicester",
                "Coventry",
                "Bradford",
                "Cardiff",
                "Belfast",
                "Nottingham",
                "Newcastle upon Tyne",
                "Southampton",
                "Brighton",
                "Plymouth",
                "Reading",
                "Wolverhampton",
                "Derby",
                "Swansea",
                "Milton Keynes",
                "Aberdeen",
                "Portsmouth",
                "Norwich",
                "Oxford",
                "Cambridge",
                "York",
                "Bath",
                "Exeter",
                "Cheltenham",
                "Luton",
                "Northampton",
                "Peterborough",
                "Ipswich",
                "Salford",
                "Stockport",
                "Bolton",
                "Preston",
                "Sunderland",
                "Middlesbrough",
                "Hull",
                "Stoke-on-Trent",
                "Dundee",
                "Warrington",
                "Chelmsford",
                "Watford",
                "Croydon"
              ],
              "enumTitles": [
                "London",
                "Birmingham",
                "Manchester",
                "Leeds",
                "Glasgow",
                "Liverpool",
                "Bristol",
                "Sheffield",
                "Edinburgh",
                "Leicester",
                "Coventry",
                "Bradford",
                "Cardiff",
                "Belfast",
                "Nottingham",
                "Newcastle upon Tyne",
                "Southampton",
                "Brighton",
                "Plymouth",
                "Reading",
                "Wolverhampton",
                "Derby",
                "Swansea",
                "Milton Keynes",
                "Aberdeen",
                "Portsmouth",
                "Norwich",
                "Oxford",
                "Cambridge",
                "York",
                "Bath",
                "Exeter",
                "Cheltenham",
                "Luton",
                "Northampton",
                "Peterborough",
                "Ipswich",
                "Salford",
                "Stockport",
                "Bolton",
                "Preston",
                "Sunderland",
                "Middlesbrough",
                "Hull",
                "Stoke-on-Trent",
                "Dundee",
                "Warrington",
                "Chelmsford",
                "Watford",
                "Croydon"
              ]
            }
          },
          "locations": {
            "title": "Other locations",
            "type": "array",
            "description": "Any other town or postcode area, e.g. Harrogate, LS1, SW1.",
            "items": {
              "type": "string"
            }
          },
          "nameIncludes": {
            "title": "Company name contains",
            "type": "string",
            "description": "Optional word in the company name."
          },
          "nameExcludes": {
            "title": "Company name excludes",
            "type": "string",
            "description": "Optional word to exclude from company names."
          },
          "incorporatedFrom": {
            "title": "Incorporated from",
            "type": "string",
            "description": "YYYY-MM-DD. Great for targeting newly incorporated companies."
          },
          "incorporatedTo": {
            "title": "Incorporated to",
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "companyStatus": {
            "title": "Company status",
            "type": "array",
            "description": "Default: active companies only.",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "dissolved",
                "liquidation",
                "administration",
                "receivership",
                "voluntary-arrangement",
                "insolvency-proceedings"
              ],
              "enumTitles": [
                "Active",
                "Dissolved",
                "Liquidation",
                "Administration",
                "Receivership",
                "Voluntary arrangement",
                "Insolvency proceedings"
              ]
            },
            "default": [
              "active"
            ]
          },
          "companyTypes": {
            "title": "Company type",
            "type": "array",
            "description": "Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "ltd",
                "plc",
                "llp",
                "private-unlimited",
                "private-limited-guarant-nsc",
                "limited-partnership",
                "scottish-partnership"
              ],
              "enumTitles": [
                "Private limited (Ltd)",
                "Public limited (PLC)",
                "LLP",
                "Private unlimited",
                "Limited by guarantee",
                "Limited partnership",
                "Scottish partnership"
              ]
            }
          },
          "excludeDormant": {
            "title": "Exclude dormant companies",
            "type": "boolean",
            "description": "Skip companies registered as dormant (SIC 99999).",
            "default": true
          },
          "minCompanySize": {
            "title": "Minimum company size",
            "enum": [
              "any",
              "small",
              "medium"
            ],
            "type": "string",
            "description": "Based on the type of accounts the company files at Companies House. Larger companies are more likely to have a website and contacts. Companies filtered out are not billed.",
            "default": "any"
          },
          "includeAccounts": {
            "title": "Add accounts info",
            "type": "boolean",
            "description": "Add the type of last accounts, company size class and accounts date to each row (always added when a minimum size is set).",
            "default": false
          },
          "includeDirectors": {
            "title": "Include current directors",
            "type": "boolean",
            "description": "Name, role and appointment date of current directors (no birth dates or home addresses).",
            "default": true
          },
          "enrichContacts": {
            "title": "Find website, emails & phones",
            "type": "boolean",
            "description": "Finds the company website and extracts public emails, phones and social links. Billed only when contacts are found.",
            "default": true
          },
          "searchWebsites": {
            "title": "Search Google when the website isn't obvious",
            "type": "boolean",
            "description": "If the website can't be guessed from the company name, look it up on Google and check the top results. Included in the price.",
            "default": true
          },
          "acceptProbableWebsites": {
            "title": "Accept probable websites",
            "type": "boolean",
            "description": "If off, only websites showing the company's registered number are kept (100% match, fewer results).",
            "default": true
          },
          "onlyWithContact": {
            "title": "Only companies with contacts",
            "type": "boolean",
            "description": "Return (and pay for) only companies where an email or phone was found.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Websites checked in parallel",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many company websites are checked at the same time.",
            "default": 20
          },
          "companiesHouseApiKey": {
            "title": "Your Companies House API key (optional)",
            "type": "string",
            "description": "Not required. Use your own free key from developer.company-information.service.gov.uk for faster large runs."
          },
          "resetProgress": {
            "title": "Restart from scratch",
            "type": "boolean",
            "description": "Ignore saved progress for these filters.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}