{"uid":"cap_oChPUxYJ9Y1AjGx-AIHJ6","slug":"dkim-selector-key2-lookup-bf2b7d00","name":"DKIM Selector key2 Lookup","description":"DKIM public key for selector \"key2\" of a domain: looks up key2._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 key2 selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/key2?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_RrydjwZwww1pSOS9G7D5z","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 'key2' selector of a given domain via Cloudflare DNS-over-HTTPS","exampleAgentPrompt":"Can you check the DKIM key2 selector for example.com and tell me if it's valid, what key type and length it uses, and whether it's been revoked?","exampleUseCases":[{"title":"Email deliverability audit for domain","prompt":"I'm troubleshooting email deliverability for acme.com — can you look up their key2 DKIM selector and tell me if the key is properly set up, what algorithm it uses, and whether it's revoked or still active?"},{"title":"Pre-send DKIM validation check","prompt":"Before I send a campaign from sendgrid.com using the key2 selector, can you verify that the DKIM key2 record is valid and not in testing mode, and confirm mail signed with it will actually verify?"},{"title":"Security audit of DKIM configuration","prompt":"Run a DKIM check on mailchimp.com's key2 selector for me — I need to know the public key length, whether it's RSA or Ed25519, and if there are any revocation or testing flags I should be worried about."}],"resultDescription":"Returns parsed details from the key2._domainkey.<domain> TXT record including: DKIM version (v=), key type (k=, e.g. rsa or ed25519), public key content and bit length, whether the testing flag (t=y) is set, and whether the key is revoked (empty p= field). Also confirms whether mail signed with the key2 selector will successfully verify.","failureModes":["Domain does not have a key2._domainkey TXT record — returns not found or NXDOMAIN","Malformed TXT record that cannot be parsed — may return partial data or parse error","Network timeout reaching Cloudflare DoH — returns service unavailable","Empty p= field indicates key is intentionally revoked — returned as a revoked status","Domain input missing or invalid — returns validation error","Cloudflare DoH rate limiting — returns 429 or equivalent error"],"whenToPreferThis":"Choose this endpoint when you specifically need to inspect the 'key2' DKIM selector for a domain — common with services like SendGrid, Mailchimp, or custom setups that use key2 as their selector name. It provides richer parsed output (key type, length, revocation, testing flag) than a raw DNS TXT lookup, making it ideal for email deliverability audits, security reviews, or automated DKIM validation workflows. Use sibling endpoints (e.g. dkim-selector-zohomail, dkim-selector-ac) when the selector name differs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:33.190Z","isFirstParty":false,"canonicalSlug":"dkim-selector-key2-lookup-bf2b7d00"}