Docs

Mail Security API

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.

Request

Method
POST
URL
https://api.x402dataapi.com/v1/mail-security
Price
0.001 USDC

Tags

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"
}

Response Example

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

Errors

PAYMENT_REQUIREDNo valid x402 payment signature was provided.
INVALID_PAYMENTThe signature was malformed, expired, replayed or does not match the endpoint price/resource.
VALIDATION_ERRORThe JSON input does not match the documented schema.
SSRF_PRIVATE_HOSTThe target resolves to a private or blocked address.

curl without payment

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

curl with 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"}'

Intent

x402 mail security API, SPF DMARC MX API, domain email security API, anti spoofing domain API

x402ai-agentsmail-securityemail-securitymxspfdmarcphishing-riskanti-spoofingdomain-mail

x402 agent flow

  1. Read /llms.txt.
  2. Fetch /openapi.json or /.well-known/x402-catalog.json.
  3. Inspect schema, price and network.
  4. Pay with x402 and retry with PAYMENT-SIGNATURE.

Agent use case

MX, SPF and DMARC posture for a public domain.

Discovery keywords

x402 mail security API, SPF DMARC MX API, domain email security API, anti spoofing domain API