# Public Data API – Domain Mail Security (x402)

> Public Data API – Domain Mail Security (x402) is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Looks up mail security DNS records (SPF, DKIM, DMARC, MX, TLS) for one or more domains, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/domains/mail-security?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-data-api-domain-mail-security-x402-f12e40a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dz7Xflv5TmsOWBvaky5zz

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 public-data-api-domain-mail-security-x402-f12e40a0
```

Example prompt: Can you check the mail security records — SPF, DMARC, MX, and TLS — for acme.com and techcorp.io?

## When to prefer this

Choose this endpoint when you need authoritative, real-time DNS mail security records (SPF, DMARC, MX, TLS) for one or more domains without managing DNS resolution infrastructure yourself. It is especially useful for bulk checks of up to 20 domains per call at $0.01 USDC per call — suitable for due diligence workflows, deliverability audits, and phishing risk assessments. Prefer alternatives if you need deeper WHOIS registrant data or full RDAP records beyond mail security.

## Known failure modes

- Domain not found or does not exist — returns empty or error record
- No SPF/DMARC records configured — fields returned as null or absent
- Rate limit exceeded for comma-separated bulk list (max 20 domains)
- Payment not settled via x402 — 402 response before data is returned
- TLS check flag ignored or unavailable for certain providers
- DNS timeout for slow-resolving domains

## How this service works

Jobs from company ATS boards, SEC EDGAR full-text search, domain RDAP/DNS, NHTSA VIN decode + recalls, the CMS NPI Registry and MET Norway weather forecasts. Pay per call in USDC on Solana via x402. Official public sources only.

## Output

Returns DNS-sourced mail security information for each requested domain, including SPF record content, DMARC policy and tags, MX host records, DKIM selectors if detectable, and optionally TLS status — enabling assessment of email spoofing protection and deliverability configuration.

## 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",
     "properties": {
      "tls": {
       "type": "boolean"
      },
      "domains": {
       "type": "string",
       "description": "comma-separated, max 20"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-data-api-domain-mail-security-x402-f12e40a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api-x6da.onrender.com](https://www.zero.xyz/host/x402-data-api-x6da.onrender.com/llms.txt)
