{
  "openapi": "3.0.1",
  "info": {
    "title": "European Company Registry Search: 8 Registers",
    "description": "Company records from eight official European registers (Sirene, Brreg, PRH, ARES, Zefix, Estonia's e-Business Register, RPO and KRS) in one schema, by name or registration number. Company data only: no officers, owners or sole traders. No proxy, no API key. Pay per company found; misses are free.",
    "version": "0.0",
    "x-build-id": "EIenMKAGNIV9FNtpc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/enisbodlli~eu-company-registry-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-enisbodlli-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/enisbodlli~eu-company-registry-search/runs": {
      "post": {
        "operationId": "runs-sync-enisbodlli-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/enisbodlli~eu-company-registry-search/run-sync": {
      "post": {
        "operationId": "run-sync-enisbodlli-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",
            "maxItems": 8,
            "uniqueItems": true,
            "type": "array",
            "description": "The official registers to search by name: France (Sirene), Norway (Enhetsregisteret), Finland (YTJ / Trade Register), Czechia (ARES), Switzerland (Zefix), Estonia (e-Business Register), Slovakia (RPO) and Poland (KRS). Leave empty to use all eight. Poland cannot be searched by name, only by KRS number. Estonia answers one lookup every 10 seconds. Registration numbers without a country prefix are also looked up only in the registers selected here.",
            "items": {
              "type": "string",
              "enum": [
                "FR",
                "NO",
                "FI",
                "CZ",
                "CH",
                "EE",
                "SK",
                "PL"
              ],
              "enumTitles": [
                "France (Sirene)",
                "Norway (Enhetsregisteret)",
                "Finland (YTJ, Trade Register)",
                "Czechia (ARES)",
                "Switzerland (Zefix)",
                "Estonia (e-Business Register)",
                "Slovakia (RPO)",
                "Poland (KRS, by number only)"
              ]
            },
            "default": [
              "FR",
              "NO",
              "FI",
              "CZ",
              "CH",
              "EE",
              "SK",
              "PL"
            ]
          },
          "queries": {
            "title": "Company names",
            "maxItems": 500,
            "type": "array",
            "description": "Company names to search, one per line. Each name is searched in every selected register and returns up to \"Maximum results per name\" companies from each. A name that a register does not know gives a free row with \"found\": false. Names of sole traders are not returned. 2 to 200 characters each (France needs at least 3), up to 500 names per run.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 200
            }
          },
          "registrationNumbers": {
            "title": "Registration numbers",
            "maxItems": 1000,
            "type": "array",
            "description": "Registration numbers to look up, one per line: French SIREN or SIRET, Norwegian organisasjonsnummer, Finnish Y-tunnus, Czech or Slovak IČO, Swiss UID (CHE-...), Estonian registrikood or Polish KRS number. Shape and check digit are verified before any request. To name the register, put the country in front, as in \"CZ:00177041\" or \"PL:28860\"; without a prefix the number is looked up in every selected register whose rules it fits. Up to 1,000 numbers per run.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            }
          },
          "activeOnly": {
            "title": "Active companies only",
            "type": "boolean",
            "description": "Return only companies that are on the register and not in liquidation, bankruptcy or struck off. France is filtered by the register itself; the others are filtered before anything is charged. A lookup whose only matches are inactive gives a free row with \"notFoundReason\": \"inactive_filtered\".",
            "default": false
          },
          "maxResultsPerQuery": {
            "title": "Maximum results per name",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many companies to return for one name from one register, at most. Use 1 to get the best match only. A registration number always returns at most one company. Estonia returns at most 10 per name.",
            "default": 5
          },
          "maxResults": {
            "title": "Maximum companies per run",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop the run after this many companies were found and stored. Leave empty for no cap. The free \"found\": false rows do not count. You can also set a maximum charge for the run in the run options; the run stops cleanly at whichever comes first."
          },
          "includeLei": {
            "title": "Add the LEI",
            "type": "boolean",
            "description": "Look up each company's Legal Entity Identifier (LEI) in GLEIF's public register and add it as \"lei\". Costs nothing extra, and slows the run to about one company a second. Most small companies have no LEI.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}