{
  "openapi": "3.0.1",
  "info": {
    "title": "Norway Company Registry & Brreg Scraper - Officers, Financials",
    "description": "Scrape the Norwegian company register (Brreg / Bronnoysund) with no API key. Search by name or organisation number, or bulk-lookup org numbers, for KYB and B2B leads: legal form, NACE, address, employees, VAT and bankruptcy status, officers (board, chair, CEO) and annual financials.",
    "version": "0.1",
    "x-build-id": "q2BlbgEgSCUX5UwcW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers_lat~norway-companies-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers_lat-norway-companies-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/scrapers_lat~norway-companies-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapers_lat-norway-companies-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/scrapers_lat~norway-companies-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers_lat-norway-companies-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",
        "properties": {
          "maxCompanies": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of company records to collect. The source allows up to 10000 results per search."
          },
          "query": {
            "title": "Company name or organisation number",
            "type": "string",
            "description": "A company name (or part of it) to search for, or a 9-digit Norwegian organisation number to look up a single company directly. Optional if you provide a list of organisation numbers below."
          },
          "orgNumbers": {
            "title": "Organisation numbers (bulk lookup)",
            "type": "array",
            "description": "Optional. A list of 9-digit Norwegian organisation numbers to look up directly in one run (bulk KYB lookup). Non-digit characters are ignored. When provided, this takes priority over a name search.",
            "items": {
              "type": "string"
            }
          },
          "municipality": {
            "title": "Municipality number",
            "type": "string",
            "description": "Optional. Restrict results to a Norwegian municipality by its 4-digit municipality number, for example 0301 for Oslo or 4601 for Bergen."
          },
          "industryCode": {
            "title": "Industry code (NACE)",
            "type": "string",
            "description": "Optional. Restrict results to a NACE industry code, for example 41.200 (construction of buildings) or 62.010 (computer programming)."
          },
          "orgForm": {
            "title": "Legal form",
            "type": "string",
            "description": "Optional. Restrict results to a legal form code, for example AS (private limited), ASA (public limited), ENK (sole proprietorship) or NUF (Norwegian branch of a foreign company)."
          },
          "postalCode": {
            "title": "Postal code",
            "type": "string",
            "description": "Optional. Restrict results to a 4-digit Norwegian postal code."
          },
          "employeesFrom": {
            "title": "Employees from (minimum)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only include companies with at least this many registered employees."
          },
          "employeesTo": {
            "title": "Employees to (maximum)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only include companies with at most this many registered employees."
          },
          "sectorCode": {
            "title": "Institutional sector code",
            "type": "string",
            "description": "Optional. Restrict results to an institutional sector code (institusjonell sektorkode), for example 1120 (state-owned limited companies) or 2100 (private non-financial corporations)."
          },
          "vatStatus": {
            "title": "VAT (MVA) registration status",
            "enum": [
              "any",
              "registered",
              "not_registered"
            ],
            "type": "string",
            "description": "Optional. Filter by VAT (MVA) registration status.",
            "default": "any"
          },
          "foundedFrom": {
            "title": "Founded from (date)",
            "type": "string",
            "description": "Optional. Only include companies founded on or after this date (YYYY-MM-DD), by their official founding date (stiftelsesdato)."
          },
          "foundedTo": {
            "title": "Founded to (date)",
            "type": "string",
            "description": "Optional. Only include companies founded on or before this date (YYYY-MM-DD)."
          },
          "registeredFrom": {
            "title": "Registered from (date)",
            "type": "string",
            "description": "Optional. Only include companies registered in the Central Coordinating Register on or after this date (YYYY-MM-DD)."
          },
          "registeredTo": {
            "title": "Registered to (date)",
            "type": "string",
            "description": "Optional. Only include companies registered on or before this date (YYYY-MM-DD)."
          },
          "bankruptOnly": {
            "title": "Only bankrupt companies",
            "type": "boolean",
            "description": "Optional. When on, return only companies currently flagged as bankrupt (konkurs) in the register.",
            "default": false
          },
          "withDetails": {
            "title": "Fetch officers and roles",
            "type": "boolean",
            "description": "Fetch the board members, chair, CEO (daglig leder) and auditor for each company. Adds one fast request per company and returns the full leadership of every match.",
            "default": true
          },
          "withFinancials": {
            "title": "Fetch financials (annual accounts)",
            "type": "boolean",
            "description": "Fetch each company's filed annual accounts: revenue, operating result, profit, total assets, equity and liabilities, plus the multi-year history. Returns null for companies that have not filed accounts.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}