{
  "openapi": "3.0.1",
  "info": {
    "title": "Email Verifier & Validator ($0.50/1k) — Bulk MX & M365 API",
    "description": "Bulk email verifier & lead list cleaner ($0.50/1k flat — even on Free plan!). Clean Apollo, LinkedIn, Clay & Google Maps datasets via MX, Microsoft 365, disposable, role, SPF/DMARC & typo checks. Fair billing: $0 on unknown results.",
    "version": "1.0",
    "x-build-id": "QEeBQpqdVaN94RrdL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aimtomisbehave~bulk-email-verifier-pro/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aimtomisbehave-bulk-email-verifier-pro",
        "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/aimtomisbehave~bulk-email-verifier-pro/runs": {
      "post": {
        "operationId": "runs-sync-aimtomisbehave-bulk-email-verifier-pro",
        "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/aimtomisbehave~bulk-email-verifier-pro/run-sync": {
      "post": {
        "operationId": "run-sync-aimtomisbehave-bulk-email-verifier-pro",
        "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 to Verify",
            "type": "array",
            "description": "Paste email addresses to validate (supports 'Name <email@domain.com>', mailto:, or comma/newline-separated strings). Leave empty when verifying a Dataset or CSV.",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Apify Dataset (Chain Directly from Google Maps / Apollo Scrapers)",
            "type": "string",
            "description": "Select an existing Apify Dataset containing leads/emails. Automatically detects the email column and preserves all original columns."
          },
          "csvUrl": {
            "title": "CSV or Google Sheets URL (Optional)",
            "type": "string",
            "description": "Direct link to a CSV file or public Google Sheets spreadsheet URL containing email addresses."
          },
          "emailColumn": {
            "title": "Email Column / Field Name (Optional)",
            "type": "string",
            "description": "Column name in your Dataset or CSV (leave blank for automatic detection of 'email', 'bestEmail', 'work_email', 'emailAddress', etc.).",
            "default": ""
          },
          "preserveDatasetFields": {
            "title": "Preserve Original Dataset / CSV Columns",
            "type": "boolean",
            "description": "Merges your original lead columns (e.g. companyName, title, phone, linkedin) into each verified output row.",
            "default": true
          },
          "verificationMode": {
            "title": "Verification Mode",
            "enum": [
              "dns_mx_m365_hygiene",
              "strict_smtp"
            ],
            "type": "string",
            "description": "'dns_mx_m365_hygiene' (recommended on cloud): Fast, decisive syntax + 4,000+ disposable blocklist + role + typo + DNS MX/SPF/DMARC + Microsoft 365 account verification. 'strict_smtp': Requires live Port-25 RCPT TO or smtpRelayUrl for non-M365 domains (marks unverified mailboxes 'unknown' at $0 charge).",
            "default": "dns_mx_m365_hygiene"
          },
          "extractDomainContacts": {
            "title": "Enrich Company Website Contacts & Socials (Free Add-On)",
            "type": "boolean",
            "description": "For B2B custom domains, fetches the company homepage and /contact page to discover public contact emails and LinkedIn/X/Instagram links.",
            "default": false
          },
          "filterStatus": {
            "title": "Output Filter",
            "enum": [
              "all",
              "deliverable_only",
              "exclude_undeliverable"
            ],
            "type": "string",
            "description": "'all' exports every input email with its full diagnostic report. 'deliverable_only' exports only safe deliverable emails. 'exclude_undeliverable' drops confirmed dead/disposable/invalid addresses.",
            "default": "all"
          },
          "concurrency": {
            "title": "Parallel Verification Workers",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Number of concurrent verification workers (1 to 50).",
            "default": 25
          },
          "maxEmails": {
            "title": "Maximum Emails to Process (Optional)",
            "minimum": 1,
            "type": "integer",
            "description": "Cap total emails processed in this run."
          },
          "smtpRelayUrl": {
            "title": "Custom HTTPS SMTP Relay URL (Optional — for strict_smtp mode)",
            "type": "string",
            "description": "Optional HTTPS endpoint of your own Port-25 SMTP worker if verifying Gmail/custom-MX mailboxes in strict_smtp mode."
          },
          "apifyToken": {
            "title": "Cross-Account Apify API Token (Optional)",
            "type": "string",
            "description": "Only needed if reading a private Dataset ID across accounts."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}