{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Company Registries in One Schema (FR, NO, FI, CZ, PL)",
    "description": "Official company registers of France, Norway, Finland, Czechia and Poland in one schema: ID, name, status, legal form, NACE code, address, founding date, VAT registration. Look up by ID or VAT number, search by name, or get new registrations since a date.",
    "version": "1.0",
    "x-build-id": "wB6puF0B4L2dWCV35"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/saksham1341~eu-company-registry/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-saksham1341-eu-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/saksham1341~eu-company-registry/runs": {
      "post": {
        "operationId": "runs-sync-saksham1341-eu-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/saksham1341~eu-company-registry/run-sync": {
      "post": {
        "operationId": "run-sync-saksham1341-eu-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": {
          "registryIds": {
            "title": "Registry IDs",
            "type": "array",
            "description": "Companies to look up, each starting with its country code: 'FR:383474814' (SIREN, or a 14-digit SIRET), 'NO:923609016' (organisasjonsnummer), 'FI:0112038-9' (Y-tunnus), 'CZ:00177041' (IČO), 'PL:0000028860' (KRS number).",
            "items": {
              "type": "string"
            }
          },
          "vatNumbers": {
            "title": "VAT numbers",
            "type": "array",
            "description": "Companies to look up by VAT number: FR (FR89383474814), NO (NO923609016MVA), FI (FI01120389) and CZ legal entities (CZ00177041). The record comes from the national register; the EU VIES service is not queried. Polish VAT numbers (NIP) cannot be looked up because the KRS API searches by KRS number only.",
            "items": {
              "type": "string"
            }
          },
          "searchName": {
            "title": "Search by name",
            "type": "string",
            "description": "Find companies by name in every selected country whose registry supports it (FR, NO, FI, CZ). Czech searches matching more than 1,000 subjects are refused by ARES: be specific."
          },
          "newSince": {
            "title": "New registrations since",
            "type": "string",
            "description": "Feed of companies registered on or after this date, for every selected country whose registry supports it (NO, FI, PL). A date (2026-11-01) or a relative time ('7 days', '24 hours'). Use with stateKey on a schedule to get only companies you have not had before."
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Countries for name search and the new-registrations feed. Empty = all. Lookups by ID or VAT number always use the country in the ID.",
            "items": {
              "type": "string",
              "enum": [
                "FR",
                "NO",
                "FI",
                "CZ",
                "PL"
              ],
              "enumTitles": [
                "France",
                "Norway",
                "Finland",
                "Czechia",
                "Poland"
              ]
            }
          },
          "status": {
            "title": "Status",
            "enum": [
              "any",
              "active",
              "ceased"
            ],
            "type": "string",
            "description": "Keep only active or only ceased companies. Insolvency, liquidation and similar states are in statusDetail; such companies count as active until they are removed from the register.",
            "default": "any"
          },
          "industryPrefixes": {
            "title": "Industry code prefixes",
            "type": "array",
            "description": "Keep a company if its NACE code or national activity code starts with one of these, e.g. '62' (computer programming), '62.01', '4711'. Dots are ignored. Empty = all industries.",
            "items": {
              "type": "string"
            }
          },
          "includeSoleTraders": {
            "title": "Include sole traders",
            "type": "boolean",
            "description": "Sole traders are a natural person's business and their name is the person's name, so they are left out by default (FR entrepreneurs individuels, NO ENK, CZ natural-person forms).",
            "default": false
          },
          "maxResultsPerCountry": {
            "title": "Max results per search or feed",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum companies returned per country for each name search and each feed. Lookups always return their company.",
            "default": 100
          },
          "stateKey": {
            "title": "State key (feed memory)",
            "type": "string",
            "description": "Name of a key-value store in your account. When set, the new-registrations feed remembers which companies it returned and never returns (or charges for) them again. Use one name per scheduled feed."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}