{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Impressum Lookup",
    "description": "Extract company details from EU websites' Impressum, Imprint, legal notice, Mentions légales or Colofon pages. Returns company data only by default.",
    "version": "0.1",
    "x-build-id": "D7pxS8bKKG2Qyl1mh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mikee368~eu-impressum-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mikee368-eu-impressum-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/mikee368~eu-impressum-lookup/runs": {
      "post": {
        "operationId": "runs-sync-mikee368-eu-impressum-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/mikee368~eu-impressum-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-mikee368-eu-impressum-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",
        "properties": {
          "domains": {
            "title": "Domains or URLs",
            "type": "array",
            "description": "Company websites to check, e.g. 'example.de' or 'https://www.example.at/'. One row per entry. The homepage is fetched, the Impressum / Imprint / Legal notice / Note legali / Mentions légales / Colofon / company-information link is followed and the legal-notice page is parsed.",
            "default": [
              "siemens.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "includePersonNames": {
            "title": "Include person names (GDPR: opt-in)",
            "type": "boolean",
            "description": "Off by default. When on, adds 'managingPersons' (names listed as Geschäftsführer, Vorstand, Vertreten durch, Directeur de la publication, …) and allows a non-generic contact email. These are personal data under the GDPR: only enable it if you have a lawful basis (e.g. legitimate interest for B2B) and handle the data accordingly.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max parallel domains",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "How many domains are processed in parallel. Requests to one domain are always sequential with at least 0.5 s between them (or the robots.txt crawl-delay, max 5 s).",
            "default": 10
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Timeout per HTTP request.",
            "default": 15
          },
          "maxLegalPagesPerDomain": {
            "title": "Max legal pages per domain",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "How many candidate legal-notice links to open per domain (best-scored first). The Actor stops early when a page gives a complete record.",
            "default": 3
          },
          "tryCommonPaths": {
            "title": "Try common Impressum paths",
            "type": "boolean",
            "description": "If the homepage has no recognisable legal-notice link (e.g. it is built with JavaScript), try /impressum, /imprint, /de/impressum, /en/imprint, /mentions-legales, /legal-notice, /colofon, /note-legali, /legal and /company-information.",
            "default": true
          },
          "useSitemap": {
            "title": "Look in sitemap.xml",
            "type": "boolean",
            "description": "If no legal-notice page was found via links or common paths, look for an Impressum / Imprint / Mentions légales URL in the site's sitemap.xml (up to 4 sitemap files per domain).",
            "default": true
          },
          "datasetId": {
            "title": "Google Maps / places dataset ID",
            "type": "string",
            "description": "Optional Apify dataset id from a Google Maps or places scraper (or any dataset with a website URL). Each item's website / websiteUrl / url / domain is mapped to a host and run through the same Impressum lookup. Combined with Domains. Clear the domain list if you only want dataset URLs."
          },
          "maxDatasetItems": {
            "title": "Max dataset items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "How many rows to read from datasetId.",
            "default": 500
          },
          "mapsItems": {
            "title": "Places items (inline)",
            "type": "array",
            "description": "Optional list of Google Maps / places objects. The same website fields as dataset items are used. Use this instead of a dataset id when you already have the items."
          },
          "verifyVat": {
            "title": "Verify VAT via VIES",
            "type": "boolean",
            "description": "When on, each extracted USt-IdNr / VAT ID is checked with the free EU VIES REST API (POST check-vat-number, no key). Adds vatVerified / vatVerifiedName / vatVerifiedAddress. A successful valid=true check emits the optional pay-per-event vat-verified (proposed $0.001–0.002; Store pricing is not changed by this Actor). Invalid or unavailable checks are not charged. Default off.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}