{
  "openapi": "3.0.1",
  "info": {
    "title": "Norway Company Register (Brreg) - Search Norwegian Companies",
    "description": "Search 1.1M+ Norwegian companies in the official Brønnøysund Register (Enhetsregisteret) open API by name, org number, NACE industry, municipality, legal form, employees and registration date. Get address, website, contacts, VAT and bankruptcy status. For B2B leads, KYC and market research.",
    "version": "0.2",
    "x-build-id": "3DBEaM5Evxt6AdIqq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zhucl1006~norway-company-register-brreg/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zhucl1006-norway-company-register-brreg",
        "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/zhucl1006~norway-company-register-brreg/runs": {
      "post": {
        "operationId": "runs-sync-zhucl1006-norway-company-register-brreg",
        "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/zhucl1006~norway-company-register-brreg/run-sync": {
      "post": {
        "operationId": "run-sync-zhucl1006-norway-company-register-brreg",
        "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": {
          "names": {
            "title": "Company names",
            "type": "array",
            "description": "Name search, one per line, e.g. equinor, kiwi, consulting. Combined with the filters below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "orgNumbers": {
            "title": "Organisation numbers",
            "type": "array",
            "description": "9-digit Norwegian org numbers to look up (bulk enrichment), e.g. 923609016.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "naceCodes": {
            "title": "Industry codes (NACE / næringskode)",
            "type": "array",
            "description": "Prefix match: 62 = IT services, 56.101 = restaurants, 41 = construction, 69.201 = accounting, 86 = health.",
            "default": [
              "62"
            ],
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "title": "Municipality numbers (kommunenummer)",
            "type": "array",
            "description": "4-digit numbers: 0301 Oslo, 4601 Bergen, 5001 Trondheim, 1103 Stavanger, 3201 Bærum.",
            "default": [
              "0301"
            ],
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms",
            "type": "array",
            "description": "AS (private limited), ASA (public limited), ENK (sole proprietorship), NUF (foreign branch), DA, ANS, SA, STI (foundation), FLI (association). Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minEmployees": {
            "title": "Min employees",
            "minimum": 0,
            "type": "integer",
            "description": "Registered employees (NAV Aa-register)."
          },
          "maxEmployees": {
            "title": "Max employees",
            "minimum": 0,
            "type": "integer",
            "description": "Registered employees (NAV Aa-register)."
          },
          "registeredWithinDays": {
            "title": "Registered within (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only companies registered in the last N days - new-business leads (0 = any).",
            "default": 30
          },
          "registeredFrom": {
            "title": "Registered from",
            "type": "string",
            "description": "YYYY-MM-DD. Ignored if 'Registered within' is set."
          },
          "registeredTo": {
            "title": "Registered to",
            "type": "string",
            "description": "YYYY-MM-DD. Ignored if 'Registered within' is set."
          },
          "vatRegisteredOnly": {
            "title": "Only VAT-registered",
            "type": "boolean",
            "description": "Companies in the VAT register (active trading businesses).",
            "default": false
          },
          "excludeBankrupt": {
            "title": "Exclude bankrupt / liquidating",
            "type": "boolean",
            "description": "Skip companies in bankruptcy or liquidation.",
            "default": true
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "newest",
              "oldest",
              "employees",
              "name",
              "relevance"
            ],
            "type": "string",
            "description": "Ignored for name searches (sorted by relevance).",
            "default": "newest"
          },
          "maxItemsPerQuery": {
            "title": "Max companies per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many companies per name / filter search (register API max 10,000).",
            "default": 25
          },
          "includeContactInfo": {
            "title": "Include company email / phone",
            "type": "boolean",
            "description": "As registered by the company. Never included for sole proprietorships (ENK), which are natural persons.",
            "default": true
          },
          "includePurpose": {
            "title": "Include statutory purpose",
            "type": "boolean",
            "description": "The company's registered purpose text (Norwegian).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}