# AllTheBot Email Domain Check

> AllTheBot Email Domain Check is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Checks an email domain's DNS records (MX, SPF, DMARC) to determine email deliverability and configuration issues

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/domain/email?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-email-domain-check-0381f572
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yEpwhCuEBCWPnLJKH10zy

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability allthebot-email-domain-check-0381f572
```

Example prompt: Can you check the email domain configuration for zkrobotics.fr — I want to know if it has MX records, whether SPF and DMARC are set up correctly, and if it actually accepts email?

## When to prefer this

Choose this endpoint when you need a lightweight, no-account, pay-per-call DNS-based check of an email domain's MX, SPF, and DMARC configuration without initiating any SMTP connection. Ideal for lead validation, pre-send deliverability checks, or email security audits in agent workflows. Prefer this over full email verification services when you only need DNS-layer signals (not inbox-level deliverability) and want to pay per call without API key management.

## Known failure modes

- Missing required 'domain' query parameter returns an error
- Domain string exceeding 253 characters is rejected by schema validation
- Non-existent domain may return empty MX/SPF/DMARC records with accepts_email false
- DNS resolution timeouts from Cloudflare may cause delayed or failed responses
- Malformed domain names (invalid TLD, illegal characters) may return errors or empty results

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

Returns a JSON object containing: MX records (host, priority, TTL), SPF record details (record string, mechanism count, all-policy), DMARC record details (policy, subdomain policy, reporting address, coverage percentage), a boolean indicating whether the domain accepts email, a list of identified configuration issues (e.g. 'no DMARC record'), and a note on the data source (Cloudflare public DNS-over-HTTPS, no SMTP connection made).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "maxLength": 253
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mx": [
   {
    "ttl": 300,
    "host": "route2.mx.cloudflare.net",
    "priority": 47
   },
   {
    "ttl": 300,
    "host": "route1.mx.cloudflare.net",
    "priority": 56
   }
  ],
  "spf": {
   "all": "softfail",
   "count": 1,
   "record": "v=spf1 include:_spf.mx.cloudflare.net ~all"
  },
  "dmarc": {
   "pct": null,
   "count": 0,
   "policy": null,
   "record": null,
   "reports_to": null,
   "subdomain_policy": null
  },
  "domain": "zkrobotics.fr",
  "issues": [
   "no DMARC record"
  ],
  "source": "Cloudflare public DNS-over-HTTPS; no SMTP connection is ever made",
  "accepts_email": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-email-domain-check-0381f572/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
