{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Company Registry Search: France SIREN & Norway Brreg",
    "description": "Search official open European company registers with one schema: France (Sirene, 26M companies) and Norway (Brreg). Filter by name, NAF/NACE code, postcode, legal form, size and date. Organisations only, no API keys, no scraping.",
    "version": "1.0",
    "x-build-id": "VndmUNWq17ntLVlrO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ai_solution~eu-company-registry-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ai_solution-eu-company-registry-search",
        "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/ai_solution~eu-company-registry-search/runs": {
      "post": {
        "operationId": "runs-sync-ai_solution-eu-company-registry-search",
        "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/ai_solution~eu-company-registry-search/run-sync": {
      "post": {
        "operationId": "run-sync-ai_solution-eu-company-registry-search",
        "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": {
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Which registries to query: FR (France), NO (Norway). Queried in the order given.",
            "items": {
              "type": "string",
              "enum": [
                "FR",
                "NO"
              ]
            },
            "default": [
              "FR"
            ]
          },
          "nameQueries": {
            "title": "Company name search",
            "type": "array",
            "description": "Company names to look for (any term matches). France: every word must appear in the company name, trade name or acronym (director names are not searched). Norway: see Name match mode.",
            "items": {
              "type": "string"
            }
          },
          "nameMatch": {
            "title": "Name match mode (Norway)",
            "enum": [
              "startsWith",
              "contains"
            ],
            "type": "string",
            "description": "Norway only. startsWith = the name begins with the text (fast type-ahead search, default); contains = free-text search of all words.",
            "default": "startsWith"
          },
          "registryIds": {
            "title": "Registry IDs",
            "type": "array",
            "description": "Look up companies by number: SIREN (9 digits) for France, organisasjonsnummer (9 digits) for Norway.",
            "items": {
              "type": "string"
            }
          },
          "activityCodes": {
            "title": "Activity codes",
            "type": "array",
            "description": "France: full NAF rev. 2 codes such as 62.01Z (computer programming) - the French API needs the exact code with letter. Norway: NACE codes or prefixes as used by Brreg, e.g. 62 or 62.1 or 62.100 (the letter suffix is ignored).",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "Business postal codes of the registered address: 5 digits for France (75001), 4 digits for Norway (0150).",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments (France)",
            "type": "array",
            "description": "France only: department codes such as 75, 69, 2A.",
            "items": {
              "type": "string"
            }
          },
          "municipalities": {
            "title": "Municipality numbers (Norway)",
            "type": "array",
            "description": "Norway only: 4-digit kommunenummer, e.g. 0301 (Oslo), 4601 (Bergen).",
            "items": {
              "type": "string"
            }
          },
          "legalForms": {
            "title": "Legal forms",
            "type": "array",
            "description": "France: INSEE legal-category codes such as 5710 (SAS), 5499 (SARL), 9220 (association). Norway: organisation form codes such as AS, ASA, NUF, STI. Sole proprietorships are always excluded.",
            "items": {
              "type": "string"
            }
          },
          "companySizes": {
            "title": "Company size (France)",
            "type": "array",
            "description": "France only: PME (small/medium), ETI (mid-cap), GE (large).",
            "items": {
              "type": "string",
              "enum": [
                "PME",
                "ETI",
                "GE"
              ]
            }
          },
          "onlyAssociations": {
            "title": "Only associations (France)",
            "type": "boolean",
            "description": "France only: return only associations.",
            "default": false
          },
          "onlyActive": {
            "title": "Only active companies",
            "type": "boolean",
            "description": "true = skip ceased (France) and bankrupt / dissolving (Norway) companies.",
            "default": true
          },
          "incorporatedFrom": {
            "title": "Incorporated on or after (YYYY-MM-DD)",
            "type": "string",
            "description": "Norway: filters on the registration date in Enhetsregisteret, newest first (best for new-company lists). France: filters on the company creation date, but only among the (max 10,000) results the French API returns for your other filters, so combine with NAF code, department or postal code."
          },
          "incorporatedTo": {
            "title": "Incorporated on or before (YYYY-MM-DD)",
            "type": "string",
            "description": "Upper date bound, same rules as above."
          },
          "minEmployees": {
            "title": "Min. employees (Norway)",
            "minimum": 0,
            "type": "integer",
            "description": "Norway only: minimum number of employees (must be 0, 1 or more than 4)."
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of company records returned in total (each is one billed result).",
            "default": 25
          },
          "maxItemsPerCountry": {
            "title": "Max results per country",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Optional cap per country so that one country does not use the whole budget."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}