{
  "openapi": "3.0.1",
  "info": {
    "title": "Norway Company Registry: Brreg leads with email & phone",
    "description": "Norwegian company lists from the official Brønnøysund register (Enhetsregisteret open API): filter by industry code, municipality, founding date and employees, and get the email, phone and website where companies published them. Pay per company.",
    "version": "0.0",
    "x-build-id": "EHkXsZPuxEg27Mhls"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/goobertje~norway-company-registry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-goobertje-norway-company-registry",
        "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/goobertje~norway-company-registry/runs": {
      "post": {
        "operationId": "runs-sync-goobertje-norway-company-registry",
        "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/goobertje~norway-company-registry/run-sync": {
      "post": {
        "operationId": "run-sync-goobertje-norway-company-registry",
        "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": {
          "organizationNumbers": {
            "title": "Organisation numbers (lookup)",
            "type": "array",
            "description": "Look up these units by organisation number: 9 digits, spaces allowed, the MOD11 check digit is verified. Up to 2000. Cannot be combined with any search filter: when you fill in this field, clear the prefilled activity code and municipality first. Unknown numbers give a free 'not_found' row, numbers removed from open data a free 'removed_from_open_data' row. Example: [\"923609016\", \"914 778 271\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "naceCodes": {
            "title": "Activity codes (SN2025 / NACE)",
            "type": "array",
            "description": "Keep units whose activity code (naeringskode 1, 2 or 3) matches one of these. Use the current SN2025 codes such as 62.100 (software programming) or 70.200; a prefix such as 62 matches the whole division. Old codes (for example 62.010) return nothing. Up to 50 codes, any match counts. Example: [\"62.100\", \"70.200\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "municipalityNumbers": {
            "title": "Municipality numbers",
            "type": "array",
            "description": "Keep units whose business OR postal address is in one of these municipalities: 4-digit numbers such as 0301 (Oslo), 4601 (Bergen), 5001 (Trondheim). Up to 50. Example: [\"0301\", \"4601\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "Keep units whose business address has one of these 4-digit postal codes. Up to 50. Example: [\"0150\", \"0151\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "organizationForms": {
            "title": "Organisation forms",
            "type": "array",
            "description": "Keep units with one of these organisation form codes, for example AS (private limited company), ASA (public limited company), ENK (sole proprietorship), NUF (foreign branch), ANS, DA, SA, STI. Sole proprietorships (ENK) are skipped anyway unless you switch the exclusion below off. Up to 50. Example: [\"AS\", \"ASA\"].",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "nameContains": {
            "title": "Name contains",
            "type": "string",
            "description": "Search units by name. Only letters, digits, spaces, hyphens, apostrophes, ampersands and dots are used (other characters become spaces). Not an organisation number: use 'Organisation numbers' for that. Example: \"bygg\"."
          },
          "foundedSince": {
            "title": "Founded since",
            "type": "string",
            "description": "Keep units founded on or after this date (stiftelsesdato), format YYYY-MM-DD. If you also set 'Founded within the last N days', the later of the two dates is used. Empty means any. Example: \"2026-08-01\"."
          },
          "foundedWithinDays": {
            "title": "Founded within the last N days",
            "minimum": 0,
            "maximum": 36500,
            "type": "integer",
            "description": "Keep units founded in the last N days (counted from today, UTC). 0 turns this off. 0 to 36500. Default: 0. Example: 90.",
            "default": 0
          },
          "minEmployees": {
            "title": "Minimum employees",
            "minimum": 0,
            "type": "integer",
            "description": "Keep units with at least this many registered employees. The register only accepts 0, 1 or a number above 4 (no searches between one and four employees, a privacy rule). Leave empty for no minimum. Example: 10."
          },
          "maxEmployees": {
            "title": "Maximum employees",
            "minimum": 0,
            "type": "integer",
            "description": "Keep units with at most this many registered employees. The register only accepts 0, 4 or a number above 4 (no searches between one and four employees, a privacy rule). Leave empty for no maximum. Example: 50."
          },
          "requireDirectContact": {
            "title": "Only units with email or phone",
            "type": "boolean",
            "description": "Keep only units that publish an email address, a phone number or a mobile number. The register has no filter for this, so the Actor checks each row after fetching: skipped rows are never charged. Many units publish no contact: brand-new companies rarely list one, so expect to read several rows for each one delivered. Applies to searches and lookups. Default: false.",
            "default": false
          },
          "excludeSoleProprietorships": {
            "title": "Skip sole proprietorships (ENK)",
            "type": "boolean",
            "description": "In searches, skip organisation form ENK (enkeltpersonforetak), because their contact data belongs to a natural person. Explicit organisation number lookups still return them, flagged with soleProprietorship true. Default: true.",
            "default": true
          },
          "onlyActive": {
            "title": "Only active units",
            "type": "boolean",
            "description": "Search only: skip units that are bankrupt, under liquidation or under forced liquidation or dissolution. Default: true.",
            "default": true
          },
          "onlyNew": {
            "title": "Only units not delivered before",
            "type": "boolean",
            "description": "Skip units an earlier run with the same State store name already delivered, so you can build a list over several runs. Use a different store name per search. Default: false.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Name of the key-value store that remembers delivered organisation numbers when 'Only units not delivered before' is on. Lowercase letters, digits and hyphens, 3 to 63 characters. Default: norway-company-registry-state.",
            "default": "norway-company-registry-state"
          },
          "maxItems": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many companies are delivered (and charged). 1 to 100000. Default: 50. A search can never page beyond 10,000 results (API limit).",
            "default": 50
          },
          "requestDelaySecs": {
            "title": "Seconds between requests",
            "minimum": 1,
            "maximum": 60,
            "type": "number",
            "description": "Pause between two API requests, in seconds. 1 to 60. Default: 1.0 (the minimum; faster is not allowed).",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}