{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Contact, Email & Tech Stack Enricher",
    "description": "Flat per-domain website contact scraper, Link-in-Bio extractor (Linktree/Beacons/Stan), decision-maker finder, DNS/MX email hygiene scorer, and 45+ tech/ad-pixel detector. Bulk, Dataset Chaining, Multi-Tenant Server API & MCP.",
    "version": "1.0",
    "x-build-id": "Elc8KDvdqIBA2OZs8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/forlex~website-contact-enricher/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-forlex-website-contact-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/forlex~website-contact-enricher/runs": {
      "post": {
        "operationId": "runs-sync-forlex-website-contact-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/forlex~website-contact-enricher/run-sync": {
      "post": {
        "operationId": "run-sync-forlex-website-contact-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": {
          "urls": {
            "title": "🌐 Website or Link-in-Bio URLs / Domains",
            "type": "array",
            "description": "List of company websites, bare domains (e.g. 'apify.com'), or Link-in-Bio URLs (Linktree, Beacons, Stan Store, Carrd).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Start URLs (Apify Request List Format)",
            "type": "array",
            "description": "Optional Apify request list sources ({ url } objects or remote URL lists). Combined with 'urls' if both are supplied.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sourceDatasetId": {
            "title": "📦 Source Dataset ID",
            "type": "string",
            "description": "Optional Apify Dataset ID containing website URLs to enrich."
          },
          "datasetUrlField": {
            "title": "🏷️ Dataset URL Field Name",
            "type": "string",
            "description": "Field name in each source dataset item containing the website or Link-in-Bio URL (e.g. 'website', 'companyUrl', 'url').",
            "default": "website"
          },
          "maxDomains": {
            "title": "📊 Max Domains",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of unique domains / Link-in-Bio profiles to process in this run.",
            "default": 100
          },
          "maxPagesPerDomain": {
            "title": "📄 Max Pages Per Domain (Flat Price)",
            "minimum": 1,
            "maximum": 15,
            "type": "integer",
            "description": "Maximum subpages inspected per domain (homepage, /contact, /about, /team, /impressum). Stops early once contacts are found.",
            "default": 4
          },
          "followLinkInBio": {
            "title": "🪪 Follow Link-in-Bio Outbound Links",
            "type": "boolean",
            "description": "When an input URL is a Link-in-Bio page (Linktree, Beacons, Stan Store, Carrd, bio.site, Bento), automatically inspect up to 3 linked personal/brand sites for emails.",
            "default": true
          },
          "verifyEmailDns": {
            "title": "✉️ Verify Email DNS (MX / SPF / DMARC)",
            "type": "boolean",
            "description": "Check DNS MX, SPF, and DMARC records, identify mail providers (Google Workspace, Microsoft 365, Zoho), and score each email (0-100) without risky SMTP port 25 probes.",
            "default": true
          },
          "includeTechStack": {
            "title": "🧩 Detect Tech Stack & Ad Pixels (Optional Paid Add-on)",
            "type": "boolean",
            "description": "Detect 45+ CMS, e-commerce, analytics, CRM, payment, and ad pixel signals (Shopify, HubSpot, Meta Pixel, Klaviyo, GA4). Charges the optional 'tech-and-pixels-addon' event once per domain when signals are found.",
            "default": false
          },
          "includeDecisionMakers": {
            "title": "👤 Extract Decision-Makers & Team Contacts (Optional Paid Add-on)",
            "type": "boolean",
            "description": "Extract leadership names, job titles, LinkedIn /in/ URLs, and matched emails from /team, /about, and JSON-LD Person schemas. Charges 'decision-makers-addon' once per domain when decision-makers are found.",
            "default": false
          },
          "maxConcurrency": {
            "title": "⚡ Max Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of domains enriched in parallel.",
            "default": 5
          },
          "outputConnector": {
            "title": "Send Enriched Leads to Notion / Slack / Todoist",
            "type": "string",
            "description": "Select an authorized MCP connector from Apify Console -> Settings -> API & Integrations -> MCP connectors."
          },
          "deliverTarget": {
            "title": "Destination Target (Page URL, Channel, or ID)",
            "type": "string",
            "description": "Optional Notion page/database ID or Slack channel ID/name for connector delivery.",
            "default": ""
          },
          "deliverMode": {
            "title": "Connector Write Mode",
            "enum": [
              "summary",
              "perLead"
            ],
            "type": "string",
            "description": "Send one consolidated Markdown summary or one item per enriched domain.",
            "default": "summary"
          },
          "deliverMaxItems": {
            "title": "Max Leads to Deliver",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum enriched domains included in connector delivery.",
            "default": 25
          },
          "proxyConfiguration": {
            "title": "Proxy Settings (Direct HTTP by Default)",
            "type": "object",
            "description": "Direct HTTP works for most websites with zero proxy fees. Enable Apify Proxy only if target sites block datacenter IPs.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}