{
  "openapi": "3.0.1",
  "info": {
    "title": "UK Company Check: Companies House risk reports and lead lists",
    "description": "Due diligence on UK companies from Companies House: risk score, directors, owners, accounts figures, sanctions and disqualified director checks, and director networks. Also searches by name and builds lead lists by SIC code and location.",
    "version": "0.1",
    "x-build-id": "dDol2ccONQY9BZqj3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/netovate~uk-company-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-netovate-uk-company-check",
        "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/netovate~uk-company-check/runs": {
      "post": {
        "operationId": "runs-sync-netovate-uk-company-check",
        "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/netovate~uk-company-check/run-sync": {
      "post": {
        "operationId": "run-sync-netovate-uk-company-check",
        "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": "What do you want?",
            "enum": [
              "report",
              "profile",
              "search",
              "find"
            ],
            "type": "string",
            "description": "Full risk reports or profiles for company numbers you have, a search by company name, or a list of companies by industry and location.",
            "default": "report"
          },
          "companyNumbers": {
            "title": "Company numbers",
            "type": "array",
            "description": "UK company numbers, one per line, e.g. 00445790. Shorter numbers are zero-padded; SC, NI and OC numbers work. Up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "aiSummary": {
            "title": "Add an AI summary",
            "type": "boolean",
            "description": "Adds a 3 to 5 sentence plain-English summary to each report, checked against the data. Charged separately.",
            "default": false
          },
          "includeFinancials": {
            "title": "Financial figures from the latest accounts",
            "type": "boolean",
            "description": "Net assets, cash, current assets, employees and more, for this year and last year.",
            "default": true
          },
          "includeSanctions": {
            "title": "UK Sanctions List screening",
            "type": "boolean",
            "description": "Screens the company, its directors and its owners against the UK Sanctions List.",
            "default": true
          },
          "includeDisqualifications": {
            "title": "Disqualified directors check",
            "type": "boolean",
            "description": "Checks every current director against the Companies House register of disqualified directors.",
            "default": true
          },
          "includeNetwork": {
            "title": "Director network",
            "type": "boolean",
            "description": "How many other companies the directors run, and how many of those are dissolved or insolvent. Turn off for faster reports.",
            "default": true
          },
          "allOfficers": {
            "title": "List every past officer",
            "type": "boolean",
            "description": "By default only current officers and those who left in the last year are listed.",
            "default": false
          },
          "searchQueries": {
            "title": "Company names",
            "type": "array",
            "description": "Names or parts of names, one per line.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Results per name",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "1 to 20.",
            "default": 20
          },
          "sicCodes": {
            "title": "SIC codes",
            "type": "array",
            "description": "5-digit industry codes, one per line, e.g. 62020 (IT consultancy), 56101 (restaurants), 41202 (building construction). Search all codes at <a href=\"https://ukcompanycheck.online/sic-codes\" target=\"_blank\">ukcompanycheck.online/sic-codes</a>.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Town, area or postcode of the registered office, e.g. Leeds."
          },
          "incorporatedFrom": {
            "title": "Incorporated on or after",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "YYYY-MM-DD, e.g. 2026-01-01."
          },
          "incorporatedTo": {
            "title": "Incorporated on or before",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "statuses": {
            "title": "Company status",
            "type": "array",
            "description": "e.g. active, dissolved, liquidation, administration, or all. Default: active.",
            "items": {
              "type": "string"
            }
          },
          "companyTypes": {
            "title": "Company types",
            "type": "array",
            "description": "e.g. ltd, plc, llp, community-interest-company. Default: all types.",
            "items": {
              "type": "string"
            }
          },
          "nameIncludes": {
            "title": "Name includes",
            "type": "string",
            "description": "Words the company name must contain."
          },
          "nameExcludes": {
            "title": "Name excludes",
            "type": "string",
            "description": "Words the company name must not contain."
          },
          "maxResults": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Up to 5,000 per search (a Companies House limit). Narrow the search to get past it.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}