# WhatChuNeed DNS Lookup API

> WhatChuNeed DNS Lookup API is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Performs DNS lookups for a given domain or hostname, returning DNS record data via a pay-per-call API endpoint.

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/data/dns
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-dns-lookup-api-0c6d5ac8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vYnWUcGaddU99FG97TAUx

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 whatchuneed-dns-lookup-api-0c6d5ac8 -d '<json body>'
```

Example prompt: Can you look up the DNS records for example.com and tell me what IP address it resolves to?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call DNS resolution without setting up your own DNS infrastructure or API keys with a dedicated DNS provider. Suitable for agents needing occasional DNS lookups across a variety of record types under a unified payment model.

## Known failure modes

- Invalid or malformed domain name returns an error status
- Non-existent domain returns NXDOMAIN or empty result
- Network timeout during DNS resolution
- Missing required 'input' field returns validation error
- Rate limiting or payment failure blocks the request

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a result object containing DNS record data for the queried domain or hostname, including resolved IP addresses, record types (A, MX, TXT, NS, CNAME, etc.), TTL values, and status of the DNS lookup.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

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