{
  "openapi": "3.0.1",
  "info": {
    "title": "Norwegian Company Data & Financials (Brønnøysund)",
    "description": "Norwegian company lookup by organisasjonsnummer, name or filters (municipality, NACE, legal form, registration date): status, address, employees, roles plus multi-year revenue, profit, equity from Brønnøysund open data. No scraping.",
    "version": "0.1",
    "x-build-id": "yaBjWs9dcWfCpUF0i"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/stimulating_stilbite~norwegian-company-data-financials/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-stimulating_stilbite-norwegian-company-data-financials",
        "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/stimulating_stilbite~norwegian-company-data-financials/runs": {
      "post": {
        "operationId": "runs-sync-stimulating_stilbite-norwegian-company-data-financials",
        "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/stimulating_stilbite~norwegian-company-data-financials/run-sync": {
      "post": {
        "operationId": "run-sync-stimulating_stilbite-norwegian-company-data-financials",
        "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": {
          "orgNumbers": {
            "title": "Organisation numbers (organisasjonsnummer)",
            "type": "array",
            "description": "Norwegian 9-digit organisation numbers, with or without spaces (923609016 or 923 609 016). Subunits (underenheter) are accepted too. Invalid numbers return an error item and are not charged.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Free-text names, e.g. \"Kongsberg Gruppen\" or \"Equinor\". Returns up to maxResultsPerName matches per name from Enhetsregisteret (all registered entities). Filters below also apply to name search.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerName": {
            "title": "Max results per name",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum matches returned for each company name (1-100). Default 5.",
            "default": 5
          },
          "municipalityNumbers": {
            "title": "Municipality numbers (kommunenummer)",
            "type": "array",
            "description": "Filter by the 4-digit municipality number of the business address, e.g. 0301 (Oslo), 4601 (Bergen), 5001 (Trondheim), 1103 (Stavanger).",
            "items": {
              "type": "string"
            }
          },
          "naceCodes": {
            "title": "NACE industry codes (næringskode)",
            "type": "array",
            "description": "Filter by NACE (SN2007/SN2025) industry code, e.g. 62.100 (computer programming), 41.000 (construction), 56.101 (restaurants). Prefixes such as 62 match all sub-codes.",
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms (organisasjonsform)",
            "type": "array",
            "description": "Filter by legal form code: AS (private limited), ASA (public limited), ENK (sole proprietorship), NUF (foreign branch), DA, ANS, SA, STI (foundation), FLI (association).",
            "items": {
              "type": "string"
            }
          },
          "registeredFrom": {
            "title": "Registered on or after",
            "type": "string",
            "description": "Only entities registered in Enhetsregisteret on or after this date (YYYY-MM-DD). Great for new-company lead lists."
          },
          "registeredTo": {
            "title": "Registered on or before",
            "type": "string",
            "description": "Only entities registered on or before this date (YYYY-MM-DD)."
          },
          "minEmployees": {
            "title": "Minimum employees",
            "minimum": 0,
            "type": "integer",
            "description": "Only entities with at least this many registered employees."
          },
          "maxEmployees": {
            "title": "Maximum employees",
            "minimum": 0,
            "type": "integer",
            "description": "Only entities with at most this many registered employees."
          },
          "excludeBankrupt": {
            "title": "Exclude bankrupt / liquidating entities in searches",
            "type": "boolean",
            "description": "When filters are used, skip entities in bankruptcy or liquidation. Does not affect direct organisation-number lookups.",
            "default": true
          },
          "maxResults": {
            "title": "Max results for filter search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of entities returned when listing by filters (1-10000). Default 100.",
            "default": 100
          },
          "includeFinancials": {
            "title": "Include annual-accounts financials",
            "type": "boolean",
            "description": "Add revenue, operating profit, profit before tax, net profit, assets, equity, liabilities and equity ratio from Regnskapsregisteret: latest company accounts in 'financials', latest consolidated accounts in 'financialsGroup', all available years in 'financialsHistory'.",
            "default": true
          },
          "includeRoles": {
            "title": "Include roles (CEO, board, auditor)",
            "type": "boolean",
            "description": "Add current roles from Enhetsregisteret: daglig leder (CEO), board chair and members, auditor, accountant, contact person. Names and role only — birth dates are deliberately not returned.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}