{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Email Verifier - MX, SPF, DMARC & Disposable",
    "description": "Clean a bulk email list without sending anything. One row per address: MX records and mailbox provider, SPF and DMARC policy, disposable-domain and role-address flags, typo correction, and a 0-100 deliverability score. No SMTP probe, no sender reputation risk.",
    "version": "0.1",
    "x-build-id": "NoDRl9ewesqwfz02Z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/thedeadpoet~bulk-email-verifier-mx-spf-dmarc-disposable-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-thedeadpoet-bulk-email-verifier-mx-spf-dmarc-disposable-check",
        "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/thedeadpoet~bulk-email-verifier-mx-spf-dmarc-disposable-check/runs": {
      "post": {
        "operationId": "runs-sync-thedeadpoet-bulk-email-verifier-mx-spf-dmarc-disposable-check",
        "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/thedeadpoet~bulk-email-verifier-mx-spf-dmarc-disposable-check/run-sync": {
      "post": {
        "operationId": "run-sync-thedeadpoet-bulk-email-verifier-mx-spf-dmarc-disposable-check",
        "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",
            "maxItems": 10000,
            "uniqueItems": false,
            "type": "array",
            "description": "One address per line. Surrounding angle brackets and a leading \"mailto:\" are stripped automatically.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "domains": {
            "title": "Domains only (no address)",
            "maxItems": 10000,
            "type": "array",
            "description": "Optional. Check a bare domain's mail setup without a specific mailbox - MX, SPF, DMARC and provider. The output row has email = null and domain set.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "checkSpfDmarc": {
            "title": "Check SPF, DMARC and MTA-STS",
            "type": "boolean",
            "description": "Adds three more DNS lookups per unique domain and fills spfRecord, spfPolicy, dmarcRecord, dmarcPolicy and hasMtaSts. Turn off for the fastest possible MX-only pass.",
            "default": true
          },
          "treatDisposableAsInvalid": {
            "title": "Disposable domains count as invalid",
            "type": "boolean",
            "description": "On: a mailinator.com or temp-mail.org address gets status \"invalid\". Off: it gets \"risky\" and you decide.",
            "default": true
          },
          "treatRoleAddressAsRisky": {
            "title": "Role addresses count as risky",
            "type": "boolean",
            "description": "On: info@, sales@, support@ and similar shared inboxes get status \"risky\". Off: they are scored down but still counted as accepts_mail.",
            "default": true
          },
          "deduplicate": {
            "title": "Remove duplicates before checking",
            "type": "boolean",
            "description": "Case-insensitive. Duplicates in a pasted list are the most common cause of an inflated bill.",
            "default": true
          },
          "onlyStatuses": {
            "title": "Only output these statuses",
            "type": "array",
            "description": "Leave empty to keep every row. Pick a subset to get, for example, only the addresses worth mailing.",
            "items": {
              "type": "string",
              "enum": [
                "accepts_mail",
                "risky",
                "invalid",
                "unknown"
              ],
              "enumTitles": [
                "accepts_mail - domain can receive mail",
                "risky - disposable, role, typo or no MX",
                "invalid - syntax or domain failure",
                "unknown - DNS did not answer"
              ]
            },
            "default": []
          },
          "concurrency": {
            "title": "Parallel DNS lookups",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many DNS queries run at once. 10 is polite and fast enough for tens of thousands of addresses because results are cached per domain.",
            "default": 10
          },
          "dnsTimeoutSeconds": {
            "title": "DNS timeout",
            "minimum": 1,
            "maximum": 30,
            "type": "number",
            "description": "Per-query timeout. A query that times out produces status \"unknown\", never a false \"invalid\".",
            "default": 5
          },
          "dnsResolvers": {
            "title": "DNS resolvers",
            "type": "array",
            "description": "Resolver IPs to query. Defaults to Cloudflare, Google and Quad9. Use the single entry \"system\" to use the container's own resolver instead.",
            "default": [
              "1.1.1.1",
              "8.8.8.8",
              "9.9.9.9"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}