Docs

Mail Security

Paid x402 API for AI agents that checks MX records, SPF, DMARC, email security, phishing risk, domain mail configuration and anti-spoofing posture for a public domain.

Agent discoveryUse OpenAPI and the x402 catalog before calling paid endpoints.
openapi.jsonx402 catalogllms-full.txt

Call

Method
POST
URL
https://api.x402dataapi.com/v1/mail-security
Price
0.001 USDC
Network
eip155:8453
TTL
3600s
Timeout
15000ms

Agent value

This endpoint returns structured JSON suitable for autonomous agents, scanners and workflow tools.

x402ai-agentsmail-securityemail-securitymx

Input schema

{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "Public domain name to inspect"
    }
  },
  "required": [
    "domain"
  ]
}

Input example

{
  "domain": "example.com"
}

Output example

{
  "domain": "example.com",
  "spf": {
    "present": true
  },
  "dmarc": {
    "present": true
  },
  "mx": []
}

curl

curl -X POST https://api.x402dataapi.com/v1/mail-security \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'

Payment behavior

Paid endpoints return HTTP 402 with payment requirements when called without a valid x402 payment signature.

curl -X POST https://api.x402dataapi.com/v1/mail-security \
  -H "Content-Type: application/json" \
  -H "PAYMENT-SIGNATURE: <x402-payment-payload>" \
  -d '{"domain":"example.com"}'