{
  "openapi": "3.0.1",
  "info": {
    "title": "European Company Registry & KYB Lookup: FR, NO, FI, CZ",
    "description": "Look up companies live in the official registries of France, Norway, Finland and Czechia: identifiers, status, legal form, address, plus officers and financials for France. Optional EU VIES VAT check and verified GLEIF LEI. Official APIs, no scraping. Beta: feedback welcome.",
    "version": "0.1",
    "x-build-id": "sLOILY1b91EouPXGd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mjohnson7cd~eu-company-registry-kyb/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mjohnson7cd-eu-company-registry-kyb",
        "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/mjohnson7cd~eu-company-registry-kyb/runs": {
      "post": {
        "operationId": "runs-sync-mjohnson7cd-eu-company-registry-kyb",
        "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/mjohnson7cd~eu-company-registry-kyb/run-sync": {
      "post": {
        "operationId": "run-sync-mjohnson7cd-eu-company-registry-kyb",
        "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",
        "required": [
          "searchTerms"
        ],
        "properties": {
          "searchTerms": {
            "title": "Company names or registry IDs",
            "minItems": 1,
            "maxItems": 1000,
            "type": "array",
            "description": "Company names, or national registry identifiers (French SIREN, Norwegian organisasjonsnummer, Finnish Y-tunnus, Czech ICO). Identifiers give exact matches. Up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Registries to search",
            "maxItems": 4,
            "type": "array",
            "description": "Which official registries to query. Fewer countries = faster and cheaper.",
            "items": {
              "type": "string",
              "enum": [
                "FR",
                "NO",
                "FI",
                "CZ"
              ],
              "enumTitles": [
                "France (INSEE/RNE)",
                "Norway (Bronnoysund)",
                "Finland (PRH/YTJ)",
                "Czechia (ARES)"
              ]
            },
            "default": [
              "FR",
              "NO",
              "FI",
              "CZ"
            ]
          },
          "maxResultsPerQuery": {
            "title": "Max results per query per country",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Results are relevance-ranked, so the first hit is normally the right legal entity. Look-alike names are returned with match_quality \"weak\" and are not billed.",
            "default": 5
          },
          "validateVat": {
            "title": "Validate VAT in VIES",
            "type": "boolean",
            "description": "Live yes/no check of the VAT number against the EU VIES service (vat_valid; null with vat_check_error when VIES cannot answer). No VIES record content is returned. Free, not billed. EU countries only; Norway is skipped automatically.",
            "default": true
          },
          "lookupLei": {
            "title": "Look up LEI (GLEIF)",
            "type": "boolean",
            "description": "Attach a verified Legal Entity Identifier from GLEIF. Billed as an add-on only when an LEI is found on a billed row.",
            "default": true
          },
          "useCache": {
            "title": "Use cache",
            "type": "boolean",
            "description": "Off by default: every run is a live registry read. When on, reuses a record this account fetched in the last 24 hours at most (stored in your own key-value store 'registry-cache'). A cached row (from_cache: true) is billed exactly like a live one, including its LEI add-on. Cached rows never carry officers (personal data), and VAT is always re-checked live.",
            "default": false
          },
          "cacheMaxAgeDays": {
            "title": "Max cache age (days)",
            "minimum": 0,
            "maximum": 90,
            "type": "integer",
            "description": "Only applies when Use cache is on. Ignore cached records older than this many days, even if they have not expired. Leave empty to accept anything within the 24-hour cache TTL; 0 forces a fresh fetch."
          },
          "forceRefresh": {
            "title": "Force refresh",
            "type": "boolean",
            "description": "Only applies when Use cache is on. Bypass cached reads for this run and repopulate the cache with fresh registry data. Use when you know a company has just changed.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}