# AveDaris DNS Lookup

> AveDaris DNS Lookup is a paid API for AI agents from api.avedaris.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Performs DNS record lookups for a given hostname, returning one or more DNS record types (A, AAAA, CNAME, MX, TXT, NS)

## Facts

- Endpoint: POST https://api.avedaris.com/v1/paid/dns-lookup
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avedaris-dns-lookup-cd0a50cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4sn3sF031lEIkH0oHRA8E

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 avedaris-dns-lookup-cd0a50cd -d '<json body>'
```

Example prompt: Can you look up the A and MX records for example.com so I can see its IP address and mail servers?

## When to prefer this

Choose this endpoint when an AI agent needs programmatic, pay-per-call DNS resolution without managing its own DNS resolver infrastructure. Ideal for agents operating in the autonomous economy (x402 micropayment context) that need to resolve hostnames, verify domain configuration, or enrich data with DNS information on-demand without rate-limit concerns tied to free tiers.

## Known failure modes

- Hostname not found or does not exist — returns empty records or error
- Invalid hostname format — rejected by input validation (minLength 3, maxLength 253)
- Unsupported record type requested — only A, AAAA, CNAME, MX, TXT, NS are valid
- Network timeout reaching authoritative nameservers — returns error or partial results
- Payment failure — x402 payment of 0.002 USDC not processed, request rejected

## How this service works

AveDaris is the economic coordination layer for autonomous software: discover, route, evaluate, procure, verify, and learn across agent services.

## Output

A JSON object containing the queried hostname and a records map keyed by DNS record type (e.g. A, MX, TXT), where each entry is an array of objects with 'data' (the record value) and 'ttl' (time-to-live in seconds).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "types": {
   "type": "array",
   "items": {
    "enum": [
     "A",
     "AAAA",
     "CNAME",
     "MX",
     "TXT",
     "NS"
    ],
    "type": "string"
   },
   "maxItems": 6
  },
  "hostname": {
   "type": "string",
   "maxLength": 253,
   "minLength": 3
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "records": {
    "A": [
     {
      "ttl": 300,
      "data": "93.184.216.34"
     }
    ]
   },
   "hostname": "example.com"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avedaris-dns-lookup-cd0a50cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.avedaris.com](https://www.zero.xyz/host/api.avedaris.com/llms.txt)
