# Public DNS Record Inventory Purchase (A, AAAA, MX, NS, TXT & CAA)

> Public DNS Record Inventory Purchase (A, AAAA, MX, NS, TXT & CAA) is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.032/call, status down (last checked 2026-09-15).

Purchases a DNS record inventory lookup returning A, AAAA, MX, NS, TXT, and CAA records for a domain via the402.ai marketplace.

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_e6572ba9778d459f/purchase
- Price: $0.032/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-dns-record-inventory-purchase-a-aaaa-mx-ns-txt-caa-73ccabe0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tZLjElMy4h8AgVqkNbW1p

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 public-dns-record-inventory-purchase-a-aaaa-mx-ns-txt-caa-73ccabe0 -d '<json body>'
```

Example prompt: Can you pull the full DNS record inventory for example.com — I need all record types: A, AAAA, MX, NS, TXT, and CAA?

## When to prefer this

Choose this endpoint when you need a comprehensive, all-record-type DNS inventory for a domain in a single call rather than querying individual record types separately, and when your agent operates within the x402 micropayment (USDC) infrastructure on the402.ai marketplace.

## Known failure modes

- Invalid or non-existent domain name returns an error or empty record set
- Payment authorization failure (insufficient USDC balance) blocks job creation
- Job created but DNS resolution times out — status field reflects failure state
- Malformed POST body causes 4xx response
- Service temporarily unavailable on the402.ai platform causes 5xx

## How this service works

Purchase: Public DNS Record Inventory — A, AAAA, MX, NS, TXT & CAA

## Output

Returns a job_id, status string, and thread_id that can be used to poll for the completed DNS inventory result containing all public DNS records (A, AAAA, MX, NS, TXT, CAA) for the requested domain.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-dns-record-inventory-purchase-a-aaaa-mx-ns-txt-caa-73ccabe0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
