{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Employee Count — Official Headcount: US, UK & 8 more",
    "description": "Company size and employee count from official registries, by name, number or website: US (Form 5500), UK (Companies House), France (INSEE), Norway (NAV), Latvia, Estonia, Czechia, Slovakia, Romania, Japan (法人番号, gBizINFO). Or US employers by state, size. Source and date on each row. No figure, $0.",
    "version": "0.1",
    "x-build-id": "pMI3U6ARqatzxylNF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/northbell~company-registry-headcount/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-northbell-company-registry-headcount",
        "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/northbell~company-registry-headcount/runs": {
      "post": {
        "operationId": "runs-sync-northbell-company-registry-headcount",
        "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/northbell~company-registry-headcount/run-sync": {
      "post": {
        "operationId": "run-sync-northbell-company-registry-headcount",
        "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": {
          "companies": {
            "title": "Company names or registry numbers",
            "type": "array",
            "description": "One per line. A LinkedIn company address or a website is read by the name in it (US: linkedin.com/company/general-motors, US: stripe.com). Registry numbers are the sure way: a French SIREN (9 digits, or a 14-digit SIRET), a Norwegian organisation number (9 digits; the check digit tells France and Norway apart), a UK company number (8 characters, e.g. 09595646 or SC045551), a Latvian registration number (11 digits) an Estonian registry code (8 digits) or, with CZ: or SK: in front, a Czech or Slovak IČO (8 digits; Slovakia by IČO only), or a Romanian CUI as RO14399840 or RO:14399840 (by CUI only), or a Japanese corporate number (法人番号, 13 digits) or a name written in Japanese, or a US EIN as 12-3456789 or a US name with US: in front. Add FR:, NO:, UK:, LV:, EE:, CZ:, SK:, RO:, JP: or US: in front to force a country. A name returns up to 'Max candidates per name' companies, each with why it matched and a confidence. Leave it empty to run a US search instead (below).",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries for names",
            "type": "array",
            "description": "Where names are searched. Leave the default five to search each name in all of them; Czechia is searched only when you pick it here or write CZ: before a name; pick one when you know the country, so the other registries’ namesakes stay out. A UK name search reads each candidate’s accounts, so it is slower; Latvia and Estonia read the tax board’s whole quarterly file once per run (about 15 and 66 MB). Registry numbers ignore this.",
            "items": {
              "type": "string",
              "enum": [
                "FR",
                "NO",
                "UK",
                "LV",
                "EE",
                "CZ",
                "US"
              ],
              "enumTitles": [
                "France",
                "Norway",
                "United Kingdom",
                "Latvia",
                "Estonia",
                "Czechia (only when picked)",
                "United States (only when picked)"
              ]
            },
            "default": [
              "FR",
              "NO",
              "UK",
              "LV",
              "EE"
            ]
          },
          "maxMatchesPerName": {
            "title": "Max candidates per name",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "How many companies to return for each name and country. A registry counts one legal entity, so a group's holding and its operating company are separate rows: raise this to see them side by side. Registry numbers always return one company.",
            "default": 3
          },
          "includeClosed": {
            "title": "Include closed companies",
            "type": "boolean",
            "description": "Off (default): name searches return active companies only. On: closed, deleted and bankrupt companies too (France, Norway and the UK; the Latvian and Estonian tax files list current taxpayers only, so a closed company there is not found). A registry number always returns its company, whatever its status.",
            "default": false
          },
          "ukSizeBands": {
            "title": "UK size bands",
            "type": "boolean",
            "description": "On (default): a UK company whose accounts give no number comes back with the size band it reported to the UK gender pay gap service (for example 1000 to 4999), marked employeeFigureFrom: \"gender pay gap size band (a range, not a headcount)\", and is charged like any range. Off: those rows come back empty and are not charged.",
            "default": true
          },
          "onlyChanged": {
            "title": "Only companies whose figure changed",
            "type": "boolean",
            "description": "Off (default): every company is returned, with its figure from your previous run beside it (employeesAtLastRun, changedSinceLastRun). On: a company whose figure is the same as when your runs last returned it is left out and not charged, so a scheduled run returns only what moved. A company you have not looked up before is always returned.",
            "default": false
          },
          "usStates": {
            "title": "US search: states",
            "type": "array",
            "description": "Two-letter state codes of the employer's mailing address, for example TX or CA. Empty: every state.",
            "items": {
              "type": "string"
            }
          },
          "usCities": {
            "title": "US search: cities",
            "type": "array",
            "description": "Cities of the employer's mailing address, for example Austin, TX or Round Rock, TX. A city without a state matches that name in every state. Empty: every city.",
            "items": {
              "type": "string"
            }
          },
          "usIndustryCodes": {
            "title": "US search: NAICS codes",
            "type": "array",
            "description": "NAICS codes of 2 to 6 digits; a company whose business code starts with one of them is kept. For example 31, 32, 33 (manufacturing), 5415 (computer systems design), 6231 (nursing homes). Empty: every industry.",
            "items": {
              "type": "string"
            }
          },
          "usMinEmployees": {
            "title": "US search: at least this many employees",
            "minimum": 0,
            "type": "integer",
            "description": "Active participants of the largest plan, at least. Empty: no lower limit (plans file the full Form 5500 from about 100 participants)."
          },
          "usMaxEmployees": {
            "title": "US search: at most this many employees",
            "minimum": 0,
            "type": "integer",
            "description": "Empty: no upper limit."
          },
          "usMaxCompanies": {
            "title": "US search: max companies",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The largest employers first; one free row says how many more matched. Empty: 100."
          },
          "usSmallEmployers": {
            "title": "US: include small employers (under 100 in the plan)",
            "type": "boolean",
            "description": "Also read Form 5500-SF, the short form of plans under 100 participants (9 in 10 US plans). Sponsors without a business word in their name (Inc, LLC, Co, ...), such as a doctor's own plan, are left out. Slower: about 1 GB more to read."
          },
          "usSimilar": {
            "title": "US: also list similar employers",
            "type": "boolean",
            "description": "For each US company found in companies, also list the US employers that filed under the same 6-digit NAICS business code with 1/4 to 4 times its headcount, closest in size first. Each is charged like any company. A company filed under a catch-all code (such as 541990, all other professional services) gets a free row instead."
          },
          "usSimilarMax": {
            "title": "US: similar employers per company",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Empty: 25."
          },
          "usLayoffNotices": {
            "title": "US layoff notices (WARN)",
            "type": "boolean",
            "description": "For each US company you name, also the layoff notices (WARN Act) filed under its name in Washington, Texas, Maryland and Virginia: how many in the last 12 months and for how many workers, the newest one, and up to 20 notices with place, date and workers. Texas publishes its list up to 23 June 2026 so far; each row says the date. Free, up to 50 companies a 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}