# dkim-selector-sendgrid

> dkim-selector-sendgrid is a paid API for AI agents from dns.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Looks up and parses the DKIM public key for the 'sendgrid' selector of a given domain, confirming email signing validity via Cloudflare DoH.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/dkim/sendgrid?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dkim-selector-sendgrid-e09e9761
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gpMXRZsWm4gA39IjqG3xU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dkim-selector-sendgrid-e09e9761
```

Example prompt: Can you check whether example.com has a valid, non-revoked DKIM key for the sendgrid selector — I want to confirm SendGrid email signing is properly set up for that domain?

## When to prefer this

Use this endpoint when you specifically need to check the SendGrid DKIM selector for a domain, as opposed to other selectors (e.g. namecheap, google). It is ideal for verifying SendGrid email deliverability configuration, auditing domain DNS before launching campaigns, or diagnosing DKIM-related email authentication failures for domains using SendGrid as their email service provider.

## Known failure modes

- Domain not found or does not exist — DNS NXDOMAIN response
- No sendgrid._domainkey TXT record present for the domain — record missing
- Empty p= field indicating a revoked/disabled DKIM key
- Malformed TXT record that cannot be parsed as a valid DKIM record
- DNS resolution failure via Cloudflare DoH — upstream timeout or error
- Payment not completed — x402 payment required before result is returned

## How this service works

DKIM public key for selector "sendgrid" of a domain: looks up sendgrid._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 sendgrid selector will verify. $0.01 per lookup.

## Output

Returns parsed details of the sendgrid._domainkey.<domain> TXT record including: DKIM version (v=), key type (k=), public key, public-key bit length, whether the testing flag is set, and whether the key is revoked (empty p= field). Confirms overall whether email signed with the sendgrid selector will verify correctly.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dkim-selector-sendgrid-e09e9761/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dns.intel.rallylive.ca](https://www.zero.xyz/host/dns.intel.rallylive.ca/llms.txt)
