{
  "openapi": "3.0.1",
  "info": {
    "title": "Norway Company Search – Brreg New Companies, CEO & Board Leads",
    "description": "Find new Norwegian companies from the official Brønnøysund register (Brreg): org number, NACE, address, employees, share capital, website/email/phone, bankruptcy flags + optional CEO, chair & board. Filter by municipality, county, NACE, AS/ENK. $1.50 per 1,000.",
    "version": "0.1",
    "x-build-id": "CeXrkK80ao1TmOfKV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~norway-company-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-norway-company-leads",
        "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/gazidev~norway-company-leads/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-norway-company-leads",
        "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/gazidev~norway-company-leads/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-norway-company-leads",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "newCompanies",
              "nameSearch",
              "orgNumbers"
            ],
            "type": "string",
            "description": "**New companies**: entities registered in the Central Coordinating Register in a date range (lead lists). **Name search**: companies whose name contains a word. **Look up**: bulk check of org numbers.",
            "default": "newCompanies"
          },
          "registeredWithinDays": {
            "title": "Registered in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "New companies mode: registration date (Enhetsregisteret) in the last N days. 0 = any date. Ignored when *Registered from* is set.",
            "default": 7
          },
          "registeredFrom": {
            "title": "Registered from (date)",
            "type": "string",
            "description": "YYYY-MM-DD. Overrides *last N days*. Also works as a filter in name search."
          },
          "registeredTo": {
            "title": "Registered to (date)",
            "type": "string",
            "description": "YYYY-MM-DD, inclusive. Optional upper bound."
          },
          "searchName": {
            "title": "Company name contains",
            "type": "string",
            "description": "Name search mode, e.g. `holding`, `eiendom`, `Equinor`."
          },
          "orgNumbers": {
            "title": "Organisation numbers",
            "type": "array",
            "description": "Look-up mode: 9-digit org numbers, e.g. `923609016`. Spaces, `NO` prefix and `MVA` suffix are ignored. Sub-units are found too.",
            "items": {
              "type": "string"
            }
          },
          "organisationForms": {
            "title": "Organisation form",
            "type": "array",
            "description": "Empty = all forms. AS = limited company, ENK = sole proprietorship.",
            "items": {
              "type": "string",
              "enum": [
                "AS",
                "ASA",
                "ENK",
                "NUF",
                "DA",
                "ANS",
                "SA",
                "KS",
                "FLI",
                "STI",
                "BRL",
                "ESEK",
                "SAM",
                "SPA",
                "IKS",
                "KF",
                "PRE",
                "BA"
              ],
              "enumTitles": [
                "AS – Aksjeselskap (private limited company)",
                "ASA – Allmennaksjeselskap (public limited company)",
                "ENK – Enkeltpersonforetak (sole proprietorship)",
                "NUF – Norskregistrert utenlandsk foretak (foreign branch)",
                "DA – Selskap med delt ansvar",
                "ANS – Ansvarlig selskap (general partnership)",
                "SA – Samvirkeforetak (cooperative)",
                "KS – Kommandittselskap (limited partnership)",
                "FLI – Forening/lag/innretning (association)",
                "STI – Stiftelse (foundation)",
                "BRL – Borettslag (housing cooperative)",
                "ESEK – Eierseksjonssameie (condominium)",
                "SAM – Tingsrettslig sameie",
                "SPA – Sparebank (savings bank)",
                "IKS – Interkommunalt selskap",
                "KF – Kommunalt foretak",
                "PRE – Partrederi",
                "BA – Selskap med begrenset ansvar"
              ]
            }
          },
          "counties": {
            "title": "Counties (fylker)",
            "type": "array",
            "description": "Business address county (2024 county structure). Combined with *Municipalities* as 'any of'.",
            "items": {
              "type": "string",
              "enum": [
                "03",
                "32",
                "31",
                "33",
                "34",
                "39",
                "40",
                "42",
                "11",
                "46",
                "15",
                "50",
                "18",
                "55",
                "56",
                "21"
              ],
              "enumTitles": [
                "Oslo",
                "Akershus",
                "Østfold",
                "Buskerud",
                "Innlandet",
                "Vestfold",
                "Telemark",
                "Agder",
                "Rogaland",
                "Vestland",
                "Møre og Romsdal",
                "Trøndelag",
                "Nordland",
                "Troms",
                "Finnmark",
                "Svalbard"
              ]
            }
          },
          "municipalities": {
            "title": "Municipalities (kommuner)",
            "type": "array",
            "description": "Names or 4-digit numbers, e.g. `Oslo`, `Bergen`, `Trondheim`, `Stavanger`, `0301`.",
            "items": {
              "type": "string"
            }
          },
          "naceCodes": {
            "title": "NACE industry codes",
            "type": "array",
            "description": "Prefixes work: `62` (IT/programming), `62.1`, `41` (construction), `68` (real estate), `56` (restaurants). Norway uses SN2025 (NACE Rev. 2.1) codes.",
            "items": {
              "type": "string"
            }
          },
          "minEmployees": {
            "title": "Minimum employees",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no filter. Brreg only publishes head counts of 5+, so 1 means 'has registered employees' and 2-4 is raised to 5. Most brand-new companies have none yet.",
            "default": 0
          },
          "excludeBankruptOrLiquidating": {
            "title": "Exclude bankrupt / liquidating",
            "type": "boolean",
            "description": "Skip entities that are bankrupt, under liquidation or under forced dissolution. Turn off to find them (they are flagged in the output).",
            "default": true
          },
          "onlyWithContactInfo": {
            "title": "Only with website / email / phone",
            "type": "boolean",
            "description": "Keep only companies that registered a website, email or phone number (only a few percent of new companies do).",
            "default": false
          },
          "includeRoles": {
            "title": "Include CEO, chair & board (roles)",
            "type": "boolean",
            "description": "Adds the CEO (daglig leder), chair, board members, deputies, owner (ENK), contact person, auditor and accountant. One extra API call per company, no extra charge.",
            "default": false
          },
          "unitType": {
            "title": "Unit type",
            "enum": [
              "main",
              "sub"
            ],
            "type": "string",
            "description": "Sub-units are business locations of a legal entity (with their own address and employees). Roles are only available for main units.",
            "default": "main"
          },
          "onlyNew": {
            "title": "Only new companies (monitoring)",
            "type": "boolean",
            "description": "Skip org numbers returned by earlier runs with the same *State key*. Schedule daily for a feed of new Norwegian companies.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Separate 'already seen' lists for different searches.",
            "default": "default"
          },
          "maxResults": {
            "title": "Max companies",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many companies (0 = all matching). You pay per company saved.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}