{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Companies House Scraper: New Companies, SIC Codes & Filings",
    "description": "Search the official UK Companies House register by company name, SIC code, location, status or incorporation date for new business leads, or look up company numbers. Get status, address, SIC codes, accounts and confirmation statement due dates and filing history. No API key.",
    "version": "0.1",
    "x-build-id": "HauPYK1TzUlvQ3qdr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actorfactory~companies-house/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actorfactory-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/actorfactory~companies-house/runs": {
      "post": {
        "operationId": "runs-sync-actorfactory-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/actorfactory~companies-house/run-sync": {
      "post": {
        "operationId": "run-sync-actorfactory-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": {
          "companyNumbers": {
            "title": "Company numbers to look up",
            "type": "array",
            "description": "UK company numbers, one per line: 00445790, SC007574, OC459627, or a Companies House company page URL. Short numbers are padded (445790 becomes 00445790). Each one is looked up with full profile details. Leave empty to only search.",
            "items": {
              "type": "string"
            }
          },
          "nameIncludes": {
            "title": "Company name includes",
            "type": "string",
            "description": "Word or phrase the company name must contain. Example: \"coffee\". Name-only searches over all years can time out on the register: add a date range, SIC code or status."
          },
          "nameExcludes": {
            "title": "Company name excludes",
            "type": "string",
            "description": "Word the company name must not contain. Example: \"holdings\"."
          },
          "sicCodes": {
            "title": "SIC codes",
            "type": "array",
            "description": "5-digit UK SIC 2007 codes (nature of business), one per line. Examples: 56102 (unlicensed restaurants and cafes), 62012 (business and domestic software development), 68209 (letting of own property). A company matches if it has any of them.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Registered office location",
            "type": "string",
            "description": "Town, city or postcode area in the registered office address. Example: \"Manchester\" or \"EC2A\"."
          },
          "statuses": {
            "title": "Company status",
            "type": "array",
            "description": "Only companies with these statuses. Empty = any status.",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "dissolved",
                "liquidation",
                "administration",
                "receivership",
                "voluntary-arrangement",
                "insolvency-proceedings",
                "converted-closed",
                "removed",
                "open",
                "closed"
              ],
              "enumTitles": [
                "Active",
                "Dissolved",
                "Liquidation",
                "Administration",
                "Receivership",
                "Voluntary arrangement",
                "Insolvency proceedings",
                "Converted / closed",
                "Removed",
                "Open (overseas entities)",
                "Closed (overseas entities)"
              ]
            }
          },
          "types": {
            "title": "Company type",
            "type": "array",
            "description": "Only these company types. Empty = any type.",
            "items": {
              "type": "string",
              "enum": [
                "ltd",
                "plc",
                "llp",
                "private-limited-guarant-nsc",
                "private-limited-guarant-nsc-limited-exemption",
                "private-unlimited",
                "limited-partnership",
                "scottish-partnership",
                "charitable-incorporated-organisation",
                "scottish-charitable-incorporated-organisation",
                "uk-establishment",
                "registered-overseas-entity",
                "royal-charter",
                "industrial-and-provident-society"
              ],
              "enumTitles": [
                "Private limited company",
                "Public limited company",
                "Limited liability partnership",
                "Private company limited by guarantee",
                "Limited by guarantee, \"Limited\" exemption",
                "Private unlimited company",
                "Limited partnership",
                "Scottish qualifying partnership",
                "Charitable incorporated organisation",
                "Scottish charitable incorporated organisation",
                "UK establishment of an overseas company",
                "Registered overseas entity",
                "Royal charter company",
                "Industrial and provident society"
              ]
            }
          },
          "incorporatedWithinDays": {
            "title": "Incorporated in the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Shortcut for new-business leads: only companies incorporated in the last N days (overrides \"Incorporated from\"). Schedule the run daily or weekly to get a fresh feed. Example: 7."
          },
          "incorporatedFrom": {
            "title": "Incorporated from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Earliest incorporation date, YYYY-MM-DD. Example: 2026-11-01."
          },
          "incorporatedTo": {
            "title": "Incorporated to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Latest incorporation date, YYYY-MM-DD."
          },
          "dissolvedFrom": {
            "title": "Dissolved from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Earliest dissolution date, YYYY-MM-DD (use with status Dissolved)."
          },
          "dissolvedTo": {
            "title": "Dissolved to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Latest dissolution date, YYYY-MM-DD."
          },
          "includeDetails": {
            "title": "Add profile details to search results",
            "type": "boolean",
            "description": "Opens each company found by search to add accounts and confirmation statement due dates (and whether they are overdue), SIC descriptions, previous names and a full address. One extra page per company, so runs take longer. Looked-up company numbers always include details.",
            "default": false
          },
          "includeFilings": {
            "title": "Include filing history",
            "type": "boolean",
            "description": "Adds the company's filing history (date, form type, description, PDF link). Names of officers and persons with significant control are withheld from filing descriptions.",
            "default": false
          },
          "filingCategories": {
            "title": "Filing categories",
            "type": "array",
            "description": "Only filings in these categories, matched on the form type (for example AA = accounts, CS01 = confirmation statement, MR01 = charge). With a filter, up to 500 of the most recent filings are scanned per company. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "accounts",
                "confirmation-statement",
                "capital",
                "mortgage",
                "incorporation",
                "officers"
              ],
              "enumTitles": [
                "Accounts",
                "Confirmation statements / annual returns",
                "Capital",
                "Charges (mortgages)",
                "Incorporation",
                "Officers (names withheld)"
              ]
            }
          },
          "maxFilingsPerCompany": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Most recent filings to include per company (25 per page on the register).",
            "default": 25
          },
          "maxItems": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many companies. You are charged per company saved.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}