# AgentShelf DNS SRV OpenPGP Lookup

> AgentShelf DNS SRV OpenPGP Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Resolves SRV records at _openpgpkey._tcp.{hostname} for OpenPGP key discovery, given a registrable domain name

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-openpgp?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-dns-srv-openpgp-lookup-3f0cbe02
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GaJJjZZK-lADAsA-YxxhV

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-dns-srv-openpgp-lookup-3f0cbe02 -d '<json body>'
```

Example prompt: Can you look up the _openpgpkey._tcp SRV DNS records for the domain example.com so I can find where to fetch OpenPGP keys for that domain?

## When to prefer this

Use this endpoint when an agent needs to discover where to fetch OpenPGP public keys for a domain by querying its DNS SRV record at _openpgpkey._tcp. Prefer the free sandbox POST /v1/sandbox/dns-srv-openpgp endpoint for testing before committing the $0.01 USDC per call fee. Suitable for automating secure email workflows, verifying OpenPGP DNS configurations, or building email encryption tooling that requires key server discovery.

## Known failure modes

- Domain has no _openpgpkey._tcp SRV record configured — returns empty or NXDOMAIN result
- Invalid or malformed hostname input — validation error
- DNS resolution timeout or upstream DNS failure — service error
- Hostname exceeds 253 characters — schema validation error
- Payment not provided or insufficient — 402 payment required response

## How this service works

Call when an agent needs SRV records at _openpgpkey._tcp.{hostname} for OpenPGP key. The caller sends the registrable domain, not the underscored name. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-openpgp first.

## Output

Returns the SRV record data found at _openpgpkey._tcp.{hostname}, including priority, weight, port, and target fields that indicate where OpenPGP keys for the domain can be retrieved.

## 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-dns-srv-openpgp-lookup-3f0cbe02/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)
