# DKIM Key1 Selector Lookup

> DKIM Key1 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 'key1' selector of a given domain, confirming its validity and mail-signing capability.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/dkim/key1?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-key1-selector-lookup-2cc85893
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zkZbF8e5uUc5GZj-i2Hb4

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-key1-selector-lookup-2cc85893
```

Example prompt: Can you check the DKIM key1 selector for example.com — I want to know if the public key is valid, what key type and length it uses, and whether it's revoked or in testing mode?

## When to prefer this

Use this endpoint when you specifically need to inspect the 'key1' DKIM selector for a domain and want structured, parsed output (key type, length, revocation, testing status) rather than a raw DNS TXT record. Prefer this over generic DNS lookup tools when you need DKIM-specific field parsing and a clear pass/fail signal for whether mail signed with key1 will verify.

## Known failure modes

- Domain does not exist — DNS NXDOMAIN response, no record returned
- key1._domainkey.<domain> TXT record not found — selector not configured
- Malformed DKIM TXT record — parsing may fail or return partial data
- Revoked key detected (empty p=) — reported as revoked, mail will not verify
- Network or DoH resolver error — upstream Cloudflare DoH unavailable
- Payment failure — x402 payment not processed, request rejected

## How this service works

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

## Output

Returns parsed details from the key1._domainkey.<domain> DNS TXT record, including the DKIM version tag (v=), key type (k=, e.g. rsa or ed25519), public key bit length, whether the testing flag is set, and whether the key is revoked (empty p= field). Also confirms whether mail signed with the key1 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-key1-selector-lookup-2cc85893/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)
