{
  "openapi": "3.0.1",
  "info": {
    "title": "Email Finder & Verifier — B2B Lookup + MX",
    "description": "Find and verify business emails from name+domain or website crawl. Pattern candidates + MX checks. Bulk-ready dataset. No LinkedIn. Website mailto scrape + MX pattern waterfall. Labels: public_listing vs candidate/mx_only.",
    "version": "1.2",
    "x-build-id": "gDdvHkzyHo06otfZY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/intelscrape~email-finder-verified/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-intelscrape-email-finder-verified",
        "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/intelscrape~email-finder-verified/runs": {
      "post": {
        "operationId": "runs-sync-intelscrape-email-finder-verified",
        "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/intelscrape~email-finder-verified/run-sync": {
      "post": {
        "operationId": "run-sync-intelscrape-email-finder-verified",
        "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": {
          "emails": {
            "title": "Emails to verify (bulk)",
            "type": "array",
            "description": "Optional. Verify addresses you already have: syntax, MX record, role / free-provider / disposable flags, 0-100 confidence and good | risky | bad status with a reason. No SMTP probing — \"good\" means syntax + MX pass, never a confirmed mailbox. Runs in every mode; every checked address is returned (onlyReturnFound does not apply).",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Website URLs to scrape for public emails",
            "type": "array",
            "description": "Pages or homepages you own permission to scrape. The Actor fetches each page (and optional contact paths) and extracts mailto: / visible email addresses. No paid API.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "domains": {
            "title": "Domains (website mode)",
            "type": "array",
            "description": "Bare domains. Homepage + common contact paths are fetched. Example: example.org",
            "items": {
              "type": "string"
            }
          },
          "people": {
            "title": "People for pattern + MX check",
            "type": "array",
            "description": "Optional. Generates common address patterns for name@domain and checks MX only (no SMTP / no paid verifier). Never claims mailbox deliverability."
          },
          "fullName": {
            "title": "Full name (single pattern lookup)",
            "type": "string",
            "description": "Full name for a single pattern+MX lookup (titles/suffixes stripped)."
          },
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "First/given name for a single pattern+MX lookup."
          },
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "Last name/surname for a single pattern+MX lookup."
          },
          "domain": {
            "title": "Domain (single lookup)",
            "type": "string",
            "description": "Company domain for a single lookup (also used as a website scrape target when mode includes website)."
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "website",
              "patterns",
              "both"
            ],
            "type": "string",
            "description": "website = scrape public emails from pages. patterns = MX-checked pattern candidates only. both = do both.",
            "default": "both"
          },
          "maxPagesPerDomain": {
            "title": "Max pages per domain",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Max pages fetched per domain (homepage + contact paths + optional sitemap/homepage link discovery).",
            "default": 6
          },
          "patternTier": {
            "title": "Pattern coverage",
            "enum": [
              "core-4",
              "ext-10",
              "full-18"
            ],
            "type": "string",
            "description": "How many name-based address formats to emit as MX-checked candidates.",
            "default": "core-4"
          },
          "includeRoleCandidates": {
            "title": "Include role addresses in pattern mode",
            "type": "boolean",
            "description": "Also emit info@ / contact@ / sales@ candidates when MX is valid.",
            "default": true
          },
          "excludeRoleAccounts": {
            "title": "Exclude role accounts",
            "type": "boolean",
            "description": "When true, skip ROLE local-parts (info@, contact@, sales@, support@, …) on website pushes and do not emit role:* pattern candidates. Overrides includeRoleCandidates. Role demotion (non-role first, lower confidence, roleScore) still applies when this is false.",
            "default": false
          },
          "useSitemapCrawl": {
            "title": "Sitemap + robots contact discovery",
            "type": "boolean",
            "description": "For each domain, fetch /sitemap.xml, /sitemap_index.xml, and robots.txt Sitemap: lines; collect same-origin URLs whose path matches contact|about|support|team|help|connect and add them to the crawl set (still capped by maxPagesPerDomain). Also discovers those links from the homepage HTML.",
            "default": true
          },
          "onlyReturnFound": {
            "title": "Only return found / candidate emails",
            "type": "boolean",
            "description": "Omit miss / input-error rows from website and pattern modes (recommended for PPE). Verify rows from emails[] are always returned — bad ones are the point.",
            "default": true
          },
          "maxItems": {
            "title": "Max dataset items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on dataset items pushed (and therefore billed).",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Useful if target sites rate-limit 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}