{"uid":"cap_7Du3NhnQ8Ed0GbI_Ax2NA","slug":"delx-dmarc-policy-parse-191d6372","name":"Delx DMARC Policy Parse","description":"Parse DMARC p= and rua= fields from a TXT record. Call when extracting DMARC policy from a caller-supplied record. Returns policy and rua as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/dmarc-policy-parse","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dmarc":{"type":"string","description":"DMARC TXT record body"}}},"responseSchema":{"type":"json","example":{"rua":"mailto:d@example.com","policy":"reject","schema":"delx/util-dmarc-policy-parse/v1"}},"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_0bc9og6F_-a_4WmMjZWx8","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 a raw DMARC TXT record string and extracts structured fields such as policy, reporting URI, and schema version.","exampleAgentPrompt":"Parse this DMARC record for me and tell me what the policy is and where reports go: 'v=DMARC1; p=reject; rua=mailto:d@example.com; sp=none; adkim=r;'","exampleUseCases":[{"title":"Audit domain email security posture","prompt":"I have this DMARC TXT record from our DNS: 'v=DMARC1; p=quarantine; rua=mailto:reports@mycompany.com; pct=100;' — can you parse it and tell me the policy, reporting address, and any other settings?"},{"title":"Validate DMARC before DNS deployment","prompt":"Before I push this DMARC record to DNS, parse it and confirm the policy is set to reject and the rua address is correct: 'v=DMARC1; p=reject; rua=mailto:dmarc@mydomain.com;'"},{"title":"Extract policy from customer domain record","prompt":"I looked up the DMARC record for a customer's domain and got this string: 'v=DMARC1; p=none; rua=mailto:postmaster@client.com; fo=1;' — break it down so I can see their current policy and reporting setup."}],"resultDescription":"A JSON object containing the parsed DMARC fields extracted from the raw record, including the policy value (e.g. reject, quarantine, none), the aggregate reporting URI (rua), and a schema identifier string.","failureModes":["Missing or malformed DMARC record body results in parse error or empty output","Input that is not a valid DMARC TXT record (e.g. SPF or DKIM record) may return incorrect or null fields","Truncated record strings may result in partial parsing with missing fields","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract structured fields from a raw DMARC TXT record string without writing a custom parser. Ideal for email security audits, DNS configuration validation pipelines, or agent workflows that need to inspect or compare DMARC policies across many domains. Prefer this over manual regex parsing for reliability and consistency in structured output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:09:38.681Z","isFirstParty":false}