{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Website Contact, Tech Stack & Impressum Enricher",
    "description": "Enrich 1 to 10,000 B2B domains with 3-bucket email hygiene (zero privacy@/DPO pollution), 65+ tech stack & Shopify apps, WAF-immune DNS/SPF/DMARC, DACH/EU Impressum & clean summaries. Pay $0.003 per live site only ($0 blocked/parked), $0.00005 micro-start for Clay/n8n.",
    "version": "1.0",
    "x-build-id": "wIuVjcX7RmmdxYKMd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vayneshen~b2b-domain-contact-tech-enricher/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vayneshen-b2b-domain-contact-tech-enricher",
        "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/vayneshen~b2b-domain-contact-tech-enricher/runs": {
      "post": {
        "operationId": "runs-sync-vayneshen-b2b-domain-contact-tech-enricher",
        "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/vayneshen~b2b-domain-contact-tech-enricher/run-sync": {
      "post": {
        "operationId": "run-sync-vayneshen-b2b-domain-contact-tech-enricher",
        "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": {
          "domain": {
            "title": "Single Company Domain or URL (Clay / Webhook Mode)",
            "type": "string",
            "description": "Pass one company domain or URL (e.g. 'linear.app' or 'https://n8n.io') for single-row Clay HTTP column or n8n Webhook enrichment. If explicitly passed as empty/blank with no 'domains' array, the run exits cleanly with 0 billed items."
          },
          "domains": {
            "title": "Company Domains or URLs (Batch List)",
            "type": "array",
            "description": "List of B2B company domains or URLs to enrich (up to 10,000 per run). Automatically normalized and deduplicated so duplicate domains are never double-billed. Leave empty when using Single Domain mode.",
            "items": {
              "type": "string"
            }
          },
          "maxSubpagesPerDomain": {
            "title": "Max Internal Contact / Impressum Pages per Domain",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "How many high-value internal pages discovered from the homepage to fetch (0 to 4). Strictly prioritized: Impressum/Imprint > Contact/Kontakt > Privacy/Legal > About/Team. Default 3 balances speed and extraction coverage.",
            "default": 3
          },
          "includeDachImpressum": {
            "title": "Extract DACH / EU Legal Impressum (HRB, VAT, Managing Director)",
            "type": "boolean",
            "description": "Automatically detect and parse German/Austrian/Swiss Impressum pages for legal entity name, managing director (Geschäftsführer/Vorstand), commercial register ID (HRB/HRA/UID), and VAT ID (USt-IdNr).",
            "default": true
          },
          "includeSummary": {
            "title": "Include Clean Company Summary (<= 300 Words, Cookie-Banner Stripped)",
            "type": "boolean",
            "description": "Strip navigation bars, footers, and EU cookie banners (OneTrust/Cookiebot/Usercentrics) to output a clean plain-text company summary ready for cold-email personalization.",
            "default": true
          },
          "concurrency": {
            "title": "Concurrent Domains",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "Number of domains to enrich in parallel (1 to 16). Automatically capped to 4 on 256 MB containers to prevent OOM on heavy ecommerce pages; use 512 MB (recommended default for 200+ domain batches) for up to 12 concurrent domains at the same per-domain event price.",
            "default": 8
          },
          "requestTimeoutMs": {
            "title": "Per-Page HTTP Timeout (ms)",
            "minimum": 2000,
            "maximum": 12000,
            "type": "integer",
            "description": "Timeout per individual HTTP request in milliseconds (2000 to 12000). Default 6000 keeps slow/dead sites from stalling large batches.",
            "default": 6000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}