{
  "openapi": "3.0.1",
  "info": {
    "title": "Impressum Scraper & Geschäftsführer Email Finder",
    "description": "Owner email finder for DACH company websites. Get the Geschäftsführer and managing director email, owner and partner emails published in the Impressum, team pages, vCards and JSON-LD, with role evidence and source URLs. No guessed addresses.",
    "version": "0.1",
    "x-build-id": "ZaTOYpY5VK5KoZDnE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/firsthand~impressum-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-firsthand-impressum-email-finder",
        "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/firsthand~impressum-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-firsthand-impressum-email-finder",
        "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/firsthand~impressum-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-firsthand-impressum-email-finder",
        "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": "Company domains",
            "type": "array",
            "description": "Company domains or public website URLs. Accepts DE, AT, CH and other public sites.",
            "items": {
              "type": "string"
            }
          },
          "websites": {
            "title": "Websites (alternative input)",
            "type": "array",
            "description": "Alternative to domains. No need to fill both.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Website links (alternative input)",
            "type": "array",
            "description": "Alternative input accepting strings or URL objects.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "urls": {
            "title": "URLs (alternative input)",
            "type": "array",
            "description": "Alternative to domains.",
            "items": {
              "type": "string"
            }
          },
          "contactScope": {
            "title": "Contacts to return",
            "enum": [
              "decision_makers",
              "all_contacts"
            ],
            "type": "string",
            "description": "Decision makers returns source-supported executives, owners and professional partners. All contacts also returns published staff contacts."
          },
          "maxItems": {
            "title": "Maximum contacts",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum output contacts. Default 100; free accounts capped at 100. 0 means no requested output cap, with a safety maximum 10000 and free cap 100."
          },
          "maxResults": {
            "title": "Maximum results (alternative input)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Alternative to maxItems."
          },
          "maxContacts": {
            "title": "Maximum contacts (alternative input)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Alternative to maxItems."
          },
          "maxDomains": {
            "title": "Maximum company websites",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Optional cap on websites read per run. Empty means all supplied websites (up to 1000). Free accounts are limited to 25 websites per run."
          },
          "maxPagesPerDomain": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Includes home, starting URL, Impressum, team, contact and about links. Default 8."
          },
          "maxVcardsPerDomain": {
            "title": "vCards per website",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Maximum same-website vCards. Default 8; 0 disables vCard downloads."
          },
          "useAI": {
            "title": "Review roles with Gemini",
            "type": "boolean",
            "description": "Uses your Gemini API key if provided. Without a key, uses published source rules. Invalid AI responses fall back to rules and are reported."
          },
          "geminiApiKey": {
            "title": "Gemini API key (optional)",
            "type": "string",
            "description": "Your own Gemini key. Kept secret; not included in results or reports. Optional for AI role review."
          },
          "includeSharedEmails": {
            "title": "Include general mailboxes",
            "type": "boolean",
            "description": "Only for All published person contacts. General addresses are clearly labeled shared mailboxes."
          },
          "checkMx": {
            "title": "Read email domain MX records",
            "type": "boolean",
            "description": "Checks domain mail-server records via HTTPS. This does not confirm a mailbox or delivery."
          },
          "targetUrls": {
            "title": "Target URLs (alternative input)",
            "type": "array",
            "description": "Alternative to domains, compatible with URL-based Impressum inputs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "roleTier": {
            "title": "Role tier (alternative input)",
            "type": "string",
            "description": "Compatibility input: any maps to all_contacts; leadership and c_suite map to decision_makers. Our executive/owner/partner definition applies."
          },
          "maxContactsPerDomain": {
            "title": "Maximum contacts per company",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Limit emitted contacts per website. 0 means no separate per-company limit. maxItems still applies."
          },
          "maxPagesPerSite": {
            "title": "Pages per site (alternative input)",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Alternative to maxPagesPerDomain."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}