{"uid":"cap_j22Oz7Wb16EgLEU2nlKor","slug":"dkim-public-key-record-parser-152df21c","name":"DKIM Public-Key Record Parser","description":"Parse a DKIM public-key DNS TXT record (\"v=DKIM1; k=rsa; p=…\") into its key type, public key, hash algorithms, service types and flags. An empty `p` is reported as a revoked key. A missing `p` tag is a clean 400.","url":"https://emailauth.openverbs.com/v1/dkim-parse","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["record"],"properties":{"record":{"type":"string","description":"DKIM key TXT record, e.g. \"v=DKIM1; k=rsa; p=MIGfMA0GCSq...\"."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YRsY5lG1mvxK96uX5ySFv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a DKIM DNS TXT record string into structured fields: key type, public key, hash algorithms, service types, and flags — and detects revoked or malformed records.","exampleAgentPrompt":"Parse this DKIM TXT record and tell me the key type, public key, hash algorithms, and whether it's revoked: \"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC...\"","exampleUseCases":[{"title":"Email deliverability audit","prompt":"I'm auditing our domain's email setup — can you parse this DKIM TXT record and tell me the key type, hash algorithms, and service types? The record is: \"v=DKIM1; k=rsa; h=sha256; p=MIGfMA0GCSqGSIb3DQEB...\""},{"title":"Detecting revoked DKIM keys","prompt":"We had a security incident and I want to check whether the DKIM key on this record has been revoked — can you parse \"v=DKIM1; k=rsa; p=\" and tell me the status?"},{"title":"DKIM record onboarding validation","prompt":"Before we go live with a new mail sender, can you parse this DKIM record and extract all the structured fields so we can verify everything looks right? The record is \"v=DKIM1; k=ed25519; p=11qYAYKxCrfVS/7TyWQHOg==\""}],"resultDescription":"Returns a structured breakdown of the DKIM TXT record including key type (e.g. rsa, ed25519), the base64-encoded public key, supported hash algorithms, service types, and flags. An empty 'p' value is flagged as a revoked key; a missing 'p' tag returns a 400 error indicating a malformed record.","failureModes":["Missing 'p' tag in the record returns a 400 Bad Request","Completely malformed or non-DKIM record string may return a 400 error","Empty 'p' tag is valid input but signals revocation, not an error","Unsupported or unknown key type tags may be returned as-is or flagged","Whitespace/formatting issues in the raw TXT record may cause parse failures"],"whenToPreferThis":"Use this endpoint when you need to programmatically dissect a raw DKIM TXT record string into its component fields without having to implement DKIM RFC parsing yourself. It is ideal for email deliverability audits, security tooling that checks for revoked keys, or onboarding workflows that validate DKIM configuration before go-live. Prefer this over generic DNS lookup tools when you already have the raw TXT record value and need structured field extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:40.058Z","isFirstParty":false}