{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Companies House Scraper - New Companies & Filings (No Key)",
    "description": "Search the UK Companies House register without an API key: new companies by location, SIC code and incorporation date (no 5,000 cap), name or number lookup, accounts/confirmation due dates with overdue flags, previous names and filing history PDFs. Company data only.",
    "version": "0.1",
    "x-build-id": "bJ485KzDssLhtqxf5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/api-co~companies-house-uk/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-api-co-companies-house-uk",
        "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/api-co~companies-house-uk/runs": {
      "post": {
        "operationId": "runs-sync-api-co-companies-house-uk",
        "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/api-co~companies-house-uk/run-sync": {
      "post": {
        "operationId": "run-sync-api-co-companies-house-uk",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "advanced",
              "name",
              "numbers"
            ],
            "type": "string",
            "description": "advanced = filter the register by location, SIC code, incorporation date, status and type (great for new-company leads). name = search by company name. numbers = look up specific company numbers.",
            "default": "advanced"
          },
          "location": {
            "title": "Registered office location",
            "type": "string",
            "description": "Town, city or postcode in the registered office address, e.g. Manchester, EC1A or Leeds."
          },
          "sicCodes": {
            "title": "SIC codes",
            "type": "array",
            "description": "Nature-of-business codes, e.g. 62012 (software development), 70229 (management consultancy), 56101 (restaurants).",
            "items": {
              "type": "string"
            }
          },
          "incorporatedFrom": {
            "title": "Incorporated from",
            "type": "string",
            "description": "Only companies incorporated on/after this date (YYYY-MM-DD). Large ranges are split automatically to get past the register's 5,000-result cap."
          },
          "incorporatedTo": {
            "title": "Incorporated to",
            "type": "string",
            "description": "Only companies incorporated on/before this date (YYYY-MM-DD)."
          },
          "statuses": {
            "title": "Company status",
            "type": "array",
            "description": "Status filter.",
            "items": {
              "type": "string",
              "enum": [
                "active",
                "dissolved",
                "open",
                "closed",
                "converted-closed",
                "receivership",
                "administration",
                "liquidation",
                "insolvency-proceedings",
                "voluntary-arrangement",
                "registered",
                "removed"
              ]
            },
            "default": [
              "active"
            ]
          },
          "companyTypes": {
            "title": "Company types",
            "type": "array",
            "description": "Register type codes, e.g. ltd, plc, llp, limited-partnership, private-limited-guarant-nsc.",
            "items": {
              "type": "string"
            }
          },
          "nameIncludes": {
            "title": "Name includes",
            "type": "string",
            "description": "Company name must include this word."
          },
          "nameExcludes": {
            "title": "Name excludes",
            "type": "string",
            "description": "Company name must not include this word."
          },
          "dissolvedFrom": {
            "title": "Dissolved from",
            "type": "string",
            "description": "Dissolved on/after (YYYY-MM-DD; use with status dissolved)."
          },
          "dissolvedTo": {
            "title": "Dissolved to",
            "type": "string",
            "description": "Dissolved on/before (YYYY-MM-DD)."
          },
          "query": {
            "title": "Company name query",
            "type": "string",
            "description": "Name to search for (name mode)."
          },
          "companyNumbers": {
            "title": "Company numbers",
            "type": "array",
            "description": "Company numbers or register URLs (numbers mode), e.g. 00445790, SC123456.",
            "items": {
              "type": "string"
            }
          },
          "includeProfile": {
            "title": "Include full profile",
            "type": "boolean",
            "description": "Add accounts and confirmation statement dates (with overdue flags), SIC descriptions, previous names, and charges/insolvency flags. One extra 'company profile' event per company (always included in numbers mode at no extra charge).",
            "default": false
          },
          "includeFilings": {
            "title": "Include filing history",
            "type": "boolean",
            "description": "Add the latest filings (date, form type, description, PDF link). One extra 'filing history' event per company.",
            "default": false
          },
          "maxFilings": {
            "title": "Max filings per company",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many recent filings to include.",
            "default": 25
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many companies. You are only charged per company returned.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}