# DKIM Selector1 Public Key Lookup

> DKIM Selector1 Public Key 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 record for the 'selector1' selector of a given domain, reporting key type, length, testing flag, and revocation status.

## Facts

- Endpoint: GET https://dns.intel.rallylive.ca/dns/dkim/selector1?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-selector1-public-key-lookup-a64fcecc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HSzJYWBxlAvYqx5N-ktYg

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-selector1-public-key-lookup-a64fcecc
```

Example prompt: Can you check the DKIM selector1 record for example.com — I want to know if the key exists, what type it is, how long it is, and whether it's been revoked?

## When to prefer this

Use this endpoint when you specifically need to inspect the DKIM 'selector1' selector (common on Microsoft 365 / Exchange Online domains) rather than a generic or custom selector. It is purpose-built for selector1 and returns structured parsed metadata (key length, revocation, testing mode) rather than a raw DNS response, making it ideal for email security audits, deliverability diagnostics, and automated compliance checks. Prefer a generic DKIM or DNS TXT lookup if the domain uses a different selector name.

## Known failure modes

- Domain does not have a selector1._domainkey TXT record — returns not found or NXDOMAIN
- Key is revoked (p= is empty) — returned as a parsed finding, not an error
- Cloudflare DoH is unreachable — service returns upstream error
- Invalid or malformed domain input — request rejected
- Payment not provided or insufficient — 402 Payment Required response

## How this service works

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

## Output

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