# `verify_email_batch` — Verify Email Deliverability Batch

> Part of [Domain & Email Deliverability Inspector](https://domain-deliverability.apikeg.com/llms.txt) (`com.apikeg/domain-deliverability`)

Validates a batch of 1 to 100 email addresses for RFC syntax, live MX/Null-MX mail acceptance, ESP provider fingerprint, SPF/DMARC domain posture, disposable/burner domains, role accounts, and free-webmail providers with per-domain DNS deduplication.

**Why call instead of DIY:** Deduplicates DoH MX/SPF/DMARC queries across shared domains in a 100-email batch in <50ms for $0.001 + $0.0005/unique domain (capped at $0.01).

- **REST Endpoint:** `POST https://domain-deliverability.apikeg.com/v1/verify-email-batch`
- **MCP Server:** `https://domain-deliverability.apikeg.com/mcp` (tool: `verify_email_batch`)
- **Pricing:** $0.001 base (up to $0.01 max $0.001 base + $0.0005 per unique domain checked (up to 100 emails, capped at $0.01), x402 variable settlement)
- **Free Dry-Run:** `POST https://domain-deliverability.apikeg.com/v1/verify-email-batch?dry_run=true`

## Input JSON Schema
```json
{
  "type": "object",
  "properties": {
    "emails": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 320,
        "description": "Email address candidate to inspect."
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Batch of 1 to 100 email addresses to verify with per-domain DNS deduplication."
    },
    "checkSpfDmarc": {
      "type": "boolean",
      "default": true,
      "description": "Inspect SPF and DMARC posture on each unique domain in addition to MX."
    },
    "rejectDisposable": {
      "type": "boolean",
      "default": true,
      "description": "Mark disposable/burner inbox domains as undeliverable."
    },
    "rejectRoleAccounts": {
      "type": "boolean",
      "default": false,
      "description": "Mark role local-parts (e.g. admin@, billing@, support@) as non-deliverable."
    }
  },
  "required": [
    "emails"
  ],
  "additionalProperties": false
}
```

## Examples
### Mixed B2B, role, and disposable batch
```bash
curl -X POST "https://domain-deliverability.apikeg.com/v1/verify-email-batch" \
  -H "Content-Type: application/json" \
  -d '{"emails":["ada@acme.com","billing+q4@acme.com","temp@mailinator.com"],"checkSpfDmarc":true,"rejectDisposable":true,"rejectRoleAccounts":false}'
```
Expected output: Returns deliverable for ada@acme.com, risky (role_account) for billing+q4@acme.com, and undeliverable (disposable_domain) for temp@mailinator.com at $0.002 total.
