{
  "openapi": "3.0.1",
  "info": {
    "title": "Companies House Scraper: UK Company Search & New Companies",
    "description": "Companies House scraper for UK company search and bulk company number lookup, plus lists of newly incorporated companies by SIC code, date and location (up to 5,000 per search). Get status, type, address, SIC codes, incorporation dates and filing deadlines. No API key.",
    "version": "1.0",
    "x-build-id": "keDOd2ugo8CZAUNqV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/argmaxed~uk-companies-house/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-argmaxed-uk-companies-house",
        "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/argmaxed~uk-companies-house/runs": {
      "post": {
        "operationId": "runs-sync-argmaxed-uk-companies-house",
        "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/argmaxed~uk-companies-house/run-sync": {
      "post": {
        "operationId": "run-sync-argmaxed-uk-companies-house",
        "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": {
          "searchQueries": {
            "title": "Search by company name",
            "type": "array",
            "description": "Company names or keywords, one per line, searched on Companies House (same as the search box on the website).",
            "items": {
              "type": "string"
            }
          },
          "companyNumbers": {
            "title": "Look up company numbers",
            "type": "array",
            "description": "Companies House numbers, one per line (e.g. 00445790, SC123456, NI012345). Leading zeros are added if missing.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max results per search",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum companies per name search or advanced search (name search: 20 per results page; advanced search: up to 5,000 via one CSV export).",
            "default": 20
          },
          "includeDetails": {
            "title": "Include full company details",
            "type": "boolean",
            "description": "Open each company's page to add status, type, SIC codes, accounts and confirmation statement dates, and previous names. Adds about 0.5 s per company; turn off for fast name/number/address lists (advanced search still returns status, type, SIC codes and dates without it).",
            "default": true
          },
          "onlyActive": {
            "title": "Only active companies",
            "type": "boolean",
            "description": "Skip dissolved, closed, liquidated and other non-active companies (you are not charged for skipped companies).",
            "default": false
          },
          "incorporatedFrom": {
            "title": "Incorporated from",
            "type": "string",
            "description": "Find companies incorporated on or after this date: a date (YYYY-MM-DD) or a relative period such as \"7 days\" for a rolling new-companies feed."
          },
          "incorporatedTo": {
            "title": "Incorporated to",
            "type": "string",
            "description": "Find companies incorporated on or before this date (YYYY-MM-DD or a relative period such as \"1 day\")."
          },
          "sicCodes": {
            "title": "SIC codes (nature of business)",
            "type": "array",
            "description": "5-digit SIC 2007 codes, one per line, e.g. 56101 (licensed restaurants) or 62020 (IT consultancy). Each code is searched separately and results are merged.",
            "items": {
              "type": "string"
            }
          },
          "statusFilter": {
            "title": "Company status",
            "type": "array",
            "description": "Only return companies with these statuses. Leave empty for all (or tick \"Only active companies\").",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "dissolved",
                "open",
                "closed",
                "converted-closed",
                "removed",
                "receivership",
                "liquidation",
                "administration",
                "insolvency-proceedings",
                "voluntary-arrangement"
              ],
              "enumTitles": [
                "Active",
                "Dissolved",
                "Open",
                "Closed",
                "Converted closed",
                "Removed",
                "Receivership",
                "Liquidation",
                "Administration",
                "Insolvency proceedings",
                "Voluntary arrangement"
              ]
            }
          },
          "companyTypes": {
            "title": "Company types",
            "type": "array",
            "description": "Only return these company types, e.g. Private limited company or LLP. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "ltd",
                "plc",
                "llp",
                "limited-partnership",
                "private-limited-guarant-nsc",
                "private-limited-guarant-nsc-limited-exemption",
                "private-unlimited",
                "community-interest-company",
                "charitable-incorporated-organisation",
                "oversea-company",
                "registered-overseas-entity",
                "assurance-company",
                "converted-or-closed",
                "eeig",
                "european-public-limited-liability-company-se",
                "further-education-or-sixth-form-college-corporation",
                "icvc",
                "industrial-and-provident-society",
                "old-public-company",
                "private-fund-limited-partnership",
                "private-limited-shares-section-30-exemption",
                "private-unlimited-nsc",
                "protected-cell-company",
                "registered-society-non-jurisdictional",
                "royal-charter",
                "scottish-charitable-incorporated-organisation",
                "scottish-partnership",
                "uk-establishment",
                "unregistered-company"
              ],
              "enumTitles": [
                "Private limited company",
                "Public limited company",
                "Limited liability partnership",
                "Limited partnership",
                "Private limited by guarantee without share capital",
                "Private Limited Company by guarantee without share capital, use of 'Limited' exemption",
                "Private unlimited company",
                "Community interest company",
                "Charitable incorporated organisation",
                "Overseas company",
                "Overseas entity",
                "Assurance company",
                "Converted or closed",
                "European Economic Interest Grouping (EEIG)",
                "European public limited liability company (SE)",
                "Further education or sixth form college corporation",
                "Investment company with variable capital",
                "Industrial and Provident society",
                "Old public company",
                "Private fund limited partnership",
                "Private Limited Company, use of 'Limited' exemption",
                "Private unlimited company without share capital",
                "Protected cell company",
                "Registered society",
                "Royal charter company",
                "Scottish charitable incorporated organisation",
                "Scottish qualifying partnership",
                "UK establishment company",
                "Unregistered company"
              ]
            }
          },
          "nameIncludes": {
            "title": "Company name contains",
            "type": "string",
            "description": "Only companies whose name contains this text."
          },
          "nameExcludes": {
            "title": "Company name excludes",
            "type": "string",
            "description": "Skip companies whose name contains this text."
          },
          "addressContains": {
            "title": "Registered office address contains",
            "type": "string",
            "description": "Full or partial address, e.g. a town (\"Manchester\") or a postcode district (\"EC1V\")."
          },
          "dissolvedFrom": {
            "title": "Dissolved from",
            "type": "string",
            "description": "Find companies dissolved on or after this date (Companies House shows dissolutions since 2010)."
          },
          "dissolvedTo": {
            "title": "Dissolved to",
            "type": "string",
            "description": "Find companies dissolved on or before this date."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}