{
 "aiax_version": "0.1",
 "section_id": "domaincheck_email",
 "purpose": "DomainCheck: Email address check for AI agents (signups, outreach, fraud screening): RFC syntax, disposable / role / free-provider detection, MX and null-MX, SPF/DMARC of the domain, domain age via RDAP, parking, verdict (valid | risky | undeliverable | invalid) and 0-100 score. No SMTP probing, no data stored.",
 "inputs": {
  "type": "object",
  "properties": {
   "email": {
    "type": "string",
    "description": "Email address to check, e.g. \"jane@example.com\""
   }
  },
  "required": [
   "email"
  ]
 },
 "outputs": {
  "type": "object",
  "properties": {
   "input": {
    "type": "string"
   },
   "tier": {
    "type": "string"
   },
   "syntax": {
    "type": "object",
    "properties": {
     "valid": {
      "type": "boolean"
     },
     "reason": {}
    }
   },
   "normalized": {
    "type": "string"
   },
   "canonical": {
    "type": "string"
   },
   "local": {
    "type": "string"
   },
   "domain": {
    "type": "string"
   },
   "plus_tag": {
    "type": "string"
   },
   "role": {
    "type": "boolean"
   },
   "free_provider": {
    "type": "boolean"
   },
   "disposable": {
    "type": "boolean"
   },
   "smtputf8": {
    "type": "boolean"
   },
   "verdict": {
    "type": "string"
   },
   "score": {
    "type": "integer"
   },
   "deliverability": {
    "type": "object",
    "properties": {
     "domain_exists": {
      "type": "boolean"
     },
     "accepts_mail": {
      "type": "boolean"
     },
     "mx": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "priority": {
         "type": "integer"
        },
        "host": {
         "type": "string"
        }
       }
      }
     },
     "null_mx": {
      "type": "boolean"
     },
     "mx_provider": {
      "type": "string"
     }
    }
   },
   "domain_auth": {
    "type": "object",
    "properties": {
     "spf": {
      "type": "string"
     },
     "dmarc": {
      "type": "string"
     },
     "grade": {
      "type": "string"
     }
    }
   },
   "registration": {},
   "flags": {
    "type": "array",
    "items": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "severity": {
       "type": "string"
      },
      "penalty": {
       "type": "integer"
      },
      "description": {
       "type": "string"
      }
     }
    }
   },
   "mailbox_checked": {
    "type": "boolean"
   },
   "note": {
    "type": "string"
   },
   "engine": {
    "type": "string"
   },
   "dns_queries": {
    "type": "integer"
   },
   "ms": {
    "type": "integer"
   }
  }
 },
 "pricing": {
  "model": "per_call",
  "amount": "0.001",
  "currency": "USDC",
  "rail": "x402"
 },
 "examples": [
  {
   "description": "GET /domaincheck/v1/email, paid over x402 (USDC on Base); an unpaid call answers 402 with the terms.",
   "request": {
    "method": "GET",
    "url": "https://api.youraitools.co/domaincheck/v1/email",
    "query": {
     "email": "jane.doe+news@gmail.com"
    }
   },
   "response": {
    "input": "jane.doe+news@gmail.com",
    "tier": "full",
    "syntax": {
     "valid": true,
     "reason": null
    },
    "normalized": "jane.doe+news@gmail.com",
    "canonical": "janedoe@gmail.com",
    "local": "jane.doe+news",
    "domain": "gmail.com",
    "plus_tag": "news",
    "role": false,
    "free_provider": true,
    "disposable": false,
    "smtputf8": false,
    "verdict": "valid",
    "score": 95,
    "deliverability": {
     "domain_exists": true,
     "accepts_mail": true,
     "mx": [
      {
       "priority": 5,
       "host": "gmail-smtp-in.l.google.com"
      },
      {
       "priority": 10,
       "host": "alt1.gmail-smtp-in.l.google.com"
      },
      {
       "priority": 20,
       "host": "alt2.gmail-smtp-in.l.google.com"
      },
      {
       "priority": 30,
       "host": "alt3.gmail-smtp-in.l.google.com"
      },
      {
       "priority": 40,
       "host": "alt4.gmail-smtp-in.l.google.com"
      }
     ],
     "null_mx": false,
     "mx_provider": "Google Workspace / Gmail"
    },
    "domain_auth": {
     "spf": "redirect",
     "dmarc": "none",
     "grade": "D"
    },
    "registration": null,
    "flags": [
     {
      "id": "free_email_provider",
      "severity": "info",
      "penalty": 0,
      "description": "Free webmail provider (gmail.com, outlook.com ...)."
     },
     {
      "id": "dmarc_none",
      "severity": "low",
      "penalty": 5,
      "description": "DMARC policy is p=none (monitoring only, no enforcement)."
     }
    ],
    "mailbox_checked": false,
    "note": "Mailbox existence is not probed (no SMTP RCPT check). \"valid\" means the address is well-formed, the domain accepts mail and nothing looks risky.",
    "engine": "domaincheck-2026.10.21",
    "dns_queries": 6,
    "ms": 40
   }
  }
 ],
 "pact_mandate_template": null,
 "extensions": {
  "youraitools": {
   "endpoint": "https://api.youraitools.co/domaincheck/v1/email",
   "network": "eip155:8453",
   "x402_versions": [
    2,
    1
   ],
   "mcp": "https://api.youraitools.co/domaincheck/mcp",
   "openapi": "https://api.youraitools.co/domaincheck/openapi.json"
  }
 }
}
