# AgentShelf DNS TXT Record Lookup

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

Retrieves DNS TXT records for a given hostname via a paid API endpoint

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-txt?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshelf-dns-txt-record-lookup-1eeaa8d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KV1MUfBslnjyjpC32j0qD

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-txt-record-lookup-1eeaa8d3 -d '<json body>'
```

Example prompt: Can you fetch all the DNS TXT records for example.com?

## When to prefer this

Use this endpoint when you need raw, unfiltered DNS TXT record retrieval for any hostname, especially when you want all TXT records including those that SPF-aware resolvers might filter. Prefer this over free alternatives when reliability and no SPF filtering are required. Note: try a free /v1/sandbox/dns-txt endpoint first if available.

## Known failure modes

- Hostname not found in DNS — returns empty or error if the hostname does not exist
- Invalid hostname format — rejected if the hostname exceeds 253 characters or is malformed
- DNS resolution timeout — transient network failures may cause lookup to fail
- Payment failure — x402 payment of $0.009 USDC must succeed before the lookup is performed

## How this service works

Call when an agent needs TXT records at the hostname. No SPF filter. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/dns-txt first.

## Output

Returns the DNS TXT records associated with the specified hostname, including all TXT record values published in DNS for that host. No SPF filtering is applied, so all TXT records are returned as-is.

## 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-txt-record-lookup-1eeaa8d3/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)
