# AgentShelf DKIM k2 Selector DNS TXT Lookup

> AgentShelf DKIM k2 Selector DNS TXT Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-03).

Retrieves the DKIM TXT record published at the k2._domainkey subdomain for a given hostname

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-txt-dkim-k2?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-dkim-k2-selector-dns-txt-lookup-17b4786f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lM9uKutTipbcO_naF4kEv

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 agentshelf-dkim-k2-selector-dns-txt-lookup-17b4786f -d '<json body>'
```

Example prompt: Can you fetch the DKIM TXT record published at k2._domainkey for the domain example.com?

## When to prefer this

Use this endpoint specifically when you need the DKIM TXT record for the k2 selector (k2._domainkey.{hostname}). Choose this over sibling endpoints (k1, k3, ses, mailgun, etc.) only when the target domain uses 'k2' as its DKIM selector. If unsure which selector a domain uses, try the sandbox/unpaid variant first. Prefer this over general DNS resolvers when you need a pay-per-call, agent-friendly API with no setup.

## Known failure modes

- Hostname not found in DNS — returns empty or error if the domain does not exist
- No DKIM record at k2._domainkey — returns empty result if the selector is not configured
- Invalid hostname format — rejected if hostname exceeds 253 characters or is malformed
- Payment failure — x402 payment of $0.008 USDC must succeed before the lookup is performed
- DNS timeout or resolution error — transient failure if DNS infrastructure is unavailable

## How this service works

Call when an agent needs TXT at k2._domainkey.{hostname}. A different selector is a different DNS name. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/dns-txt-dkim-k2 first.

## Output

The DKIM TXT record value published at k2._domainkey.{hostname}, typically containing a public key and policy fields used to verify email signatures (e.g. v=DKIM1; k=rsa; p=<base64-encoded-public-key>).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hostname": {
   "type": "string",
   "examples": [
    "example.com"
   ],
   "maxLength": 253,
   "minLength": 1,
   "description": "Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshelf-dkim-k2-selector-dns-txt-lookup-17b4786f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
