{"uid":"cap_HDdYgEuXLhQqmVChW5Qve","slug":"dkim-selector-dkim-public-key-lookup-fb64615e","name":"DKIM Selector 'dkim' Public Key Lookup","description":"DKIM public key for selector \"dkim\" of a domain: looks up dkim._domainkey.<domain> (TXT, Cloudflare DoH) and parses v=, k=, key type, public-key length, testing flag and whether the key is revoked (empty p=). Confirms that mail signed with the dkim selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/dkim?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qDdDjtZHkLc3r7LVc7878","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up and parses the DKIM public key for the 'dkim' selector of a given domain via Cloudflare DoH, returning key metadata including type, length, testing flag, and revocation status.","exampleAgentPrompt":"Can you check if the 'dkim' DKIM selector is properly configured for example.com — I want to know the key type, length, and whether it's revoked or in testing mode?","exampleUseCases":[{"title":"Email deliverability audit for new domain","prompt":"I'm setting up email for acmecorp.com — can you look up the 'dkim' DKIM selector and tell me if the public key is valid, what type and length it is, and whether it's revoked or flagged as testing?"},{"title":"Security check after key rotation","prompt":"We just rotated our DKIM keys for newsletter.io — can you verify that the dkim selector's public key is live and not revoked so we know signed mail will pass verification?"},{"title":"Diagnosing email authentication failures","prompt":"Our emails from payroll.example.org keep failing DKIM verification — can you look up the dkim selector TXT record and tell me if the key is missing, empty, or in testing mode?"}],"resultDescription":"Returns parsed DKIM TXT record fields for the 'dkim' selector, including the protocol version (v=), key type (k=, e.g. RSA or Ed25519), public key length in bits, whether the record is in testing mode (t=y), and whether the key is revoked (empty p= field). Confirms whether mail signed with this selector will successfully verify.","failureModes":["Domain has no dkim._domainkey TXT record — returns empty or not-found result","DKIM record exists but key is revoked (empty p=) — indicated in response","DNS lookup fails due to Cloudflare DoH unavailability","Malformed TXT record that cannot be parsed into DKIM fields","Domain does not exist or has no DNS records"],"whenToPreferThis":"Use this endpoint when you specifically need to inspect the 'dkim' DKIM selector for a domain. Prefer this over generic DNS TXT lookup endpoints when you want pre-parsed DKIM fields (key type, length, revocation status, testing flag) rather than raw TXT record data. Best for email deliverability audits, security checks after key rotation, or diagnosing DKIM verification failures for the standard 'dkim' selector name.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:48:15.390Z","isFirstParty":false,"canonicalSlug":"dkim-selector-dkim-public-key-lookup-fb64615e"}