{
  "openapi": "3.0.1",
  "info": {
    "title": "UK New Companies by SIC Code: Companies House",
    "description": "Companies House scraper for UK companies, no API key. New companies every day, read live from the register, not a monthly snapshot. Filter by SIC code, town, postcode, date and status, liquidation and dissolved included. 'Only new' alerts. No directors or PSCs. Possible homes cut to postcode sector.",
    "version": "0.1",
    "x-build-id": "7ZAKWsXaxHvWIPViI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/responsible_front_evw~uk-companies-house-new-companies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-responsible_front_evw-uk-companies-house-new-companies",
        "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/responsible_front_evw~uk-companies-house-new-companies/runs": {
      "post": {
        "operationId": "runs-sync-responsible_front_evw-uk-companies-house-new-companies",
        "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/responsible_front_evw~uk-companies-house-new-companies/run-sync": {
      "post": {
        "operationId": "run-sync-responsible_front_evw-uk-companies-house-new-companies",
        "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": {
          "sicCodes": {
            "title": "SIC codes or sectors",
            "type": "array",
            "description": "5-digit SIC 2007 codes (62012), a prefix for a whole group (62 = all computer programming and IT codes, 561 = restaurants and takeaways) or a section letter (F = construction, I = hotels and food). Leave empty for all sectors.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Town, area or postcode (registered office)",
            "type": "array",
            "description": "Text matched against the registered office address, for example Manchester, Leeds, EH1, SW1A. One search per entry. Leave empty for the whole UK.",
            "items": {
              "type": "string"
            }
          },
          "incorporatedWithinDays": {
            "title": "Incorporated in the last N days",
            "minimum": 1,
            "maximum": 36500,
            "type": "integer",
            "description": "Optional: only companies incorporated in the last N days (new UK companies). The register is updated daily."
          },
          "incorporatedFrom": {
            "title": "Incorporated from (date)",
            "type": "string",
            "description": "Optional: YYYY-MM-DD."
          },
          "incorporatedTo": {
            "title": "Incorporated to (date)",
            "type": "string",
            "description": "Optional: YYYY-MM-DD."
          },
          "statuses": {
            "title": "Company status",
            "type": "array",
            "description": "Keep companies with any of these statuses. Default: active. Use liquidation, administration or receivership for insolvency lists.",
            "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": [
              "active"
            ]
          },
          "companyTypes": {
            "title": "Company type",
            "type": "array",
            "description": "Optional: keep only these legal forms. Leave empty for all.",
            "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",
                "community-interest-company",
                "registered-society-non-jurisdictional",
                "oversea-company",
                "uk-establishment",
                "registered-overseas-entity"
              ],
              "enumTitles": [
                "Private limited company (Ltd)",
                "Public limited company (PLC)",
                "Limited liability partnership (LLP)",
                "Limited by guarantee",
                "Limited by guarantee, exempt from 'Limited'",
                "Private unlimited",
                "Limited partnership",
                "Scottish partnership",
                "Charitable incorporated organisation",
                "Community interest company (CIC)",
                "Registered society",
                "Overseas company",
                "UK establishment of an overseas company",
                "Registered overseas entity"
              ]
            }
          },
          "nameIncludes": {
            "title": "Company name contains",
            "type": "string",
            "description": "Optional: words in the company name, for example DENTAL or SOLAR."
          },
          "nameExcludes": {
            "title": "Company name does not contain",
            "type": "string",
            "description": "Optional: exclude names with these words, for example HOLDINGS."
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run (alerts)",
            "type": "boolean",
            "description": "Skip companies this same search already returned in earlier runs, so you do not pay twice for the same company. Ideal for a daily schedule.",
            "default": false
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of companies to return (you pay per company). Newest incorporations come first. Up to 20,000 per run: for the whole register, use the free monthly Basic Company Data file from Companies House.",
            "default": 100
          },
          "maxRequests": {
            "title": "Max requests to Companies House",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Safety limit. Each request downloads up to 5,000 companies; big searches are split by incorporation date.",
            "default": 20
          },
          "requestDelaySecs": {
            "title": "Pause between requests (seconds)",
            "minimum": 3,
            "type": "integer",
            "description": "Minimum 3 seconds, to be gentle with the public register.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}