{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Email Validator – Syntax, MX, Disposable & Typo Check",
    "description": "Clean email lists in bulk: RFC syntax, MX / null MX / A-record DNS check, 9,000+ disposable domains, role accounts (info@, admin@), free providers, typo fixes (gmial.com -> gmail.com), normalized address and a 0-100 score. Honest pre-validation: no SMTP mailbox ping. $0.30 per 1,000 emails.",
    "version": "0.1",
    "x-build-id": "1H8hjKHKfq7A6wRJU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gazidev~email-syntax-mx-validator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gazidev-email-syntax-mx-validator",
        "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/gazidev~email-syntax-mx-validator/runs": {
      "post": {
        "operationId": "runs-sync-gazidev-email-syntax-mx-validator",
        "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/gazidev~email-syntax-mx-validator/run-sync": {
      "post": {
        "operationId": "run-sync-gazidev-email-syntax-mx-validator",
        "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": "Emails to check. `Name <a@b.com>` and `mailto:` links are accepted. Note: this Actor checks syntax, DNS/MX, disposable, role, free-provider and typos. It does NOT ping the mailbox over SMTP (port 25 is blocked on Apify).",
            "default": [
              "jane.doe@gmail.com",
              "john.doe@gmial.com",
              "test@mailinator.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "bulkText": {
            "title": "Bulk list (paste emails or CSV)",
            "type": "string",
            "description": "Paste one email per line (or separated by commas / semicolons), or a whole CSV/TSV export with a header row; the email column is detected automatically or set below."
          },
          "sourceFileUrl": {
            "title": "CSV / TXT file URL",
            "type": "string",
            "description": "Public URL of a .csv or .txt file, e.g. a Google Sheets 'Publish to web' CSV link or an Apify key-value store record URL."
          },
          "datasetId": {
            "title": "Apify dataset ID",
            "type": "string",
            "description": "Check emails from another Actor's dataset (contact / lead / Google Maps scrapers). The email field is auto-detected; list fields like `emails: [...]` are expanded."
          },
          "emailColumn": {
            "title": "Email column / field name",
            "type": "string",
            "description": "CSV column or dataset field holding the email. Empty = auto-detect (email, e-mail, mail, emails...)."
          },
          "keepFields": {
            "title": "Copy these columns to the output",
            "type": "array",
            "description": "CSV columns or dataset fields copied into each result under `record` (e.g. `id`, `name`, `company`) so you can join results back to your CRM.",
            "items": {
              "type": "string"
            }
          },
          "dedupe": {
            "title": "Remove duplicates",
            "type": "boolean",
            "description": "Keep only the first occurrence of each address (case-insensitive, after normalization). Duplicates are not charged.",
            "default": true
          },
          "outputFilter": {
            "title": "Output",
            "enum": [
              "all",
              "valid-format",
              "not-invalid",
              "risky",
              "invalid"
            ],
            "type": "string",
            "description": "Save all emails or only one status. Hidden emails are not charged.",
            "default": "all"
          },
          "checkDns": {
            "title": "Check domain DNS (MX, null MX, A/AAAA fallback)",
            "type": "boolean",
            "description": "Look up MX records for every unique domain (cached, one lookup per domain). Turn off for a syntax/disposable/typo-only check.",
            "default": true
          },
          "checkMxHost": {
            "title": "Verify MX hostnames resolve",
            "type": "boolean",
            "description": "Also check that the MX hosts themselves have an IP address (catches parked domains with dead MX records). One extra lookup per domain.",
            "default": true
          },
          "refreshDisposableList": {
            "title": "Download the latest disposable-domain list",
            "type": "boolean",
            "description": "Fetch the newest list from the open-source disposable-email-domains project (CC0) at run start. Off = use the snapshot bundled with the Actor (9,000+ domains).",
            "default": false
          },
          "extraDisposableDomains": {
            "title": "Extra domains to treat as disposable",
            "type": "array",
            "description": "Your own blocklist, e.g. competitors or known spam domains. Subdomains match too.",
            "items": {
              "type": "string"
            }
          },
          "dnsServers": {
            "title": "DNS resolvers",
            "type": "array",
            "description": "IP addresses of DNS resolvers to use (rotated). Default: Cloudflare, Google and Quad9 public resolvers. Empty list = the container's system resolver.",
            "items": {
              "type": "string"
            }
          },
          "dnsTimeoutSecs": {
            "title": "DNS timeout per query (seconds)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Per-server timeout. Domains that still time out are marked `risky` with `DNS_TIMEOUT`, not invalid.",
            "default": 3
          },
          "dnsConcurrency": {
            "title": "Parallel domain lookups",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many domains are resolved at the same time.",
            "default": 50
          },
          "maxEmails": {
            "title": "Max emails",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many input values (0 = no limit). Useful to test a big file cheaply.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}