{
  "openapi": "3.0.1",
  "info": {
    "title": "Company Registry Lookup – ARES, SIRENE, Brreg, VIES, LEI",
    "description": "Look up companies in official business registers by company number, VAT ID, LEI or name: CZ ARES, SK RPO, FR SIRENE, NO Brreg, FI PRH, PL KRS + VAT white list, EE, LV, US SEC EDGAR, EU VIES and GLEIF (any country). One normalized record, batch input, cache, officers, VAT and LEI add-ons.",
    "version": "1.1",
    "x-build-id": "5bUap0Bb99IyBxFhC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/budoucnost-ai~company-registry-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-budoucnost-ai-company-registry-lookup",
        "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/budoucnost-ai~company-registry-lookup/runs": {
      "post": {
        "operationId": "runs-sync-budoucnost-ai-company-registry-lookup",
        "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/budoucnost-ai~company-registry-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-budoucnost-ai-company-registry-lookup",
        "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": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Queries",
            "type": "array",
            "description": "One lookup per item. Strings are classified automatically: an EU VAT ID (CZ27074358, FR40303265045 → VIES + national register), an LEI (20 characters), \"CC:number\" (FI:0112038-9), a bare company number (routed to the first default country whose format fits), otherwise a company name searched in the default countries. Objects give full control: {\"id\": \"923609016\", \"country\": \"NO\"}, {\"name\": \"Powerbox\", \"country\": \"CZ\"}, {\"vat\": \"PL5260250995\"}, {\"lei\": \"315700X638PF8D924P64\"}."
          },
          "defaultCountries": {
            "title": "Default countries",
            "type": "array",
            "description": "ISO country codes used for bare names and bare numbers (a name is searched in every listed country). Native registers: CZ, SK, FR, NO, FI, PL (id only), EE, LV, US (SEC filers), GB (with API key). Any other country is looked up in the GLEIF LEI index.",
            "default": [
              "CZ"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max results per name search",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many best-matching companies a name query returns (ranked by name similarity, active companies first). Each returned company is one company-found event.",
            "default": 5
          },
          "includeOfficers": {
            "title": "Include officers",
            "type": "boolean",
            "description": "Statutory body members / directors where the register publishes them for free (CZ commercial register, SK RPO, FR RNE, NO roles, GB with key). Costs one extra API call per CZ/NO/GB record, no extra charge.",
            "default": true
          },
          "checkVat": {
            "title": "Validate VAT IDs in VIES (add-on)",
            "type": "boolean",
            "description": "For every found EU company with a VAT ID, check the VAT status in EU VIES and attach it as vatCheck. Included in the company-found price.",
            "default": false
          },
          "enrichLei": {
            "title": "Add LEI from GLEIF (add-on)",
            "type": "boolean",
            "description": "Look up the company's LEI in the GLEIF index by registration number and country. Included in the company-found price.",
            "default": false
          },
          "gleifFallback": {
            "title": "GLEIF fallback for other countries",
            "type": "boolean",
            "description": "For countries without a native free register API here (DE, AT, NL, IT, ES, GB without key, PL names …), search the GLEIF LEI index by registration number or name. Covers entities that hold an LEI (most larger companies, banks, funds, listed companies).",
            "default": true
          },
          "includeRaw": {
            "title": "Include raw source JSON",
            "type": "boolean",
            "description": "Attach the original API response(s) as raw – useful for fields that are not normalized.",
            "default": false
          },
          "sources": {
            "title": "Restrict to sources",
            "type": "array",
            "description": "Empty = all. Allowed: cz-ares, sk-rpo, fr-sirene, no-brreg, fi-prh, pl-krs, ee-ariregister, lv-ur, us-sec-edgar, gb-companies-house, eu-vies, gleif, opencorporates.",
            "items": {
              "type": "string"
            }
          },
          "cacheHours": {
            "title": "Cache (hours)",
            "minimum": 0,
            "maximum": 2160,
            "type": "integer",
            "description": "Reuse records fetched within this many hours (your own cache store company-registry-cache plus the shared cross-user cache). 0 = always fresh.",
            "default": 168
          },
          "useSharedCache": {
            "title": "Use shared cache",
            "type": "boolean",
            "description": "Read company records that other runs of this actor fetched recently (registry records are identical for everybody). Respects cacheHours; never shares your queries or search listings.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Lookups processed in parallel. Each registry host additionally gets at most 2 parallel requests.",
            "default": 4
          },
          "companiesHouseApiKey": {
            "title": "Companies House API key (optional)",
            "type": "string",
            "description": "Free key from developer.company-information.service.gov.uk – enables the native UK register (profile, SIC codes, officers). Without it GB goes through GLEIF."
          },
          "openCorporatesApiToken": {
            "title": "OpenCorporates API token (optional)",
            "type": "string",
            "description": "Your own OpenCorporates token – used only as a fallback for countries without a native register here (140+ jurisdictions)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}