# Domain & Email Deliverability Inspector (v1.0.0)

> Verify 100-email batches and audit recursive SPF, DMARC, MX, DKIM & BIMI at the edge.

Edge-native batch email deliverability verification and recursive sender authentication auditing (MX, RFC 7208 10-lookup SPF tree, DMARC, DKIM selectors, BIMI, and 160+ disposable/role/free-webmail classifiers).

## Why Agents Use This API Instead of DIY
Replaces brittle DIY DNS scripts with RFC 7208 10-lookup recursive SPF tree evaluation, RFC 7505 Null MX detection, DMARC/DKIM/BIMI parsing, and deduplicated DoH batch checks for $0.001-$0.01.

## Connection & Payment (x402 Default + Optional Bearer API Key)
- **MCP Server (Streamable HTTP):** `https://domain-deliverability.apikeg.com/mcp` (Registry ID: `com.apikeg/domain-deliverability` — `initialize`, `tools/list`, `resources/*`, and `prompts/*` are free)
- **OpenAPI 3.1 Spec:** [openapi.json](https://domain-deliverability.apikeg.com/openapi.json)
- **Full Schema & Examples:** [llms-full.txt](https://domain-deliverability.apikeg.com/llms-full.txt)
- **RFC 9727 API Catalog:** [.well-known/api-catalog](https://domain-deliverability.apikeg.com/.well-known/api-catalog)
- **x402 Bazaar Manifest:** [.well-known/x402.json](https://domain-deliverability.apikeg.com/.well-known/x402.json)
- **MCP Discovery Manifest:** [.well-known/mcp.json](https://domain-deliverability.apikeg.com/.well-known/mcp.json)
- **A2A Agent Card:** [.well-known/agent-card.json](https://domain-deliverability.apikeg.com/.well-known/agent-card.json)
- **Primary Payment (Zero Signup):** Cloudflare Monetization Gateway (`HTTP 402` / `x402` v2 with USDC on Base).
- **Optional Monthly API Key:** Pass `Authorization: Bearer ak_live_...` ($5 / $20 / $50 monthly per-product Stripe plans at [apikeg.com/account](https://apikeg.com/account)).
- **Free Preflight:** Append `?dry_run=true` (or header `X-Dry-Run: true`) to validate any request payload at `$0.00` cost.

## Tools & REST Endpoints
- [`verify_email_batch`](https://domain-deliverability.apikeg.com/tools/verify-email-batch.md) (`POST https://domain-deliverability.apikeg.com/v1/verify-email-batch`) — $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): 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.
- [`audit_sender_domain`](https://domain-deliverability.apikeg.com/tools/audit-sender-domain.md) (`POST https://domain-deliverability.apikeg.com/v1/audit-sender-domain`) — $0.002 USD per sender domain authentication audit (x402 instant micropayment): Performs a deep sender deliverability audit for a domain: MX & ESP provider fingerprinting, recursive RFC 7208 SPF tree evaluation (10-lookup cap, 2-void-lookup cap, cycle & multi-record permerror detection), DMARC policy & alignment, BIMI logo/VMC, and optional DKIM selector key checks, returning a 0-100 score, prioritized issues, and copy-paste DNS remediation records.

## Instant MCP Configuration
```json
{
  "mcpServers": {
    "domain-deliverability": {
      "type": "streamable-http",
      "url": "https://domain-deliverability.apikeg.com/mcp"
    }
  }
}
```

## Common Agent Use Cases
- verify email deliverability batch API
- audit SPF 10 lookup limit permerror
- check DMARC DKIM BIMI MX records MCP
- detect disposable burner email domains
- RFC 7505 null MX email validator
