{"uid":"cap_fvqpkO-QbaQAgB-OzlTd7","slug":"dns-dmarc-policy-parse-9096f3c7","name":"DNS DMARC Policy Parse","description":"DNS DMARC Policy Parse: DNS DMARC Policy Parse parses DMARC policy, percentage, alignment, and report tags from bounded caller-supplied values without an external provider. Call DNS DMARC Policy Parse before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for DNS DMARC Policy Parse as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless…","url":"https://api.delx.ai/api/v1/x402/dns-dmarc-policy-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"record":{"type":"string","maxLength":8192,"description":"Record supplied to DNS DMARC Policy Parse; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"valid":true,"policy":"reject","directives":{"p":"reject","v":"DMARC1","pct":"100","aspf":"s","adkim":"s"}},"schema":"delx/util-dns-dmarc-policy-parse/v1","status":"pass","evidence":{"retained":false,"input_sha256":"dd98ece9a411e022af8695a92276433d7ad848c4659bdfe0253a850683e10306","external_calls":0},"operation":"web_reliability:dns_dmarc_policy_parse"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PLLJ_jrYJZeV00K08zx-N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and validates DMARC DNS record strings, extracting policy, percentage, alignment, and reporting tags as structured, deterministic JSON.","exampleAgentPrompt":"Can you parse this DMARC record and tell me the policy, alignment settings, and any reporting addresses: 'v=DMARC1; p=quarantine; pct=50; rua=mailto:dmarc@example.com; adkim=s; aspf=r'?","exampleUseCases":[{"title":"Validate domain email security posture","prompt":"I need to check this DMARC record before we go live — can you parse it and tell me whether the policy is set to reject, what percentage of mail it covers, and where reports get sent? Record: 'v=DMARC1; p=reject; pct=100; rua=mailto:reports@mycompany.com; ruf=mailto:forensics@mycompany.com'"},{"title":"Email deliverability audit for onboarding","prompt":"We're onboarding a new customer and I need to verify their DMARC record is properly configured — parse this record and flag any alignment issues or missing report tags: 'v=DMARC1; p=none; adkim=r; aspf=r'"},{"title":"Security review before caching DNS response","prompt":"Before I cache this DMARC DNS response, parse it and give me a structured breakdown of the policy, alignment, and reporting fields so I can confirm it looks legitimate: 'v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc-agg@vendor.com; adkim=s'"}],"resultDescription":"Returns versioned deterministic JSON containing the parsed DMARC fields (policy, percentage, alignment modes, report URIs), normalized evidence from the input record, the computed finding, and an explicit pass or advisory status indicating whether the record is well-formed and compliant.","failureModes":["Malformed or non-DMARC record string returns advisory/fail status with parsing error detail","Record exceeds 8192 character limit returns validation error","Missing required v=DMARC1 tag causes parse failure","Payment not included or insufficient USDC causes x402 payment required error","Empty record field returns error indicating no input to parse"],"whenToPreferThis":"Use this endpoint when you need deterministic, stateless, in-memory parsing of a raw DMARC TXT record string without making any external DNS lookups. Prefer it over live DNS resolver endpoints when you already have the record value and want fast, reproducible structured extraction — e.g., before caching, forwarding, or acting on a DNS response. Ideal for email security audits, onboarding flows, and agent pipelines that need to validate DMARC configuration programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:12:44.848Z","isFirstParty":false}