{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Company Registry Search – Finland, Estonia & Czechia",
    "description": "Search official company registers of Finland (PRH/YTJ), Estonia (e-Business Register) and Czechia (ARES) in one input: new registrations by date, name search and bulk ID lookup. Business ID, VAT, legal form, status, address, NACE. $1.50 per 1,000.",
    "version": "0.1",
    "x-build-id": "nU50Wlo3fcAmECvY8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~eu-company-registry-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-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/gazidev~eu-company-registry-search/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-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/gazidev~eu-company-registry-search/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "newRegistrations",
              "nameSearch",
              "idLookup"
            ],
            "type": "string",
            "description": "**New registrations**: companies registered in a date range (lead lists, newest first). **Name search**: companies whose name contains your text. **Look up**: bulk check of business IDs / registry codes / IČO.",
            "default": "newRegistrations"
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Registers to search. Norway: use gazidev/norway-company-leads; France: gazidev/france-company-search.",
            "items": {
              "type": "string",
              "enum": [
                "FI",
                "EE",
                "CZ"
              ],
              "enumTitles": [
                "Finland (PRH / YTJ)",
                "Estonia (e-Business Register)",
                "Czechia (ARES)"
              ]
            },
            "default": [
              "FI",
              "EE",
              "CZ"
            ]
          },
          "registeredWithinDays": {
            "title": "Registered in the last N days",
            "minimum": 1,
            "type": "integer",
            "description": "New registrations mode: registration date in the last N days. Ignored when *Registered from* is set. Czechia covers about the last 30 days.",
            "default": 7
          },
          "registeredFrom": {
            "title": "Registered from (date)",
            "type": "string",
            "description": "YYYY-MM-DD. Overrides *last N days*. Also works as a filter in name search."
          },
          "registeredTo": {
            "title": "Registered to (date)",
            "type": "string",
            "description": "YYYY-MM-DD, inclusive. Optional upper bound."
          },
          "searchName": {
            "title": "Company name contains",
            "type": "string",
            "description": "Name search mode, e.g. `nordic`, `software`, `asseco`. Finland also matches former and auxiliary names. ARES (CZ) returns at most 1,000 matches per query."
          },
          "ids": {
            "title": "Registry IDs",
            "type": "array",
            "description": "Look-up mode. Finland: Business ID `0112038-9` (or VAT `FI01120389`). Estonia: 8-digit registry code `EE16752073` (or VAT `EE101335276`). Czechia: IČO `CZ27074358`. Unprefixed 8-digit numbers are checked in Estonia and Czechia.",
            "items": {
              "type": "string"
            }
          },
          "city": {
            "title": "City / town",
            "type": "string",
            "description": "Optional: only companies whose registered address is in this city or region, e.g. `Helsinki`, `Tallinn`, `Praha`, `Tartu maakond`."
          },
          "onlyLimitedCompanies": {
            "title": "Only limited companies",
            "type": "boolean",
            "description": "Keep only Oy/Oyj (FI), OÜ/AS (EE) and s.r.o./a.s. (CZ).",
            "default": false
          },
          "excludeSoleTraders": {
            "title": "Exclude sole traders",
            "type": "boolean",
            "description": "Skip natural-person sole traders (Estonian FIE, Czech trade-licence holders). On by default: these records are mostly people's names. Ignored in look-up mode.",
            "default": true
          },
          "includeInactive": {
            "title": "Include inactive companies",
            "type": "boolean",
            "description": "Also return companies in liquidation, bankrupt, ceased or dissolved. Look-up mode always returns them.",
            "default": false
          },
          "maxResultsPerCountry": {
            "title": "Max results per country",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many companies per country. 0 = no limit. You pay per company returned.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}