# DKIM Gmail Selector Lookup

> DKIM Gmail Selector Lookup 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-20).

Looks up and parses the DKIM public key for the 'gmail' selector (gmail._domainkey.<domain>) of a given domain, reporting key type, length, testing flag, and revocation status.

## Facts

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

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-gmail-selector-lookup-b1948ad6
```

Example prompt: Can you check whether example.com has a valid Gmail DKIM selector configured — specifically look up gmail._domainkey.example.com and tell me the key type, length, whether it's revoked, and if it's in testing mode?

## When to prefer this

Use this endpoint when you specifically need to audit or validate the Gmail DKIM selector (gmail._domainkey) for a domain — not generic DKIM selectors. It is ideal for email deliverability checks, security audits of Gmail-routed mail, or confirming that Gmail DKIM signing is correctly configured before sending campaigns. Prefer this over generic DNS TXT lookups when you need structured DKIM field parsing (key type, length, revocation, testing flag) rather than a raw TXT string.

## Known failure modes

- Domain does not exist or has no DNS records — returns NXDOMAIN or empty result
- No gmail._domainkey TXT record found for the domain — selector not configured
- Malformed DKIM TXT record that cannot be parsed — returns parse error
- Cloudflare DoH service unavailable — upstream DNS resolution failure
- Rate limiting or payment failure — HTTP 402 if USDC payment not provided

## How this service works

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

## Output

Returns parsed details from the gmail._domainkey.<domain> DNS TXT record including: the DKIM version tag (v=), key type (k=, e.g. rsa), public key length in bits, whether the key is revoked (empty p= field), and whether the testing flag is set. Also confirms whether mail signed with the gmail selector will successfully verify.

## 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-gmail-selector-lookup-b1948ad6/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)
