# PennyRail DNS TXT Record Lookup

> PennyRail DNS TXT Record Lookup is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Looks up DNS TXT records for a given domain name via a paid micropayment API endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/dns.records--txt-record-lookup
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-dns-txt-record-lookup-45df7b07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G_KCoCldMMGp-Mp250TqQ

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 pennyrail-dns-txt-record-lookup-45df7b07 -d '<json body>'
```

Example prompt: Can you look up the DNS TXT records for example.com? I want to see its SPF, DKIM, and any verification entries.

## When to prefer this

Use this endpoint when you need a quick, programmatic DNS TXT record lookup for a single domain and are operating in an x402 micropayment-enabled agent environment. It is suitable for spot-checking SPF, DKIM, DMARC, or domain verification tokens without setting up your own DNS resolver infrastructure.

## Known failure modes

- Domain does not exist (NXDOMAIN) — returns empty or error response
- No TXT records exist for the queried domain — returns empty records array
- Invalid domain name format in input — returns validation error
- DNS resolver timeout or upstream failure — returns error
- Payment not processed — 402 response requiring x402 micropayment

## How this service works

Machine-readable settlement service

## Output

Returns the DNS TXT record entries for the queried domain, including the string values of each TXT record (such as SPF directives, DKIM keys, verification tokens, DMARC policies, and any other TXT data published in DNS).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-dns-txt-record-lookup-45df7b07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
