# Mat Web & Data Toolkit – DNS Lookup

> Mat Web & Data Toolkit – DNS Lookup is a paid API for AI agents from automatom-x402.netlify.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Performs a DNS lookup for a given hostname and returns structured DNS record data as JSON.

## Facts

- Endpoint: GET https://automatom-x402.netlify.app/dns?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mat-web-data-toolkit-dns-lookup-2847f42c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qyNAuCReRlkfH5iJzWlqp

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 mat-web-data-toolkit-dns-lookup-2847f42c
```

Example prompt: Can you do a DNS lookup for github.com and tell me what IP addresses it resolves to?

## When to prefer this

Use this endpoint when you need a quick, programmatic DNS lookup for a hostname and want structured JSON output. It is well-suited for agents performing infrastructure checks, domain verification, or connectivity diagnostics where a simple host-to-IP resolution is sufficient.

## Known failure modes

- Invalid or malformed hostname returns an error response
- Non-existent domain (NXDOMAIN) may return empty or error result
- Network timeouts if upstream DNS resolver is unreachable
- Missing required 'host' parameter causes a validation error

## How this service works

Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.

## Output

Returns a JSON object containing DNS resolution data for the queried hostname, including IP addresses and related DNS record information.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mat-web-data-toolkit-dns-lookup-2847f42c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automatom-x402.netlify.app](https://www.zero.xyz/host/automatom-x402.netlify.app/llms.txt)
