{
  "openapi": "3.0.1",
  "info": {
    "title": "Nordic Company Registry: Norway & Finland Company Data",
    "description": "Look up and search companies in Norway (Brønnøysund) and Finland (PRH/YTJ) official open registers: org number, name, legal form, status, address, NACE industry, employees, website. No key needed.",
    "version": "0.1",
    "x-build-id": "M5ZDGnJQDGBOy4f6C"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fjordlabs~nordic-company-registry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fjordlabs-nordic-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/fjordlabs~nordic-company-registry/runs": {
      "post": {
        "operationId": "runs-sync-fjordlabs-nordic-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/fjordlabs~nordic-company-registry/run-sync": {
      "post": {
        "operationId": "run-sync-fjordlabs-nordic-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": {
          "orgNumbers": {
            "title": "Organisation numbers (lookup)",
            "type": "array",
            "description": "Norwegian organisation numbers (9 digits, e.g. 923609016) and/or Finnish Business IDs (e.g. 0112038-9). The country is detected automatically. Each one returns the company even if it is closed.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names (search)",
            "type": "array",
            "description": "Search by name, e.g. 'equinor' or 'nokia'. Finland also matches previous and auxiliary names. Combined with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries to search",
            "type": "array",
            "description": "Registers to search by name and filters. Lookups by organisation number always use the number's own country. Denmark (CVR) is not included.",
            "items": {
              "type": "string",
              "enum": [
                "NO",
                "FI"
              ],
              "enumTitles": [
                "Norway (Brønnøysund)",
                "Finland (PRH / YTJ)"
              ]
            },
            "default": [
              "NO",
              "FI"
            ]
          },
          "industryCodes": {
            "title": "Industry codes (NACE)",
            "type": "array",
            "description": "NACE industry code prefixes, e.g. 62 (IT services), 62.1 or 62.100, 41 (construction). Sub-codes are included. Both registers use NACE-based codes (Norway SN, Finland TOL).",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Municipalities / towns",
            "type": "array",
            "description": "Norway: municipality name (Oslo, Bergen) or 4-digit municipality number (0301). Finland: town name (Helsinki, Espoo). A name is applied to each country where it exists.",
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms",
            "type": "array",
            "description": "Codes like AS, ASA, NUF, ANS, STI (Norway) or OY, OYJ, KY, AY, OK (Finland). Each code is applied to its own country. Leave empty for all (sole proprietorships excluded unless switched on below).",
            "items": {
              "type": "string"
            }
          },
          "registeredFrom": {
            "title": "Registered from",
            "type": "string",
            "description": "Only companies registered on or after this date. ISO date like 2026-10-01 or relative like '30 days', '6 months', '1 year'. Use '7 days' on a weekly schedule to get new companies."
          },
          "registeredTo": {
            "title": "Registered to",
            "type": "string",
            "description": "ISO date or relative value. Leave empty for up to today."
          },
          "minEmployees": {
            "title": "Minimum employees (Norway only)",
            "minimum": 0,
            "type": "integer",
            "description": "Only Norwegian companies with at least this many registered employees. Finland publishes no employee counts, so Finland is skipped when this is set."
          },
          "onlyActive": {
            "title": "Only active companies (searches)",
            "type": "boolean",
            "description": "Leave out bankrupt, dissolved, ceased and liquidating companies from searches. Lookups by organisation number always return the company with its status.",
            "default": true
          },
          "includeSoleProprietorships": {
            "title": "Include sole proprietorships (Norway)",
            "type": "boolean",
            "description": "Norwegian sole proprietorships (ENK) are registered under a person's name and often a home address, so they are personal data and left out by default. Switch on only if you have a lawful reason to process them. Finland's open data has no sole traders.",
            "default": false
          },
          "maxResults": {
            "title": "Max companies per country",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many companies per country (each company is one result row). Norway returns at most 10,000 per search.",
            "default": 100
          },
          "language": {
            "title": "Language of descriptions",
            "enum": [
              "en",
              "local"
            ],
            "type": "string",
            "description": "Finland: English or Finnish descriptions of industry and legal form. Norway's register is in Norwegian only.",
            "default": "en"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}