{
  "openapi": "3.0.1",
  "info": {
    "title": "European Company Registers (Norway, Finland, France + LEI)",
    "description": "Search, filter and look up companies in official open registers: Norway (Brønnøysund), Finland (PRH/YTJ), France (Sirene) and the global LEI index. New companies by industry, region and date, one normalised output, no personal data.",
    "version": "1.0",
    "x-build-id": "h42Hce07bTMxsMCMx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/datapress~eu-company-registers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-datapress-eu-company-registers",
        "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/datapress~eu-company-registers/runs": {
      "post": {
        "operationId": "runs-sync-datapress-eu-company-registers",
        "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/datapress~eu-company-registers/run-sync": {
      "post": {
        "operationId": "run-sync-datapress-eu-company-registers",
        "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": "What do you want to do?",
            "enum": [
              "filter",
              "search",
              "lookup"
            ],
            "type": "string",
            "description": "filter = find companies by registration date, industry, legal form and location (e.g. newly registered companies for lead generation); search = search by company name or keyword; lookup = enrich a list of registration numbers, VAT numbers or LEIs.",
            "default": "filter"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "NO = Norway (Brønnøysund register), FI = Finland (PRH/YTJ), FR = France (Sirene). Any other ISO country code (e.g. DE, SE, DK, GB, US) is served from the global LEI index (only companies that hold an LEI). WORLD = the whole LEI index. Not used in lookup mode, except to choose between Norway and France when a 9-digit number is valid in both.",
            "default": [
              "NO",
              "FI",
              "FR"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Company names or keywords",
            "type": "array",
            "description": "Search mode: one or more names or keywords, e.g. 'equinor', 'bakery', 'solar'. Each term is searched in every selected country. Filters below also apply.",
            "items": {
              "type": "string"
            }
          },
          "identifiers": {
            "title": "Registration numbers, VAT numbers or LEIs",
            "type": "array",
            "description": "Lookup mode: Norwegian organisation numbers (923609016), Finnish Y-tunnus (0112038-9), French SIREN (552032534) or SIRET, VAT numbers of those countries (NO923609016MVA, FI01120389, FR27552032534) and LEIs (20 characters). The country is detected automatically; prefix with 'NO:' or 'FR:' to force it.",
            "items": {
              "type": "string"
            }
          },
          "registeredWithinDays": {
            "title": "Registered in the last N days",
            "minimum": 1,
            "maximum": 36500,
            "type": "integer",
            "description": "Filter mode: only companies registered in the last N days (ignored if 'Registered from' is set). Schedule daily with 1 for a new-companies feed. Leave empty for no date limit. Note: France's API has no date filter, so France is skipped whenever a date limit is set."
          },
          "registeredFrom": {
            "title": "Registered from (optional)",
            "type": "string",
            "description": "YYYY-MM-DD. Overrides 'last N days'. Norway: date of entry in the Central Coordinating Register; Finland: Trade Register registration date; LEI index: the company's founding date."
          },
          "registeredTo": {
            "title": "Registered to (optional)",
            "type": "string",
            "description": "YYYY-MM-DD. Defaults to today."
          },
          "industryCodes": {
            "title": "Industry codes (NACE-based)",
            "type": "array",
            "description": "Matched as a prefix of each register's own NACE-based code: e.g. 62 (IT services), 62.01 (software), 56.10 (restaurants), 41 (construction). France also accepts exact NAF codes (62.01Z) and section letters (F). Not available for LEI-index countries (they are skipped when this is set).",
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms",
            "type": "array",
            "description": "Register-specific codes, applied to the country they belong to. Norway: AS, ASA, ANS, DA, SA, NUF, STI... Finland: OY, OYJ, KY, AY, OK... France: 4-digit 'catégorie juridique' (5710 SAS, 5499 SARL, 5599 SA). Countries with none of your codes are skipped.",
            "items": {
              "type": "string"
            }
          },
          "city": {
            "title": "City / town",
            "type": "string",
            "description": "Norway and Finland: business address town, e.g. Bergen, Tampere. France has no city filter (use postcodes or départements); France is skipped when only a city is given."
          },
          "postcodes": {
            "title": "Postcodes",
            "type": "array",
            "description": "Norway: 4 digits (0150). Finland and France: 5 digits (00100, 75008). Each code is applied to the countries where it is valid.",
            "items": {
              "type": "string"
            }
          },
          "regionCodes": {
            "title": "Municipality / département codes",
            "type": "array",
            "description": "Norway: 4-digit municipality number (0301 Oslo, 4601 Bergen). France: département (75, 69, 2A, 971). Countries without a matching code type are skipped (Finland: use city or postcodes).",
            "items": {
              "type": "string"
            }
          },
          "activeOnly": {
            "title": "Active companies only",
            "type": "boolean",
            "description": "Skip dissolved, bankrupt and liquidating companies (search and filter modes). Lookup mode always returns what it finds, with its status.",
            "default": true
          },
          "includeSoleTraders": {
            "title": "Include sole traders (anonymised)",
            "type": "boolean",
            "description": "Off by default: sole proprietorships (Norwegian ENK, French entrepreneur individuel, LEI sole proprietors) are named after a person and are excluded. When on, they are included for counting and market sizing, but their name, street address and website are removed.",
            "default": false
          },
          "includeFrenchOptOuts": {
            "title": "Include French companies that objected to prospecting",
            "type": "boolean",
            "description": "Off by default. Many French companies have filed an objection to the reuse of their register data for commercial prospecting (GDPR art. 21(2), Code de commerce R.123-320). They are skipped in search and filter modes. Turn on only for non-marketing uses such as KYC, supplier checks or research; such rows are flagged marketingOptOut = true and must not be used for prospecting. Lookup mode always returns them, flagged.",
            "default": false
          },
          "addLei": {
            "title": "Add LEI from the global LEI index",
            "type": "boolean",
            "description": "Looks up each Norwegian, Finnish and French company in the GLEIF index and adds its LEI when it has one (mostly larger or regulated companies). Batched, but the LEI API allows 60 calls/minute, so runs are slower.",
            "default": false
          },
          "includeParentLeis": {
            "title": "Add parent and ultimate-parent LEIs",
            "type": "boolean",
            "description": "For companies with an LEI, adds the direct parent and ultimate parent LEI reported to GLEIF. Up to 2 extra API calls per company that has a parent, so it is slow on large runs.",
            "default": false
          },
          "maxItems": {
            "title": "Max companies",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many companies in total. Results are spread across the selected countries.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}