{
  "data": {
    "id": "jxc3I9IR3Aw8LEVDA",
    "actId": "EyPMVaWCK4CXMw7vL",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-12-01T05:12:22.050Z",
    "finishedAt": "2026-12-01T05:12:35.190Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Norway Brønnøysund Company Registry Scraper Input\",\n  \"description\": \"Search Norway's official Brønnøysund Register Centre (data.brreg.no) for registered companies and organisations by name or exact organisation number. No login required.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byOrgNumber\",\n        \"subUnits\"\n      ],\n      \"enumTitles\": [\n        \"Search main units by name/filters\",\n        \"Lookup by exact organisation number\",\n        \"Search sub-units (business locations)\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"navn\": {\n      \"title\": \"Name (mode=search / subUnits)\",\n      \"type\": \"string\",\n      \"description\": \"Organisation name (or partial name) to search for, e.g. `Equinor`. For mode=search and mode=subUnits, leave blank to browse purely by the filters below (organisation form, municipality, employee count, etc.) instead of by name -- at least one of `navn`, the filters, or (for subUnits) `overordnetEnhet` must be set.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"Equinor\"\n    },\n    \"organisasjonsnumre\": {\n      \"title\": \"Organisation numbers (mode=byOrgNumber)\",\n      \"type\": \"array\",\n      \"description\": \"Exact 9-digit Norwegian organisation number(s) to look up, e.g. `923609016`.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [\n        \"923609016\"\n      ]\n    },\n    \"overordnetEnhet\": {\n      \"title\": \"Parent organisation number (mode=subUnits)\",\n      \"type\": \"string\",\n      \"description\": \"Only include sub-units belonging to this parent organisation number.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"organisasjonsform\": {\n      \"title\": \"Organisation form\",\n      \"type\": \"array\",\n      \"description\": \"Only include units with these organisation forms. Leave empty to include all.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"AAFY\",\n          \"ADOS\",\n          \"ANNA\",\n          \"ANS\",\n          \"AS\",\n          \"ASA\",\n          \"BA\",\n          \"BBL\",\n          \"BEDR\",\n          \"BO\",\n          \"BRL\",\n          \"DA\",\n          \"ENK\",\n          \"EOFG\",\n          \"ESEK\",\n          \"FKF\",\n          \"FLI\",\n          \"FYLK\",\n          \"GFS\",\n          \"IKJP\",\n          \"IKS\",\n          \"KBO\",\n          \"KF\",\n          \"KIRK\",\n          \"KOMM\",\n          \"KS\",\n          \"KTRF\",\n          \"NUF\",\n          \"OPMV\",\n          \"ORGL\",\n          \"PERS\",\n          \"PK\",\n          \"PRE\",\n          \"SA\",\n          \"SAM\",\n          \"SE\",\n          \"SF\",\n          \"SPA\",\n          \"STAT\",\n          \"STI\",\n          \"SÆR\",\n          \"TVAM\",\n          \"UTLA\",\n          \"VPFO\"\n        ],\n        \"enumTitles\": [\n          \"AAFY - Underenhet til ikke-næringsdrivende\",\n          \"ADOS - Administrativ enhet - offentlig sektor\",\n          \"ANNA - Annen juridisk person\",\n          \"ANS - Ansvarlig selskap med solidarisk ansvar\",\n          \"AS - Aksjeselskap\",\n          \"ASA - Allmennaksjeselskap\",\n          \"BA - Selskap med begrenset ansvar\",\n          \"BBL - Boligbyggelag\",\n          \"BEDR - Underenhet til næringsdrivende og offentlig forvaltning\",\n          \"BO - Andre bo\",\n          \"BRL - Borettslag\",\n          \"DA - Ansvarlig selskap med delt ansvar\",\n          \"ENK - Enkeltpersonforetak\",\n          \"EOFG - Europeisk økonomisk foretaksgruppe\",\n          \"ESEK - Eierseksjonssameie\",\n          \"FKF - Fylkeskommunalt foretak\",\n          \"FLI - Forening/lag/innretning\",\n          \"FYLK - Fylkeskommune\",\n          \"GFS - Gjensidig forsikringsselskap\",\n          \"IKJP - Andre ikke-juridiske personer\",\n          \"IKS - Interkommunalt selskap\",\n          \"KBO - Konkursbo\",\n          \"KF - Kommunalt foretak\",\n          \"KIRK - Den norske kirke\",\n          \"KOMM - Kommune\",\n          \"KS - Kommandittselskap\",\n          \"KTRF - Kontorfellesskap\",\n          \"NUF - Norskregistrert utenlandsk foretak\",\n          \"OPMV - Særskilt oppdelt enhet, jf. mval. § 2-2\",\n          \"ORGL - Organisasjonsledd\",\n          \"PERS - Andre enkeltpersoner som registreres i tilknyttet register\",\n          \"PK - Pensjonskasse\",\n          \"PRE - Partrederi\",\n          \"SA - Samvirkeforetak\",\n          \"SAM - Tingsrettslig sameie\",\n          \"SE - Europeisk selskap\",\n          \"SF - Statsforetak\",\n          \"SPA - Sparebank\",\n          \"STAT - Staten\",\n          \"STI - Stiftelse\",\n          \"SÆR - Annet foretak iflg. særskilt lov\",\n          \"TVAM - Tvangsregistrert for MVA\",\n          \"UTLA - Utenlandsk enhet\",\n          \"VPFO - Verdipapirfond\"\n        ]\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"naeringskode\": {\n      \"title\": \"Industry code (NACE / næringskode)\",\n      \"type\": \"string\",\n      \"description\": \"Only include units with this exact industry code, e.g. `62.010` (Computer programming).\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"institusjonellSektorkode\": {\n      \"title\": \"Institutional sector code (mode=search)\",\n      \"type\": \"array\",\n      \"description\": \"Only include main units with these institutional sector codes (SSB/Statistics Norway classification). Leave empty to include all. Not applicable to sub-unit search.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"1110\",\n          \"1120\",\n          \"1510\",\n          \"1520\",\n          \"2100\",\n          \"2300\",\n          \"2500\",\n          \"3100\",\n          \"3200\",\n          \"3500\",\n          \"3600\",\n          \"3900\",\n          \"4100\",\n          \"4300\",\n          \"4500\",\n          \"4900\",\n          \"5500\",\n          \"5700\",\n          \"6100\",\n          \"6500\",\n          \"7000\",\n          \"8200\",\n          \"8300\",\n          \"8500\",\n          \"9000\"\n        ],\n        \"enumTitles\": [\n          \"1110 - Statens forretningsdrift\",\n          \"1120 - Statlig eide aksjeselskaper mv.\",\n          \"1510 - Kommunale foretak med ubegrenset ansvar\",\n          \"1520 - Kommunalt eide aksjeselskaper mv.\",\n          \"2100 - Private aksjeselskaper mv.\",\n          \"2300 - Personlige foretak\",\n          \"2500 - Private produsentorienterte organisasjoner uten profittformål\",\n          \"3100 - Norges Bank\",\n          \"3200 - Banker\",\n          \"3500 - Kredittforetak\",\n          \"3600 - Finansieringsforetak\",\n          \"3900 - Statlige låneinstitutter mv.\",\n          \"4100 - Holdingforetak i finanskonsern\",\n          \"4300 - Verdipapirfond\",\n          \"4500 - Alternative investeringsfond (AIF) utenom verdipapirfond\",\n          \"4900 - Øvrige finansielle foretak unntatt forsikring\",\n          \"5500 - Livsforsikringsselskaper og pensjonskasser\",\n          \"5700 - Skadeforsikringsselskaper\",\n          \"6100 - Statsforvaltningen\",\n          \"6500 - Kommuneforvaltningen\",\n          \"7000 - Ideelle organisasjoner\",\n          \"8200 - Personlig næringsdrivende\",\n          \"8300 - Borettslag o.l.\",\n          \"8500 - Lønnstakere, pensjonister, trygdede, studenter o.a.\",\n          \"9000 - Utlandet\"\n        ]\n      },\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"sisteInnsendteAarsregnskap\": {\n      \"title\": \"Last filed annual accounts year (mode=search)\",\n      \"type\": \"integer\",\n      \"description\": \"Only include main units whose most recently filed annual accounts (regnskapsår) is exactly this year, e.g. `2023`. Not applicable to sub-unit search.\",\n      \"minimum\": 1900,\n      \"maximum\": 2026\n    },\n    \"fraStiftelsesdato\": {\n      \"title\": \"Founded from date (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Only include main units founded (stiftelsesdato) on or after this date, format `YYYY-MM-DD`, e.g. `2015-01-01`. Not applicable to sub-unit search.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"tilStiftelsesdato\": {\n      \"title\": \"Founded until date (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Only include main units founded (stiftelsesdato) on or before this date, format `YYYY-MM-DD`, e.g. `2020-12-31`. Not applicable to sub-unit search.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"fraRegistreringsdatoEnhetsregisteret\": {\n      \"title\": \"Registered from date (Enhetsregisteret)\",\n      \"type\": \"string\",\n      \"description\": \"Only include units registered in the Central Coordinating Register for Legal Entities (Enhetsregisteret) on or after this date, format `YYYY-MM-DD`. Applies to mode=search and mode=subUnits.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"tilRegistreringsdatoEnhetsregisteret\": {\n      \"title\": \"Registered until date (Enhetsregisteret)\",\n      \"type\": \"string\",\n      \"description\": \"Only include units registered in the Central Coordinating Register for Legal Entities (Enhetsregisteret) on or before this date, format `YYYY-MM-DD`. Applies to mode=search and mode=subUnits.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"kommunenummer\": {\n      \"title\": \"Municipality number (kommunenummer)\",\n      \"type\": \"string\",\n      \"description\": \"Only include units whose business address is in this municipality, e.g. `0301` (Oslo).\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"postnummer\": {\n      \"title\": \"Postal code (postnummer)\",\n      \"type\": \"string\",\n      \"description\": \"Only include units with this exact postal code.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"fraAntallAnsatte\": {\n      \"title\": \"Minimum employees\",\n      \"type\": \"integer\",\n      \"description\": \"Only include units with at least this many registered employees.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000\n    },\n    \"tilAntallAnsatte\": {\n      \"title\": \"Maximum employees\",\n      \"type\": \"integer\",\n      \"description\": \"Only include units with at most this many registered employees.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000\n    },\n    \"konkurs\": {\n      \"title\": \"Bankruptcy status filter\",\n      \"type\": \"boolean\",\n      \"description\": \"When set, only include units matching this bankruptcy (konkurs) status. Leave unset to include both.\"\n    },\n    \"underAvvikling\": {\n      \"title\": \"Winding-up status filter\",\n      \"type\": \"boolean\",\n      \"description\": \"When set, only include units matching this winding-up (under avvikling) status. Leave unset to include both.\"\n    },\n    \"registrertIMvaregisteret\": {\n      \"title\": \"VAT registration filter\",\n      \"type\": \"boolean\",\n      \"description\": \"When set, only include units matching this VAT-register (Merverdiavgiftsregisteret) registration status. Leave unset to include both.\"\n    },\n    \"includeRoles\": {\n      \"title\": \"Include board members / CEO (roller)\",\n      \"type\": \"boolean\",\n      \"description\": \"When true, the actor fetches each matched unit's registered roles (CEO, board chair, board members, deputy members) from the source's separate roles endpoint. When false, only the base unit record is returned (faster).\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 20,\n      \"prefill\": 20\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Norway Brønnøysund Enhetsregisteret Company Lookup\n\nEnhetsregisteret, run by the Brønnøysund Register Centre, is Norway's authoritative register of every registered business entity and organisation. This actor searches it by name and a wide set of official filters, looks up exact organisation numbers, or searches business sub-units (individual locations under a parent company) — with each unit's registered roles (CEO, board) attached on request.\n\n## What this actor does\n\n- Searches main registered units by name and/or filters: organisation form, industry code, institutional sector code, founding date, registration date, municipality, postal code, and employee count\n- Looks up exact entities by their 9-digit organisation number\n- Searches business sub-units (individual store/office locations under a parent entity), optionally restricted to one parent organisation number\n- Optionally fetches each matched unit's registered roles — CEO, board chair, board members, deputy members — from the register's separate roles data\n- Omits any field the register doesn't have for a given unit rather than sending it empty\n\n## Output per unit\n\nField names follow the register's own Norwegian terminology. Every record also includes `recordType` (`unit` or `subUnit`) and `scrapedAt`.\n\n- `organisasjonsnummer`, `navn` — organisation number and registered name\n- `organisasjonsformKode`, `organisasjonsformBeskrivelse` — legal form code and description\n- `historiskeNavn` — previous registered names with their date ranges\n- `hjemmeside`, `epostadresse`, `telefon`, `mobil`\n- `postadresse`, `forretningsadresse`, `beliggenhetsadresse` — postal, business, and physical location addresses, each with street, postal code, city, municipality, and country\n- `registreringsdatoEnhetsregisteret`, `stiftelsesdato`, `oppstartsdato`, `nedleggelsesdato` — registration, founding, start-of-activity, and (if applicable) closure dates\n- `registrertIMvaregisteret` and its registration dates — VAT register status\n- `naeringskode1`, `naeringskode2`, `naeringskode3` — up to three industry (NACE) codes with description\n- `antallAnsatte`, `harRegistrertAntallAnsatte` — employee count and whether one is on record\n- `institusjonellSektorkodeKode`, `institusjonellSektorkodeBeskrivelse` — Statistics Norway's institutional sector classification\n- `registrertIForetaksregisteret`, `registrertIStiftelsesregisteret`, `registrertIFrivillighetsregisteret`, `registrertIPartiregisteret` — boolean flags for other registers the entity is recorded in\n- `konkurs`, `konkursdato` — bankruptcy status and date\n- `underAvvikling`, `underTvangsavviklingEllerTvangsopplosning` — winding-up and forced-dissolution status\n- `erIKonsern` — whether the entity is part of a corporate group\n- `maalform`, `sisteInnsendteAarsregnskap`, `vedtektsdato`, `vedtektsfestetFormaal`, `aktivitet`\n- `kapital` — registered share capital: amount, share count, type, currency, and the date it was recorded\n- `overordnetEnhet` — the parent organisation number, present on sub-unit records\n- `roller` — when `includeRoles` is on and the record is a main unit (not a sub-unit): a list of `{ roleType, personName, personBirthDate, companyName, companyOrgNumber, resigned }` entries for each registered office-holder\n- `sourceUrl` — the entity's page on the register's own lookup site\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byOrgNumber`, or `subUnits` |\n| `navn` | string | – | Name or partial name to search for (modes=search, subUnits); leave blank to browse purely by filters |\n| `organisasjonsnumre` | array | – | Exact 9-digit organisation numbers to look up (mode=byOrgNumber) |\n| `overordnetEnhet` | string | – | Restrict sub-unit search to this parent organisation number (mode=subUnits) |\n| `organisasjonsform` | array | `[]` | One or more legal-form codes to include, e.g. `AS`, `ENK`; leave empty for all |\n| `naeringskode` | string | – | Exact industry/NACE code, e.g. `62.010` |\n| `institusjonellSektorkode` | array | `[]` | One or more institutional sector codes (mode=search only) |\n| `sisteInnsendteAarsregnskap` | integer | – | Only units whose most recently filed annual accounts year matches exactly (mode=search only) |\n| `fraStiftelsesdato` | string | – | Only units founded on or after this date, `YYYY-MM-DD` (mode=search only) |\n| `tilStiftelsesdato` | string | – | Only units founded on or before this date, `YYYY-MM-DD` (mode=search only) |\n| `fraRegistreringsdatoEnhetsregisteret` | string | – | Only units registered on or after this date (modes=search, subUnits) |\n| `tilRegistreringsdatoEnhetsregisteret` | string | – | Only units registered on or before this date (modes=search, subUnits) |\n| `kommunenummer` | string | – | Restrict to this municipality number, e.g. `0301` for Oslo |\n| `postnummer` | string | – | Restrict to this exact postal code |\n| `fraAntallAnsatte` | integer | – | Minimum registered employee count |\n| `tilAntallAnsatte` | integer | – | Maximum registered employee count |\n| `konkurs` | boolean | – | Restrict to this exact bankruptcy status; leave unset for both (mode=search only) |\n| `underAvvikling` | boolean | – | Restrict to this exact winding-up status; leave unset for both (mode=search only) |\n| `registrertIMvaregisteret` | boolean | – | Restrict to this exact VAT-register status; leave unset for both (mode=search only) |\n| `includeRoles` | boolean | `true` | Also fetch each unit's registered roles (CEO, board); has no effect in `subUnits` mode, which never fetches roles |\n| `maxItems` | integer | `20` | Maximum number of units to return (1-1000) |\n\n### Example: search by name with roles\n\n```json\n{\n    \"mode\": \"search\",\n    \"navn\": \"Equinor\",\n    \"includeRoles\": true,\n    \"maxItems\": 10\n}\n```\n\n### Example: browse active companies in one municipality by employee count\n\n```json\n{\n    \"mode\": \"search\",\n    \"kommunenummer\": \"0301\",\n    \"organisasjonsform\": [\"AS\"],\n    \"fraAntallAnsatte\": 50,\n    \"konkurs\": false,\n    \"maxItems\": 50\n}\n```\n\n### Example: look up exact organisation numbers\n\n```json\n{\n    \"mode\": \"byOrgNumber\",\n    \"organisasjonsnumre\": [\"923609016\"],\n    \"includeRoles\": true\n}\n```\n\n### Example: a company's registered sub-units\n\n```json\n{\n    \"mode\": \"subUnits\",\n    \"overordnetEnhet\": \"923609016\",\n    \"maxItems\": 50\n}\n```\n\n## Use cases\n\n- **Due diligence and KYC** — pull official registration details, bankruptcy status, and board membership before entering a business relationship\n- **Lead generation** — filter by municipality, legal form, and employee count to build a prospect list of Norwegian companies\n- **Corporate structure mapping** — list a parent company's sub-units, or trace board members across multiple entities\n- **Compliance monitoring** — periodically re-check a known set of organisation numbers for bankruptcy or winding-up status changes\n- **Market research** — count and segment companies by industry code (NACE) and region\n\n## FAQ\n\n**Why are field names in Norwegian?** They match the register's own official data model (`navn`, `organisasjonsnummer`, etc.) rather than a translated approximation, so they line up exactly with Brønnøysund's own documentation and other tools that reference the same register.\n\n**What's the difference between `search` and `subUnits`?** `search` looks up main registered entities (`enheter`); `subUnits` looks up their individual business locations (`underenheter`) — a single company can have several sub-units, each with its own address and sometimes its own employee count.\n\n**Do all the filter fields work for `subUnits`?** No — institutional sector code, founding date, last filed accounts year, bankruptcy status, winding-up status, and VAT-registration status only apply to `search`; sub-unit search supports name, organisation form, industry code, municipality/postal code, employee count, and registration date.\n\n**Why would `roller` be missing even with `includeRoles: true`?** `subUnits` mode never fetches roles, since sub-units don't carry their own office-holder records — use `search` or `byOrgNumber` on the parent entity instead. For main units, some entity types (e.g. certain sole proprietorships) simply have no registered roles on file.\n\n**What does `erIKonsern` mean?** It flags whether the entity is registered as part of a corporate group (konsern) under Norwegian company law.\n\n**Why is `antallAnsatte` sometimes missing even though `harRegistrertAntallAnsatte` could be checked?** The employee count is only included when the register has an actual numeric figure on file; `harRegistrertAntallAnsatte` separately indicates whether a count has ever been registered at all.\n\n**Can I look up a bankrupt or dissolved company?** Yes — in `search` mode, `konkurs` and `underAvvikling` are status flags you can filter on, and historical entities remain searchable by name or organisation number even after bankruptcy or dissolution.\n\n**Is this affiliated with the Brønnøysund Register Centre?** No. This actor reads publicly available data from Norway's official company register and is not affiliated with, endorsed by, or sponsored by Brønnøysundregistrene.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "norway-br-nn-ysund-enhetsregisteret-company-lookup",
      "title": "Norway Brønnøysund Enhetsregisteret Company Lookup",
      "description": "Search Norway's Enhetsregisteret by name, organisation number, or sub-unit, with legal form, address, industry code, employee count, board members/CEO, share capital, and bankruptcy status.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Norway Brønnøysund Enhetsregisteret Company Lookup\n\nEnhetsregisteret, run by the Brønnøysund Register Centre, is Norway's authoritative register of every registered business entity and organisation. This actor searches it by name and a wide set of official filters, looks up exact organisation numbers, or searches business sub-units (individual locations under a parent company) — with each unit's registered roles (CEO, board) attached on request.\n\n## What this actor does\n\n- Searches main registered units by name and/or filters: organisation form, industry code, institutional sector code, founding date, registration date, municipality, postal code, and employee count\n- Looks up exact entities by their 9-digit organisation number\n- Searches business sub-units (individual store/office locations under a parent entity), optionally restricted to one parent organisation number\n- Optionally fetches each matched unit's registered roles — CEO, board chair, board members, deputy members — from the register's separate roles data\n- Omits any field the register doesn't have for a given unit rather than sending it empty\n\n## Output per unit\n\nField names follow the register's own Norwegian terminology. Every record also includes `recordType` (`unit` or `subUnit`) and `scrapedAt`.\n\n- `organisasjonsnummer`, `navn` — organisation number and registered name\n- `organisasjonsformKode`, `organisasjonsformBeskrivelse` — legal form code and description\n- `historiskeNavn` — previous registered names with their date ranges\n- `hjemmeside`, `epostadresse`, `telefon`, `mobil`\n- `postadresse`, `forretningsadresse`, `beliggenhetsadresse` — postal, business, and physical location addresses, each with street, postal code, city, municipality, and country\n- `registreringsdatoEnhetsregisteret`, `stiftelsesdato`, `oppstartsdato`, `nedleggelsesdato` — registration, founding, start-of-activity, and (if applicable) closure dates\n- `registrertIMvaregisteret` and its registration dates — VAT register status\n- `naeringskode1`, `naeringskode2`, `naeringskode3` — up to three industry (NACE) codes with description\n- `antallAnsatte`, `harRegistrertAntallAnsatte` — employee count and whether one is on record\n- `institusjonellSektorkodeKode`, `institusjonellSektorkodeBeskrivelse` — Statistics Norway's institutional sector classification\n- `registrertIForetaksregisteret`, `registrertIStiftelsesregisteret`, `registrertIFrivillighetsregisteret`, `registrertIPartiregisteret` — boolean flags for other registers the entity is recorded in\n- `konkurs`, `konkursdato` — bankruptcy status and date\n- `underAvvikling`, `underTvangsavviklingEllerTvangsopplosning` — winding-up and forced-dissolution status\n- `erIKonsern` — whether the entity is part of a corporate group\n- `maalform`, `sisteInnsendteAarsregnskap`, `vedtektsdato`, `vedtektsfestetFormaal`, `aktivitet`\n- `kapital` — registered share capital: amount, share count, type, currency, and the date it was recorded\n- `overordnetEnhet` — the parent organisation number, present on sub-unit records\n- `roller` — when `includeRoles` is on and the record is a main unit (not a sub-unit): a list of `{ roleType, personName, personBirthDate, companyName, companyOrgNumber, resigned }` entries for each registered office-holder\n- `sourceUrl` — the entity's page on the register's own lookup site\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byOrgNumber`, or `subUnits` |\n| `navn` | string | – | Name or partial name to search for (modes=search, subUnits); leave blank to browse purely by filters |\n| `organisasjonsnumre` | array | – | Exact 9-digit organisation numbers to look up (mode=byOrgNumber) |\n| `overordnetEnhet` | string | – | Restrict sub-unit search to this parent organisation number (mode=subUnits) |\n| `organisasjonsform` | array | `[]` | One or more legal-form codes to include, e.g. `AS`, `ENK`; leave empty for all |\n| `naeringskode` | string | – | Exact industry/NACE code, e.g. `62.010` |\n| `institusjonellSektorkode` | array | `[]` | One or more institutional sector codes (mode=search only) |\n| `sisteInnsendteAarsregnskap` | integer | – | Only units whose most recently filed annual accounts year matches exactly (mode=search only) |\n| `fraStiftelsesdato` | string | – | Only units founded on or after this date, `YYYY-MM-DD` (mode=search only) |\n| `tilStiftelsesdato` | string | – | Only units founded on or before this date, `YYYY-MM-DD` (mode=search only) |\n| `fraRegistreringsdatoEnhetsregisteret` | string | – | Only units registered on or after this date (modes=search, subUnits) |\n| `tilRegistreringsdatoEnhetsregisteret` | string | – | Only units registered on or before this date (modes=search, subUnits) |\n| `kommunenummer` | string | – | Restrict to this municipality number, e.g. `0301` for Oslo |\n| `postnummer` | string | – | Restrict to this exact postal code |\n| `fraAntallAnsatte` | integer | – | Minimum registered employee count |\n| `tilAntallAnsatte` | integer | – | Maximum registered employee count |\n| `konkurs` | boolean | – | Restrict to this exact bankruptcy status; leave unset for both (mode=search only) |\n| `underAvvikling` | boolean | – | Restrict to this exact winding-up status; leave unset for both (mode=search only) |\n| `registrertIMvaregisteret` | boolean | – | Restrict to this exact VAT-register status; leave unset for both (mode=search only) |\n| `includeRoles` | boolean | `true` | Also fetch each unit's registered roles (CEO, board); has no effect in `subUnits` mode, which never fetches roles |\n| `maxItems` | integer | `20` | Maximum number of units to return (1-1000) |\n\n### Example: search by name with roles\n\n```json\n{\n    \"mode\": \"search\",\n    \"navn\": \"Equinor\",\n    \"includeRoles\": true,\n    \"maxItems\": 10\n}\n```\n\n### Example: browse active companies in one municipality by employee count\n\n```json\n{\n    \"mode\": \"search\",\n    \"kommunenummer\": \"0301\",\n    \"organisasjonsform\": [\"AS\"],\n    \"fraAntallAnsatte\": 50,\n    \"konkurs\": false,\n    \"maxItems\": 50\n}\n```\n\n### Example: look up exact organisation numbers\n\n```json\n{\n    \"mode\": \"byOrgNumber\",\n    \"organisasjonsnumre\": [\"923609016\"],\n    \"includeRoles\": true\n}\n```\n\n### Example: a company's registered sub-units\n\n```json\n{\n    \"mode\": \"subUnits\",\n    \"overordnetEnhet\": \"923609016\",\n    \"maxItems\": 50\n}\n```\n\n## Use cases\n\n- **Due diligence and KYC** — pull official registration details, bankruptcy status, and board membership before entering a business relationship\n- **Lead generation** — filter by municipality, legal form, and employee count to build a prospect list of Norwegian companies\n- **Corporate structure mapping** — list a parent company's sub-units, or trace board members across multiple entities\n- **Compliance monitoring** — periodically re-check a known set of organisation numbers for bankruptcy or winding-up status changes\n- **Market research** — count and segment companies by industry code (NACE) and region\n\n## FAQ\n\n**Why are field names in Norwegian?** They match the register's own official data model (`navn`, `organisasjonsnummer`, etc.) rather than a translated approximation, so they line up exactly with Brønnøysund's own documentation and other tools that reference the same register.\n\n**What's the difference between `search` and `subUnits`?** `search` looks up main registered entities (`enheter`); `subUnits` looks up their individual business locations (`underenheter`) — a single company can have several sub-units, each with its own address and sometimes its own employee count.\n\n**Do all the filter fields work for `subUnits`?** No — institutional sector code, founding date, last filed accounts year, bankruptcy status, winding-up status, and VAT-registration status only apply to `search`; sub-unit search supports name, organisation form, industry code, municipality/postal code, employee count, and registration date.\n\n**Why would `roller` be missing even with `includeRoles: true`?** `subUnits` mode never fetches roles, since sub-units don't carry their own office-holder records — use `search` or `byOrgNumber` on the parent entity instead. For main units, some entity types (e.g. certain sole proprietorships) simply have no registered roles on file.\n\n**What does `erIKonsern` mean?** It flags whether the entity is registered as part of a corporate group (konsern) under Norwegian company law.\n\n**Why is `antallAnsatte` sometimes missing even though `harRegistrertAntallAnsatte` could be checked?** The employee count is only included when the register has an actual numeric figure on file; `harRegistrertAntallAnsatte` separately indicates whether a count has ever been registered at all.\n\n**Can I look up a bankrupt or dissolved company?** Yes — in `search` mode, `konkurs` and `underAvvikling` are status flags you can filter on, and historical entities remain searchable by name or organisation number even after bankruptcy or dissolution.\n\n**Is this affiliated with the Brønnøysund Register Centre?** No. This actor reads publicly available data from Norway's official company register and is not affiliated with, endorsed by, or sponsored by Brønnøysundregistrene.\n",
      "input": {
        "title": "Norway Brønnøysund Company Registry Scraper Input",
        "description": "Search Norway's official Brønnøysund Register Centre (data.brreg.no) for registered companies and organisations by name or exact organisation number. No login required.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "byOrgNumber",
              "subUnits"
            ],
            "enumTitles": [
              "Search main units by name/filters",
              "Lookup by exact organisation number",
              "Search sub-units (business locations)"
            ],
            "default": "search",
            "prefill": "search"
          },
          "navn": {
            "title": "Name (mode=search / subUnits)",
            "type": "string",
            "description": "Organisation name (or partial name) to search for, e.g. `Equinor`. For mode=search and mode=subUnits, leave blank to browse purely by the filters below (organisation form, municipality, employee count, etc.) instead of by name -- at least one of `navn`, the filters, or (for subUnits) `overordnetEnhet` must be set.",
            "editor": "textfield",
            "default": "",
            "prefill": "Equinor"
          },
          "organisasjonsnumre": {
            "title": "Organisation numbers (mode=byOrgNumber)",
            "type": "array",
            "description": "Exact 9-digit Norwegian organisation number(s) to look up, e.g. `923609016`.",
            "editor": "stringList",
            "default": [],
            "prefill": [
              "923609016"
            ]
          },
          "overordnetEnhet": {
            "title": "Parent organisation number (mode=subUnits)",
            "type": "string",
            "description": "Only include sub-units belonging to this parent organisation number.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "organisasjonsform": {
            "title": "Organisation form",
            "type": "array",
            "description": "Only include units with these organisation forms. Leave empty to include all.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "AAFY",
                "ADOS",
                "ANNA",
                "ANS",
                "AS",
                "ASA",
                "BA",
                "BBL",
                "BEDR",
                "BO",
                "BRL",
                "DA",
                "ENK",
                "EOFG",
                "ESEK",
                "FKF",
                "FLI",
                "FYLK",
                "GFS",
                "IKJP",
                "IKS",
                "KBO",
                "KF",
                "KIRK",
                "KOMM",
                "KS",
                "KTRF",
                "NUF",
                "OPMV",
                "ORGL",
                "PERS",
                "PK",
                "PRE",
                "SA",
                "SAM",
                "SE",
                "SF",
                "SPA",
                "STAT",
                "STI",
                "SÆR",
                "TVAM",
                "UTLA",
                "VPFO"
              ],
              "enumTitles": [
                "AAFY - Underenhet til ikke-næringsdrivende",
                "ADOS - Administrativ enhet - offentlig sektor",
                "ANNA - Annen juridisk person",
                "ANS - Ansvarlig selskap med solidarisk ansvar",
                "AS - Aksjeselskap",
                "ASA - Allmennaksjeselskap",
                "BA - Selskap med begrenset ansvar",
                "BBL - Boligbyggelag",
                "BEDR - Underenhet til næringsdrivende og offentlig forvaltning",
                "BO - Andre bo",
                "BRL - Borettslag",
                "DA - Ansvarlig selskap med delt ansvar",
                "ENK - Enkeltpersonforetak",
                "EOFG - Europeisk økonomisk foretaksgruppe",
                "ESEK - Eierseksjonssameie",
                "FKF - Fylkeskommunalt foretak",
                "FLI - Forening/lag/innretning",
                "FYLK - Fylkeskommune",
                "GFS - Gjensidig forsikringsselskap",
                "IKJP - Andre ikke-juridiske personer",
                "IKS - Interkommunalt selskap",
                "KBO - Konkursbo",
                "KF - Kommunalt foretak",
                "KIRK - Den norske kirke",
                "KOMM - Kommune",
                "KS - Kommandittselskap",
                "KTRF - Kontorfellesskap",
                "NUF - Norskregistrert utenlandsk foretak",
                "OPMV - Særskilt oppdelt enhet, jf. mval. § 2-2",
                "ORGL - Organisasjonsledd",
                "PERS - Andre enkeltpersoner som registreres i tilknyttet register",
                "PK - Pensjonskasse",
                "PRE - Partrederi",
                "SA - Samvirkeforetak",
                "SAM - Tingsrettslig sameie",
                "SE - Europeisk selskap",
                "SF - Statsforetak",
                "SPA - Sparebank",
                "STAT - Staten",
                "STI - Stiftelse",
                "SÆR - Annet foretak iflg. særskilt lov",
                "TVAM - Tvangsregistrert for MVA",
                "UTLA - Utenlandsk enhet",
                "VPFO - Verdipapirfond"
              ]
            },
            "default": [],
            "prefill": []
          },
          "naeringskode": {
            "title": "Industry code (NACE / næringskode)",
            "type": "string",
            "description": "Only include units with this exact industry code, e.g. `62.010` (Computer programming).",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "institusjonellSektorkode": {
            "title": "Institutional sector code (mode=search)",
            "type": "array",
            "description": "Only include main units with these institutional sector codes (SSB/Statistics Norway classification). Leave empty to include all. Not applicable to sub-unit search.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "1110",
                "1120",
                "1510",
                "1520",
                "2100",
                "2300",
                "2500",
                "3100",
                "3200",
                "3500",
                "3600",
                "3900",
                "4100",
                "4300",
                "4500",
                "4900",
                "5500",
                "5700",
                "6100",
                "6500",
                "7000",
                "8200",
                "8300",
                "8500",
                "9000"
              ],
              "enumTitles": [
                "1110 - Statens forretningsdrift",
                "1120 - Statlig eide aksjeselskaper mv.",
                "1510 - Kommunale foretak med ubegrenset ansvar",
                "1520 - Kommunalt eide aksjeselskaper mv.",
                "2100 - Private aksjeselskaper mv.",
                "2300 - Personlige foretak",
                "2500 - Private produsentorienterte organisasjoner uten profittformål",
                "3100 - Norges Bank",
                "3200 - Banker",
                "3500 - Kredittforetak",
                "3600 - Finansieringsforetak",
                "3900 - Statlige låneinstitutter mv.",
                "4100 - Holdingforetak i finanskonsern",
                "4300 - Verdipapirfond",
                "4500 - Alternative investeringsfond (AIF) utenom verdipapirfond",
                "4900 - Øvrige finansielle foretak unntatt forsikring",
                "5500 - Livsforsikringsselskaper og pensjonskasser",
                "5700 - Skadeforsikringsselskaper",
                "6100 - Statsforvaltningen",
                "6500 - Kommuneforvaltningen",
                "7000 - Ideelle organisasjoner",
                "8200 - Personlig næringsdrivende",
                "8300 - Borettslag o.l.",
                "8500 - Lønnstakere, pensjonister, trygdede, studenter o.a.",
                "9000 - Utlandet"
              ]
            },
            "default": [],
            "prefill": []
          },
          "sisteInnsendteAarsregnskap": {
            "title": "Last filed annual accounts year (mode=search)",
            "type": "integer",
            "description": "Only include main units whose most recently filed annual accounts (regnskapsår) is exactly this year, e.g. `2023`. Not applicable to sub-unit search.",
            "minimum": 1900,
            "maximum": 2026
          },
          "fraStiftelsesdato": {
            "title": "Founded from date (mode=search)",
            "type": "string",
            "description": "Only include main units founded (stiftelsesdato) on or after this date, format `YYYY-MM-DD`, e.g. `2015-01-01`. Not applicable to sub-unit search.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "tilStiftelsesdato": {
            "title": "Founded until date (mode=search)",
            "type": "string",
            "description": "Only include main units founded (stiftelsesdato) on or before this date, format `YYYY-MM-DD`, e.g. `2020-12-31`. Not applicable to sub-unit search.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "fraRegistreringsdatoEnhetsregisteret": {
            "title": "Registered from date (Enhetsregisteret)",
            "type": "string",
            "description": "Only include units registered in the Central Coordinating Register for Legal Entities (Enhetsregisteret) on or after this date, format `YYYY-MM-DD`. Applies to mode=search and mode=subUnits.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "tilRegistreringsdatoEnhetsregisteret": {
            "title": "Registered until date (Enhetsregisteret)",
            "type": "string",
            "description": "Only include units registered in the Central Coordinating Register for Legal Entities (Enhetsregisteret) on or before this date, format `YYYY-MM-DD`. Applies to mode=search and mode=subUnits.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "kommunenummer": {
            "title": "Municipality number (kommunenummer)",
            "type": "string",
            "description": "Only include units whose business address is in this municipality, e.g. `0301` (Oslo).",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "postnummer": {
            "title": "Postal code (postnummer)",
            "type": "string",
            "description": "Only include units with this exact postal code.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "fraAntallAnsatte": {
            "title": "Minimum employees",
            "type": "integer",
            "description": "Only include units with at least this many registered employees.",
            "minimum": 0,
            "maximum": 1000000
          },
          "tilAntallAnsatte": {
            "title": "Maximum employees",
            "type": "integer",
            "description": "Only include units with at most this many registered employees.",
            "minimum": 0,
            "maximum": 1000000
          },
          "konkurs": {
            "title": "Bankruptcy status filter",
            "type": "boolean",
            "description": "When set, only include units matching this bankruptcy (konkurs) status. Leave unset to include both."
          },
          "underAvvikling": {
            "title": "Winding-up status filter",
            "type": "boolean",
            "description": "When set, only include units matching this winding-up (under avvikling) status. Leave unset to include both."
          },
          "registrertIMvaregisteret": {
            "title": "VAT registration filter",
            "type": "boolean",
            "description": "When set, only include units matching this VAT-register (Merverdiavgiftsregisteret) registration status. Leave unset to include both."
          },
          "includeRoles": {
            "title": "Include board members / CEO (roller)",
            "type": "boolean",
            "description": "When true, the actor fetches each matched unit's registered roles (CEO, board chair, board members, deputy members) from the source's separate roles endpoint. When false, only the base unit record is returned (faster).",
            "default": true,
            "prefill": true
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 1000,
            "default": 20,
            "prefill": 20
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Norway Brønnøysund Enhetsregisteret Company Lookup Output",
        "description": "Dataset of Norwegian registered units, each with organisation number, name, legal form, address, industry code, employee count, and bankruptcy status.",
        "properties": {
          "units": {
            "type": "string",
            "title": "Norwegian registered units",
            "description": "Dataset containing all scraped Brønnøysund Register units.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Units",
              "transformation": {
                "fields": [
                  "navn",
                  "organisasjonsnummer",
                  "organisasjonsformBeskrivelse",
                  "antallAnsatte",
                  "konkurs",
                  "forretningsadresse",
                  "registreringsdatoEnhetsregisteret"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}