$ man dmarc-check
/dmarc-check(1)
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
utilities
STATUS
● live
NAME
dmarc-check — dmarc / spf / dkim checker
SYNOPSIS
POST https://x402.org/v1/dmarc-check
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
DMARC / SPF / DKIM checker. Email-authentication audit — pulls TXT records, parses DMARC policy (none/quarantine/reject), SPF mechanisms, DKIM selectors. Returns 0-100 score + grade A-F + reasons.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| domain | string | Apex domain to audit (e.g. 'google.com'). Resolves SPF/DMARC TXT at the domain and at _dmarc.<domain>. | required |
| dkim_selectors | array | Optional list of DKIM selectors (e.g. ['google','default']). Default: 15 common selectors. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| domain | string | Domain that was audited, echoed back from the request. |
| score | number | Numeric email-auth health score from 0 to 100 based on SPF, DKIM, and DMARC posture. |
| grade | string | Letter grade A through F mapped from the numeric score. |
| reasons | array | Array of strings explaining what hurt or helped the score (missing DMARC, weak policy, no DKIM, etc.). |
| spf | object | Parsed SPF record: presence, raw TXT, mechanisms (include/ip4/all), and qualifier on the all directive. |
| dmarc | object | Parsed DMARC record: presence, policy (none/quarantine/reject), pct, subdomain policy, and rua/ruf tags. |
| dkim | object | DKIM lookup result: selectors probed, which returned valid public keys, and key algorithm/length where found. |
| source | string | Resolver or upstream used to fetch the TXT records (e.g. cloudflare-dns, google-dns). |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/dmarc-check \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the dmarc-check tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- dmarcspfdkimemail-authdeliverabilitysecurity
- methods
- POST
- cluster
- webprobe
- price
- $0.02 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| archive-snapshot | Wayback Machine API / archive.org wrapper. | $0.02 |
| dns-lookup | DNS lookup / DNS resolver / DoH proxy. | $0.02 |
| expand-url | URL expander / redirect chain tracer / link-shortener resolver. | $0.02 |
| password-strength | Password strength meter + breach checker. | $0.02 |
| whois | Domain WHOIS / RDAP lookup. | $0.02 |
| whois-lookup | WHOIS / RDAP domain lookup. | $0.02 |
| arxiv-search | arXiv full-text search. | $0.03 |
| ssl-cert | SSL certificate inspector / TLS cert checker / certificate transparency lookup / ssl expiry. | $0.03 |
SEE ALSO