{"uid":"cap_Q1csVhcl921yjGVzEw76z","slug":"dkim-selector-smtpapi-lookup-a02266db","name":"DKIM Selector 'smtpapi' Lookup","description":"DKIM public key for selector \"smtpapi\" of a domain: looks up smtpapi._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 smtpapi selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/smtpapi?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_8ebQOe-qeUpuh6DKXqTzr","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 'smtpapi' selector of a given domain, returning key type, length, testing flag, and revocation status.","exampleAgentPrompt":"Can you check whether the DKIM smtpapi selector is properly configured and not revoked for the domain example.com?","exampleUseCases":[{"title":"SendGrid DKIM Setup Verification","prompt":"We just configured SendGrid for transactional email on acme.com — can you check whether the smtpapi DKIM selector is correctly published and the key isn't revoked?"},{"title":"Email Deliverability Audit","prompt":"I'm troubleshooting email deliverability for newsletter.io — can you look up the smtpapi DKIM selector and tell me the key type, length, and whether it's in testing mode?"},{"title":"Pre-Send DKIM Health Check","prompt":"Before we send our next email campaign from mailservice.net, verify that the smtpapi DKIM key is active, valid, and will pass DKIM signature verification."}],"resultDescription":"Returns parsed details from the smtpapi._domainkey.<domain> TXT record including: DKIM version (v=), key type (k=), RSA/EC public key and its bit length, whether the testing flag (t=y) is set, and whether the key is revoked (empty p= field), plus a confirmation of whether mail signed with this selector will verify.","failureModes":["Domain does not have a smtpapi._domainkey TXT record — returns not-found or empty result","DNS lookup failure via Cloudflare DoH — network or resolver error","Malformed TXT record that cannot be parsed — partial result or parse error","Payment failure for $0.01 USDC — request blocked before lookup","Key is revoked (empty p=) — returns revoked status rather than key details"],"whenToPreferThis":"Use this endpoint when you specifically need to validate the 'smtpapi' DKIM selector, which is the selector used by SendGrid/Twilio SendGrid for transactional email signing. Prefer this over generic DNS TXT lookups when you want structured parsing of DKIM fields (v=, k=, key length, testing flag, revocation) rather than raw record text. Choose this when auditing SendGrid-based email infrastructure or troubleshooting DKIM failures for domains using the smtpapi selector.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:39.222Z","isFirstParty":false,"canonicalSlug":"dkim-selector-smtpapi-lookup-a02266db"}