{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Companies House Scraper - New Incorporations",
    "description": "New UK companies from Companies House each day, by SIC code, town or postcode: registered office, what they do, and directors if you want. Monitor mode sends only new or changed ones. $2 per 1,000. No API key.",
    "version": "1.0",
    "x-build-id": "wbRhlWoxFhOwbsSzv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/goldstandardweb~uk-companies-house-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-goldstandardweb-uk-companies-house-monitor",
        "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/goldstandardweb~uk-companies-house-monitor/runs": {
      "post": {
        "operationId": "runs-sync-goldstandardweb-uk-companies-house-monitor",
        "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/goldstandardweb~uk-companies-house-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-goldstandardweb-uk-companies-house-monitor",
        "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": {
          "incorporatedFrom": {
            "title": "Incorporated from",
            "type": "string",
            "description": "Start date: a date like 2026-11-01, or a span back from today like \"7 days\" or \"1 month\". Default: the last 7 days.",
            "default": "7 days"
          },
          "incorporatedTo": {
            "title": "Incorporated to",
            "type": "string",
            "description": "End date, like 2026-11-15. Leave empty for today."
          },
          "sicCodes": {
            "title": "SIC codes (nature of business)",
            "type": "array",
            "description": "5-digit UK SIC codes, one per line, like 62020 (IT consulting) or 56101 (restaurants). Leave empty for all businesses. Find codes at resources.companieshouse.gov.uk/sic.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "localities": {
            "title": "Town or area",
            "type": "array",
            "description": "Town, city or postcode district from the registered office address, like Manchester or SW1A. One per line. Leave empty for the whole UK.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postcodePrefixes": {
            "title": "Postcode starts with",
            "type": "array",
            "description": "Keep only companies whose registered office postcode starts with these, like M, LS1 or SW1. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most companies to save in this run (up to 100,000). In monitor mode this counts only new or changed companies.",
            "default": 1000
          },
          "includeOfficers": {
            "title": "Include directors and officers",
            "type": "boolean",
            "description": "Add each company's officers: name, role, appointed date, nationality and country of residence. Officer names are personal data; see the FAQ. Slower: one extra page per company.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitor mode (only new or changed companies)",
            "type": "boolean",
            "description": "Remember companies from earlier runs with the same filters. Save only companies you haven't had before, or whose name, status, address or SIC codes changed. The first run saves everything as your starting list. Best with a daily schedule.",
            "default": false
          },
          "companyStatus": {
            "title": "Company status",
            "type": "array",
            "description": "Pick one or more. Leave empty for all. New companies are almost all Active.",
            "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"
              ]
            },
            "default": []
          },
          "companyTypes": {
            "title": "Company type",
            "type": "array",
            "description": "Pick one or more, like 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-limited-shares-section-30-exemption",
                "private-unlimited",
                "private-unlimited-nsc",
                "charitable-incorporated-organisation",
                "scottish-charitable-incorporated-organisation",
                "scottish-partnership",
                "registered-society-non-jurisdictional",
                "industrial-and-provident-society",
                "oversea-company",
                "registered-overseas-entity",
                "uk-establishment",
                "royal-charter",
                "protected-cell-company",
                "assurance-company",
                "icvc",
                "eeig",
                "european-public-limited-liability-company-se",
                "old-public-company",
                "further-education-or-sixth-form-college-corporation",
                "unregistered-company",
                "converted-or-closed"
              ],
              "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 Limited Company, use of 'Limited' exemption",
                "Private unlimited company",
                "Private unlimited company without share capital",
                "Charitable incorporated organisation",
                "Scottish charitable incorporated organisation",
                "Scottish qualifying partnership",
                "Registered society",
                "Industrial and Provident society",
                "Overseas company",
                "Overseas entity",
                "UK establishment company",
                "Royal charter company",
                "Protected cell company",
                "Assurance company",
                "Investment company with variable capital",
                "European Economic Interest Grouping (EEIG)",
                "European public limited liability company (SE)",
                "Old public company",
                "Further education or sixth form college corporation",
                "Unregistered company",
                "Converted or closed"
              ]
            },
            "default": []
          },
          "companySubtypes": {
            "title": "Company subtype",
            "type": "array",
            "description": "Community interest companies (CIC) or private fund limited partnerships. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "community-interest-company",
                "private-fund-limited-partnership"
              ],
              "enumTitles": [
                "Community interest company",
                "Private fund limited partnership"
              ]
            },
            "default": []
          },
          "nameIncludes": {
            "title": "Company name contains",
            "type": "string",
            "description": "Keep only companies whose name contains these words, like \"consulting\"."
          },
          "nameExcludes": {
            "title": "Company name doesn't contain",
            "type": "string",
            "description": "Leave out companies whose name contains these words, like \"holdings\"."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}