{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Newly Registered Companies API: daily Companies House list",
    "description": "Newly registered UK companies, incorporated on any day (default: yesterday), from the official Companies House API: number, name, type, status, SIC codes with descriptions, registered address and a register link. Filter by SIC prefix (e.g. 56101 restaurants), location and type. No director data.",
    "version": "0.1",
    "x-build-id": "mk0pKggVlNK2jHhyz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bosco_labs~uk-new-companies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bosco_labs-uk-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/bosco_labs~uk-new-companies/runs": {
      "post": {
        "operationId": "runs-sync-bosco_labs-uk-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/bosco_labs~uk-new-companies/run-sync": {
      "post": {
        "operationId": "run-sync-bosco_labs-uk-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": {
          "incorporatedFrom": {
            "title": "Incorporated on or after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Earliest incorporation date, YYYY-MM-DD, e.g. \"2026-11-01\". Empty = the same day as `incorporatedTo` (so both empty = yesterday, UTC)."
          },
          "incorporatedTo": {
            "title": "Incorporated on or before",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Latest incorporation date (inclusive), YYYY-MM-DD, e.g. \"2026-11-04\". Empty = yesterday (UTC), or `incorporatedFrom` if that is later."
          },
          "sicCodes": {
            "title": "SIC codes (prefixes)",
            "type": "array",
            "description": "UK SIC 2007 code prefixes (Companies House condensed list); a prefix matches every code below it, e.g. [\"62\"] = IT / software, \"6201\" = software development, \"56101\" = licensed restaurants, \"68\" = real estate. A company matches if any of its SIC codes matches. Empty = all sectors.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "pattern": "^[^\\[\\]{}<>\\r\\n]*$",
            "type": "string",
            "description": "Registered office location as free text, passed to Companies House's location filter: a town, county or postcode (area), e.g. \"London\", \"Manchester\" or \"EC1\". Empty = all of the UK."
          },
          "companyTypes": {
            "title": "Company types",
            "type": "array",
            "description": "Companies House company types, e.g. [\"ltd\"] (private limited), \"plc\", \"llp\", \"private-limited-guarant-nsc\" (company limited by guarantee), \"limited-partnership\". Default [\"ltd\", \"plc\", \"llp\"]. Pass [] for all types.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "private-unlimited",
                "ltd",
                "plc",
                "old-public-company",
                "private-limited-guarant-nsc-limited-exemption",
                "limited-partnership",
                "private-limited-guarant-nsc",
                "converted-or-closed",
                "private-unlimited-nsc",
                "private-limited-shares-section-30-exemption",
                "protected-cell-company",
                "assurance-company",
                "oversea-company",
                "eeig",
                "icvc-securities",
                "icvc-warrant",
                "icvc-umbrella",
                "registered-society-non-jurisdictional",
                "industrial-and-provident-society",
                "northern-ireland",
                "northern-ireland-other",
                "royal-charter",
                "investment-company-with-variable-capital",
                "unregistered-company",
                "llp",
                "other",
                "european-public-limited-liability-company-se",
                "uk-establishment",
                "scottish-partnership",
                "charitable-incorporated-organisation",
                "scottish-charitable-incorporated-organisation",
                "further-education-or-sixth-form-college-corporation",
                "registered-overseas-entity"
              ],
              "enumTitles": [
                "Private unlimited company",
                "Private limited company (Ltd)",
                "Public limited company (PLC)",
                "Old public company",
                "Limited by guarantee, 'Limited' exemption",
                "Limited partnership",
                "Private company limited by guarantee",
                "Converted or closed",
                "Private unlimited company without share capital",
                "Limited by shares, section 30 exemption",
                "Protected cell company",
                "Assurance company",
                "Overseas company",
                "European Economic Interest Grouping (EEIG)",
                "ICVC (securities)",
                "ICVC (warrant)",
                "ICVC (umbrella)",
                "Registered society",
                "Industrial and provident society",
                "Northern Ireland company",
                "Northern Ireland, other",
                "Royal charter company",
                "Investment company with variable capital",
                "Unregistered company",
                "Limited liability partnership (LLP)",
                "Other",
                "European public limited company (SE)",
                "UK establishment of an overseas company",
                "Scottish qualifying partnership",
                "Charitable incorporated organisation (CIO)",
                "Scottish CIO",
                "Further education / sixth form college",
                "Registered overseas entity"
              ]
            },
            "default": [
              "ltd",
              "plc",
              "llp"
            ]
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum companies to return, e.g. 500. Default 100. You pay per company delivered.",
            "default": 100
          },
          "onlyNewSinceLastRun": {
            "title": "Only companies not delivered before",
            "type": "boolean",
            "description": "true = skip (and don't charge for) companies an earlier run with the same filters already delivered. For scheduled runs. Default false. Remembered in a named key-value store in your account. E.g. `true` for a daily scheduled run.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}