{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Email Verifier & Validator - SMTP & Catch-All Check",
    "description": "Bulk email verification with a real SMTP mailbox check: we verify each address by asking its mail server if that exact inbox exists. A catch-all checker flags domains that accept anything. Plus syntax and MX validation, disposable, role and free-provider flags and a valid/risky/invalid verdict.",
    "version": "0.0",
    "x-build-id": "jthBh8kMzlpVjQNzy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~email-verifier/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-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/memo23~email-verifier/runs": {
      "post": {
        "operationId": "runs-sync-memo23-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/memo23~email-verifier/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-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",
        "properties": {
          "emails": {
            "title": "Email addresses",
            "type": "array",
            "description": "Email addresses to verify, e.g. [\"jane@stripe.com\", \"info@acme.com\"].",
            "items": {
              "type": "string"
            }
          },
          "emailsText": {
            "title": "…or paste a blob of emails",
            "type": "string",
            "description": "Paste many addresses at once - comma, space or newline separated. Merged with the list above."
          },
          "inputDatasetId": {
            "title": "Input Apify dataset ID",
            "type": "string",
            "description": "Apify dataset ID whose items contain email addresses (e.g., from Google Maps or Email Finder runs)."
          },
          "emailField": {
            "title": "Email field / CSV column name",
            "type": "string",
            "description": "Field name (supports dot-paths like contact.email) or CSV column header to read from dataset/CSV inputs.",
            "default": "email"
          },
          "csvUrl": {
            "title": "CSV or text URL",
            "type": "string",
            "description": "Public HTTP(S) URL of a CSV, TSV, or newline-separated email list (max 10 MB)."
          },
          "apifyToken": {
            "title": "Apify API token (optional)",
            "type": "string",
            "description": "Optional Apify token when reading a private dataset from another account. Leave empty to use your current run's account."
          },
          "smtp": {
            "title": "Check the mailbox over SMTP",
            "type": "boolean",
            "description": "Ask the mail server whether each mailbox exists, plus a catch-all test. Sets <code>mailboxConfirmed</code> and turns cleanly rejected addresses <code>invalid</code>. Turn off for a faster DNS-only pass.",
            "default": true
          },
          "smtpTimeoutMs": {
            "title": "SMTP timeout per address (ms)",
            "minimum": 1000,
            "maximum": 30000,
            "type": "integer",
            "description": "How long to wait for the SMTP dialog before giving up on one address.",
            "default": 7000
          },
          "maxRetries": {
            "title": "Transient SMTP retries",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Retry transient inconclusive SMTP failures (timeouts, 4xx greylisting) up to N times.",
            "default": 0
          },
          "skipInvalidSyntax": {
            "title": "Skip invalid syntax before verifying",
            "type": "boolean",
            "description": "Skip malformed strings before DNS/SMTP checks so they are neither emitted nor charged.",
            "default": false
          },
          "onlyValid": {
            "title": "Only output valid emails",
            "type": "boolean",
            "description": "Only push emails with verdict 'valid' to the output dataset (skips risky and invalid rows).",
            "default": false
          },
          "excludeInvalid": {
            "title": "Exclude invalid emails",
            "type": "boolean",
            "description": "Keep 'valid' and 'risky' rows in the output dataset while omitting 'invalid' rows.",
            "default": false
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Return leaner rows (drops verbose mxRecords, localPart, and smtp handshake boilerplate while keeping verdict, reason, qualityScore, and core flags).",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit null, empty strings, and empty arrays/objects from output rows while preserving 0 and false.",
            "default": false
          },
          "smtpResponseMaxLength": {
            "title": "Max SMTP detail length",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Optional max character length for smtp.detail (0 = unlimited). Uses surrogate-safe truncation.",
            "default": 0
          },
          "maxItems": {
            "title": "Maximum emails",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on verified rows per run. Each verified email is one paid result. Default 1000. Free-tier users are capped at 100.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Parallel checks",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many addresses to verify at once. 10 is a good default.",
            "default": 10
          },
          "email": {
            "title": "Alias: single email",
            "type": "string",
            "description": "Alias for `emails` (single address or separated string)."
          },
          "emailAddresses": {
            "title": "Alias: emailAddresses",
            "type": "array",
            "description": "Alias for `emails`.",
            "items": {
              "type": "string"
            }
          },
          "emailList": {
            "title": "Alias: emailList",
            "type": "array",
            "description": "Alias for `emails`.",
            "items": {
              "type": "string"
            }
          },
          "emailsList": {
            "title": "Alias: emailsList",
            "type": "array",
            "description": "Alias for `emails`.",
            "items": {
              "type": "string"
            }
          },
          "bulkEmails": {
            "title": "Alias: bulkEmails",
            "type": "array",
            "description": "Alias for `emails`.",
            "items": {
              "type": "string"
            }
          },
          "text": {
            "title": "Alias: text",
            "type": "string",
            "description": "Alias for `emailsText`."
          },
          "datasetId": {
            "title": "Alias: datasetId",
            "type": "string",
            "description": "Alias for `inputDatasetId`."
          },
          "emailColumn": {
            "title": "Alias: emailColumn",
            "type": "string",
            "description": "Alias for `emailField`."
          },
          "enableSmtp": {
            "title": "Alias: enableSmtp",
            "type": "boolean",
            "description": "Alias for `smtp`."
          },
          "smtpCheck": {
            "title": "Alias: smtpCheck",
            "type": "boolean",
            "description": "Alias for `smtp`."
          },
          "checkSmtp": {
            "title": "Alias: checkSmtp",
            "type": "boolean",
            "description": "Alias for `smtp`."
          },
          "verifySmtp": {
            "title": "Alias: verifySmtp",
            "type": "boolean",
            "description": "Alias for `smtp`."
          },
          "timeoutMs": {
            "title": "Alias: timeoutMs",
            "minimum": 1000,
            "maximum": 30000,
            "type": "integer",
            "description": "Alias for `smtpTimeoutMs` (ms)."
          },
          "timeoutSecs": {
            "title": "Alias: timeoutSecs",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Alias for `smtpTimeoutMs` (seconds)."
          },
          "timeout": {
            "title": "Alias: timeout",
            "minimum": 1,
            "maximum": 30000,
            "type": "integer",
            "description": "Alias for `smtpTimeoutMs` (values <= 60 treated as seconds, > 60 as ms)."
          },
          "maxResults": {
            "title": "Alias: maxResults",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "limit": {
            "title": "Alias: limit",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "maxEmails": {
            "title": "Alias: maxEmails",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "concurrency": {
            "title": "Alias: concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Alias for `maxConcurrency`."
          },
          "compactOutput": {
            "title": "Alias: compactOutput",
            "type": "boolean",
            "description": "Alias for `compact`."
          },
          "omitEmptyFields": {
            "title": "Alias: omitEmptyFields",
            "type": "boolean",
            "description": "Alias for `excludeEmptyFields`."
          },
          "reasonMaxLength": {
            "title": "Alias: reasonMaxLength",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Alias for `smtpResponseMaxLength`."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}