{"uid":"cap_XI0cHLL0w8ES7HsLKljUD","slug":"dkim-selector-hs2-public-key-lookup-7877e93f","name":"DKIM Selector hs2 Public Key Lookup","description":"DKIM public key for selector \"hs2\" of a domain: looks up hs2._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 hs2 selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/hs2?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_z0DfMqQuOVaXYLv1hfblA","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 'hs2' selector of a given domain via Cloudflare DoH, returning key type, length, testing flag, and revocation status.","exampleAgentPrompt":"Can you check if the DKIM hs2 selector is properly configured for example.com — I need to know the key type, key length, and whether it's been revoked?","exampleUseCases":[{"title":"Pre-send DKIM health check","prompt":"Before we start our email campaign, can you verify that the hs2 DKIM selector is active and not revoked for ourdomain.com, and tell me the key length?"},{"title":"Email deliverability audit","prompt":"I'm troubleshooting bounce issues — can you look up the hs2 DKIM key for acme.io and tell me if it's valid, what key type it uses, and whether testing mode is enabled?"},{"title":"Security rotation verification","prompt":"We just rotated our DKIM keys — can you confirm that the hs2 selector for mybrand.com now has a new non-empty public key and is no longer revoked?"}],"resultDescription":"Returns the parsed DKIM TXT record for hs2._domainkey.<domain>, including the protocol version (v=), key type (k=), public key length in bits, whether the key is in testing mode, and whether the key is revoked (empty p= field). Also confirms whether mail signed with the hs2 selector can be expected to verify successfully.","failureModes":["Domain has no hs2._domainkey TXT record — returns not found or empty result","DKIM key is revoked (empty p=) — flagged in response but not an API error","DNS resolution failure via Cloudflare DoH — may return timeout or upstream error","Malformed TXT record that cannot be parsed into standard DKIM fields","Invalid or unresolvable domain name supplied as input"],"whenToPreferThis":"Choose this endpoint when you specifically need to inspect the 'hs2' DKIM selector for a domain — for example when auditing email authentication configuration, verifying key rotation, or diagnosing deliverability issues tied to the hs2 selector. Prefer it over generic DNS TXT lookups because it pre-parses DKIM-specific fields (key type, length, revocation status, testing flag) rather than returning raw TXT data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:20.567Z","isFirstParty":false,"canonicalSlug":"dkim-selector-hs2-public-key-lookup-7877e93f"}