{"uid":"cap_uZNVfW7P6bXA2ifhF4mJh","slug":"dkim-selector-sg-lookup-db4e39d2","name":"DKIM Selector 'sg' Lookup","description":"DKIM public key for selector \"sg\" of a domain: looks up sg._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 sg selector will verify. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/dkim/sg?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_QRdpCQL5tZhbrEuSUXc_x","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 'sg' selector (SendGrid) of a given domain via Cloudflare DNS-over-HTTPS, returning key type, length, testing flag, and revocation status.","exampleAgentPrompt":"Can you check if the SendGrid DKIM 'sg' selector is properly configured for example.com — I want to know the key type, key length, and whether it's revoked or in testing mode?","exampleUseCases":[{"title":"Pre-send SendGrid DKIM audit","prompt":"Before we start sending bulk email through SendGrid, can you verify that the DKIM 'sg' selector is properly set up for mybusiness.com and tell me if the key is valid and not revoked?"},{"title":"Email deliverability troubleshooting","prompt":"Our SendGrid emails from acme.com are landing in spam — can you look up the sg DKIM selector record and tell me if the key is missing, revoked, or in testing mode?"},{"title":"New domain SendGrid onboarding check","prompt":"We just finished setting up SendGrid for newsletter.io — can you confirm the sg._domainkey DKIM record is live, what key type and length it uses, and whether everything looks good for mail to verify?"}],"resultDescription":"Returns parsed DKIM record details for sg._domainkey.<domain>: the v= protocol version, k= key type (e.g. RSA), public key length in bits, whether the testing flag (t=y) is set, and whether the key is revoked (empty p= field). Confirms if mail signed with the sg selector will successfully verify.","failureModes":["Domain has no sg._domainkey TXT record — returns not found or empty result","DKIM key is revoked (p= is empty) — flagged as revoked in response","Domain does not exist or is unreachable via Cloudflare DoH","Malformed TXT record that cannot be parsed","Rate limiting or payment failure for the $0.01 per-call fee"],"whenToPreferThis":"Use this endpoint when you specifically need to validate or inspect the SendGrid ('sg') DKIM selector for a domain, as opposed to other common selectors like 'shopify' or 'fm2'. Ideal for email deliverability audits, SendGrid onboarding verification, or automated monitoring of DKIM key health for domains using SendGrid as their email provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:32.402Z","isFirstParty":false,"canonicalSlug":"dkim-selector-sg-lookup-db4e39d2"}