{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Email Verifier - SMTP Validation & Deliverability Check",
    "description": "Bulk email verifier with SMTP validation and MX record lookup: RCPT probe, catch-all detection, disposable email detection, 8,870-domain blacklist. Built for email deliverability and list cleaning. Inconclusive unknown is never billed.",
    "version": "0.3",
    "x-build-id": "tf0BmnT1TdG6izpdu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/smiling_jubilance~smtp-email-verifier/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-smiling_jubilance-smtp-email-verifier",
        "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/smiling_jubilance~smtp-email-verifier/runs": {
      "post": {
        "operationId": "runs-sync-smiling_jubilance-smtp-email-verifier",
        "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/smiling_jubilance~smtp-email-verifier/run-sync": {
      "post": {
        "operationId": "run-sync-smiling_jubilance-smtp-email-verifier",
        "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",
        "required": [
          "emails"
        ],
        "properties": {
          "emails": {
            "title": "Emails",
            "type": "array",
            "description": "要验证的邮箱地址数组（会自动去重、 trim、去掉尖括号）。也可以用逗号/空格分隔的字符串。",
            "default": [
              "info@apify.com",
              "this-address-does-not-exist-9182@gmail.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "heloHostname": {
            "title": "HELO hostname",
            "type": "string",
            "description": "SMTP HELO 使用的主机名。**必须在同一 IP 上全程固定**——某些服务商（如 Fastmail）会记住上一次的 HELO，换了就回 451。改动此项需要先重新标定 IP 信誉。",
            "default": "mailprobe.io"
          },
          "fromAddress": {
            "title": "MAIL FROM address",
            "type": "string",
            "description": "SMTP 会话的发件人地址（不会真的发信，只用于 RCPT TO 探测）。",
            "default": "probe@mailprobe.io"
          },
          "connectTimeoutMs": {
            "title": "Connect timeout (ms)",
            "minimum": 500,
            "maximum": 20000,
            "type": "integer",
            "description": "TCP 25 连接超时。实测 3500 是吞吐与成功率的最优平衡点（不可达主机是墙钟时间的主要来源）。",
            "default": 3500
          },
          "readTimeoutMs": {
            "title": "Read timeout (ms)",
            "minimum": 500,
            "maximum": 20000,
            "type": "integer",
            "description": "等待 SMTP 应答的超时。",
            "default": 4000
          },
          "hostConcurrency": {
            "title": "Host concurrency",
            "minimum": 1,
            "maximum": 64,
            "type": "integer",
            "description": "同时处理的 MX 主机数。",
            "default": 12
          },
          "dnsConcurrency": {
            "title": "DNS concurrency",
            "minimum": 1,
            "maximum": 64,
            "type": "integer",
            "description": "并发 MX 解析数。",
            "default": 12
          },
          "skipSmtpForDisposable": {
            "title": "Skip SMTP for known disposable domains",
            "type": "boolean",
            "description": "命中一次性邮箱黑名单（8,870 条，双源交叉）的域名直接出结论、不再做 DNS/SMTP 探测。实测 14 封样本（6 个一次性域名）：吞吐 8,861→11,043 封/小时（+24.6%），且这类地址全部正常计费（此前 2 个因 DNS 失败被判为「未做判断」而白送）。关掉它只会更慢、不会更准——一次性域名的 SMTP 应答对「要不要发」没有增量信息。",
            "default": true
          },
          "maxEmails": {
            "title": "Max emails per run",
            "minimum": 1,
            "maximum": 500000,
            "type": "integer",
            "description": "单次 run 最多处理的地址数（护栏，不是收费档位）。实测 11,943 封/小时，Apify 默认 run 上限会先于本值触发；超出部分不处理并在 SUMMARY.inputTruncated 标注。",
            "default": 50000
          },
          "maxMxHosts": {
            "title": "Max MX hosts per domain",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "每个域名最多尝试的 MX 主机数。实测 2 即可覆盖绝大多数域名，调低是单项提速的最大杠杆。",
            "default": 2
          },
          "forceMxOnly": {
            "title": "Force MX-only mode",
            "type": "boolean",
            "description": "Skip the SMTP phase even if outbound port 25 is reachable. Cheaper (billed as email-screened) and much faster, but cannot confirm a specific mailbox.",
            "default": false
          },
          "forceSmtp": {
            "title": "Force SMTP mode",
            "type": "boolean",
            "description": "Run the SMTP phase even if the egress self-test says port 25 is unreachable (results will mostly be unknown and therefore free).",
            "default": false
          },
          "egressProbeHosts": {
            "title": "Port-25 egress probe hosts",
            "type": "array",
            "description": "Hosts used by the startup self-test to decide between SMTP and MX-only mode. Leave empty for the defaults.",
            "items": {
              "type": "string"
            }
          },
          "providerFallback": {
            "title": "Provider-level fallback for known mailbox providers",
            "type": "boolean",
            "description": "Gmail, Outlook, Yahoo, iCloud, Proton, Zoho, Fastmail and other large providers actively block RCPT TO probing — they accept the connection but never reveal whether a specific mailbox exists. This is true even when outbound port 25 works. When SMTP returns no verdict for such a domain, the Actor falls back to a provider-level verdict: result=provider_heuristic, valid=true, confidence=80, mailboxConfirmed=false. These rows are billed at the reduced 'email-provider-verdict' rate ($0.50/1,000) instead of 'email-verified' ($0.99/1,000). Set to false if you only want mailbox-confirmed verdicts (inconclusive rows then return unknown and are free).",
            "default": true
          },
          "egressProbeTimeoutMs": {
            "title": "Egress probe timeout (ms)",
            "minimum": 500,
            "maximum": 20000,
            "type": "integer",
            "description": "Per-host TCP connect timeout for the startup self-test.",
            "default": 5000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}