{"uid":"cap_KfU7ENW6w7F-MbrFm22Mm","slug":"dkim-selector-k2-lookup-04aa1a01","name":"DKIM Selector k2 Lookup","description":"DKIM public key for selector \"k2\" of a domain: looks up k2._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 k2 selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/k2?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_KQ6aa2pI1wVv2TipqxTCB","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 'k2' selector of a given domain via Cloudflare DNS-over-HTTPS, returning key metadata including type, length, testing flag, and revocation status.","exampleAgentPrompt":"Can you check the DKIM k2 selector for example.com and tell me if the key is valid, what type and length it is, and whether it's in testing mode or revoked?","exampleUseCases":[{"title":"Email deliverability audit","prompt":"I'm setting up email for acme.com and need to confirm that the DKIM k2 selector is properly published — can you look it up and tell me the key type, length, and whether it's active or revoked?"},{"title":"Detect revoked DKIM key","prompt":"We recently rotated our DKIM keys for mailchimp.com — can you check the k2 selector and confirm whether the old key has been properly revoked (empty p= field)?"},{"title":"Debug email signing failure","prompt":"Emails signed with our k2 selector are failing verification for newsletter.io — can you pull the k2._domainkey DNS record and tell me what's in it, including the key type and any testing flags?"}],"resultDescription":"Returns parsed DKIM TXT record fields for k2._domainkey.<domain>: version tag (v=), key type (k=), public key (p=), public key length in bits, whether the record is in testing mode, and whether the key is revoked (empty p=). Also confirms whether mail signed with the k2 selector will successfully verify.","failureModes":["Domain has no k2 DKIM selector published — returns empty or NXDOMAIN response","DNS lookup fails due to network/DoH availability issue","Malformed TXT record that cannot be parsed into DKIM fields","Domain does not exist or is invalid input","Rate limiting or payment failure for the $0.01 per call fee"],"whenToPreferThis":"Use this endpoint when you specifically need to inspect the 'k2' DKIM selector for a domain — for example during email deliverability audits, key rotation verification, or diagnosing DKIM authentication failures for mail signed with that selector. Prefer this over generic DNS TXT lookups when you want structured DKIM field parsing (key type, length, revocation status) rather than raw record text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:08.710Z","isFirstParty":false,"canonicalSlug":"dkim-selector-k2-lookup-04aa1a01"}