# DNS TXT Record Lookup for _atproto (AT Protocol)

> DNS TXT Record Lookup for _atproto (AT Protocol) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.009/call, status unknown (last checked 2026-09-29).

Performs a live DNS TXT record lookup at the _atproto subdomain of a given hostname, returning the records used for AT Protocol DID verification.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-txt-atproto?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-txt-record-lookup-for-atproto-at-protocol-f9f96288
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1t0HIryEaLfi-OMU_ziI8

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 dns-txt-record-lookup-for-atproto-at-protocol-f9f96288 -d '<json body>'
```

Example prompt: Can you look up the _atproto TXT DNS record for example.com to see what AT Protocol DID it resolves to?

## When to prefer this

Use this endpoint when an agent needs to programmatically resolve the AT Protocol DID for a given domain via DNS TXT lookup (the _atproto handle verification mechanism used by Bluesky). Prefer the free sandbox endpoint POST /v1/sandbox/dns-txt-atproto for testing or when no real DNS resolution is needed. Choose this paid endpoint for production live DNS queries against real hostnames.

## Known failure modes

- Hostname does not exist in DNS — returns records: []
- No _atproto TXT record configured for the hostname — returns records: []
- Malformed hostname input — validation error
- DNS lookup timeout or upstream resolver failure
- Empty result billed at full $0.009 USDC regardless

## How this service works

Call when an agent needs TXT at _atproto. An empty answer is records: [] and is billed. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/dns-txt-atproto first.

## Output

Returns an object containing a 'records' array of strings found in the DNS TXT record at the _atproto subdomain of the given hostname. An empty array (records: []) is returned when no such record exists; this result is still billed.

## 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/dns-txt-record-lookup-for-atproto-at-protocol-f9f96288/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)
