{
  "openapi": "3.0.1",
  "info": {
    "title": "Norway Brønnøysund Company Registry Scraper",
    "description": "Search Norway's official Brønnøysund Register Centre (Enhetsregisteret) for registered companies and organisations by name or exact organisation number. Get organisation form, address, industry code, employee count, board members/CEO, financial capital, bankruptcy status, and more.",
    "version": "1.0",
    "x-build-id": "GCoXDGbqV3Gn8bedu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~norway-bronnoysund-company-registry-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-norway-bronnoysund-company-registry-scraper",
        "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/crawlerbros~norway-bronnoysund-company-registry-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-norway-bronnoysund-company-registry-scraper",
        "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/crawlerbros~norway-bronnoysund-company-registry-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-norway-bronnoysund-company-registry-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byOrgNumber",
              "subUnits"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "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.",
            "default": ""
          },
          "organisasjonsnumre": {
            "title": "Organisation numbers (mode=byOrgNumber)",
            "type": "array",
            "description": "Exact 9-digit Norwegian organisation number(s) to look up, e.g. `923609016`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "overordnetEnhet": {
            "title": "Parent organisation number (mode=subUnits)",
            "type": "string",
            "description": "Only include sub-units belonging to this parent organisation number.",
            "default": ""
          },
          "organisasjonsform": {
            "title": "Organisation form",
            "type": "array",
            "description": "Only include units with these organisation forms. Leave empty to include all.",
            "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": []
          },
          "naeringskode": {
            "title": "Industry code (NACE / næringskode)",
            "type": "string",
            "description": "Only include units with this exact industry code, e.g. `62.010` (Computer programming).",
            "default": ""
          },
          "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.",
            "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": []
          },
          "sisteInnsendteAarsregnskap": {
            "title": "Last filed annual accounts year (mode=search)",
            "minimum": 1900,
            "maximum": 2026,
            "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."
          },
          "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.",
            "default": ""
          },
          "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.",
            "default": ""
          },
          "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.",
            "default": ""
          },
          "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.",
            "default": ""
          },
          "kommunenummer": {
            "title": "Municipality number (kommunenummer)",
            "type": "string",
            "description": "Only include units whose business address is in this municipality, e.g. `0301` (Oslo).",
            "default": ""
          },
          "postnummer": {
            "title": "Postal code (postnummer)",
            "type": "string",
            "description": "Only include units with this exact postal code.",
            "default": ""
          },
          "fraAntallAnsatte": {
            "title": "Minimum employees",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include units with at least this many registered employees."
          },
          "tilAntallAnsatte": {
            "title": "Maximum employees",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Only include units with at most this many registered employees."
          },
          "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
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}