{
  "openapi": "3.0.1",
  "info": {
    "title": "Norwegian Company Register with Financials (Brønnøysund)",
    "description": "Every Norwegian company from the Brønnøysund Register Centre open data, with the latest annual accounts: revenue, operating profit, net profit, assets, equity, and debt. Filter by NACE industry, municipality, employees, legal form, VAT status, or registration date.",
    "version": "0.1",
    "x-build-id": "U4Pdbjv2r2dMz0RuG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tapedawn~norway-company-register/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tapedawn-norway-company-register",
        "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/tapedawn~norway-company-register/runs": {
      "post": {
        "operationId": "runs-sync-tapedawn-norway-company-register",
        "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/tapedawn~norway-company-register/run-sync": {
      "post": {
        "operationId": "run-sync-tapedawn-norway-company-register",
        "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": {
          "maxItems": {
            "title": "Maximum companies",
            "minimum": 1,
            "maximum": 800000,
            "type": "integer",
            "description": "Stop after this many companies have been saved.",
            "default": 1000
          },
          "orgNumbers": {
            "title": "Organisation numbers",
            "type": "array",
            "description": "Look up specific companies by 9-digit organisation number. Leave empty to search the whole register.",
            "items": {
              "type": "string"
            }
          },
          "nameContains": {
            "title": "Name contains",
            "type": "string",
            "description": "Keep companies whose name contains this text (case-insensitive)."
          },
          "nacePrefixes": {
            "title": "NACE industry codes",
            "type": "array",
            "description": "Keep companies with any NACE code starting with these, for example 62 (IT), 43.2 (electrical installation), 56.1 (restaurants).",
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms",
            "type": "array",
            "description": "Keep only these legal forms. Empty keeps all. Sole proprietorships (ENK) are never included.",
            "items": {
              "type": "string",
              "enum": [
                "AS",
                "ASA",
                "NUF",
                "DA",
                "ANS",
                "SA",
                "FLI",
                "STI",
                "BRL",
                "ESEK",
                "SAM",
                "KS",
                "UTLA",
                "ORGL",
                "KOMM",
                "IKS",
                "KBO",
                "BA"
              ],
              "enumTitles": [
                "AS - Aksjeselskap",
                "ASA - Allmennaksjeselskap",
                "NUF - Norskregistrert utenlandsk foretak",
                "DA - Selskap med delt ansvar",
                "ANS - Ansvarlig selskap",
                "SA - Samvirkeforetak",
                "FLI - Forening/lag/innretning",
                "STI - Stiftelse",
                "BRL - Borettslag",
                "ESEK - Eierseksjonssameie",
                "SAM - Tingsrettslig sameie",
                "KS - Kommandittselskap",
                "UTLA - Utenlandsk enhet",
                "ORGL - Organisasjonsledd",
                "KOMM - Kommune",
                "IKS - Interkommunalt selskap",
                "KBO - Konkursbo",
                "BA - Selskap med begrenset ansvar"
              ]
            }
          },
          "municipalities": {
            "title": "Municipalities",
            "type": "array",
            "description": "Keep companies whose business address (or postal address) is in these municipalities, for example Oslo, Bergen, or Trondheim.",
            "items": {
              "type": "string"
            }
          },
          "postcodePrefix": {
            "title": "Postcode prefix",
            "type": "string",
            "description": "Keep companies whose postcode starts with this."
          },
          "minEmployees": {
            "title": "Minimum employees",
            "type": "integer",
            "description": "Keep companies with at least this many registered employees."
          },
          "maxEmployees": {
            "title": "Maximum employees",
            "type": "integer",
            "description": "Keep companies with at most this many registered employees."
          },
          "vatRegisteredOnly": {
            "title": "VAT registered only",
            "type": "boolean",
            "description": "Keep only companies in the VAT register.",
            "default": false
          },
          "excludeBankruptOrLiquidating": {
            "title": "Exclude bankrupt or liquidating",
            "type": "boolean",
            "description": "Drop companies that are bankrupt, under liquidation, or under forced dissolution.",
            "default": true
          },
          "registeredAfter": {
            "title": "Registered on or after",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD, date of registration in the Central Coordinating Register."
          },
          "registeredBefore": {
            "title": "Registered on or before",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD."
          },
          "includeAccounts": {
            "title": "Add latest annual accounts",
            "type": "boolean",
            "description": "Look up each company's latest annual accounts: revenue, operating profit, net profit, assets, equity, and debt. One request per company, so runs are slower.",
            "default": true
          },
          "minRevenue": {
            "title": "Minimum revenue",
            "type": "integer",
            "description": "Keep companies whose latest accounts show at least this revenue (in the accounts currency, usually NOK). Each candidate needs an accounts lookup, so combine with other filters."
          },
          "maxRevenue": {
            "title": "Maximum revenue",
            "type": "integer",
            "description": "Keep companies whose latest accounts show at most this revenue."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}