# call402.com Domain Lookup

> call402.com Domain Lookup is a paid API for AI agents from call402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Looks up DNS records and RDAP registration details for a given domain name, paid per-call via USDC on Base mainnet using the x402 protocol.

## Facts

- Endpoint: POST https://call402.com/api/domain-lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/call402-com-domain-lookup-6528bf98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__pFmTRlNaBwVi1bs1vyP9

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 call402-com-domain-lookup-6528bf98 -d '<json body>'
```

Example prompt: Can you look up the DNS records and registration details for github.com — I want to see its A records, nameservers, registrar, and when it expires?

## When to prefer this

Choose this endpoint when you need combined DNS and RDAP/registration data in a single call, especially in an autonomous agent context where pay-per-use micropayment billing (USDC via x402) is preferred over subscription APIs. It is well-suited for one-off or low-volume domain intelligence lookups without requiring an API key signup.

## Known failure modes

- Domain not found or non-existent TLD returns empty or partial DNS records
- RDAP data unavailable for some TLDs (e.g. certain ccTLDs) may return null fields
- Payment not sent returns HTTP 402 with payment requirements; request must be retried with PAYMENT-SIGNATURE header
- Invalid domain string (malformed input) may cause a 400 or empty response
- Network timeout to upstream DNS/RDAP resolvers may cause partial results or error

## How this service works

USDC pay-per-call APIs for AI agents via the x402 protocol (v2, exact, Base mainnet). Send a request, receive HTTP 402 with payment requirements, pay with @x402/fetch or any x402 client, retry with the PAYMENT-SIGNATURE header.

## Output

Returns a JSON object containing: DNS records (A, AAAA, MX, NS, TXT, CNAME), RDAP registration data (registrar, handle, status, created/expires/updated dates, nameservers), the queried domain name, data sources used (e.g. cloudflare-doh, rdap), and a data_quality field indicating completeness of results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Domain name to look up"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dns": {
   "A": [
    "93.184.216.34"
   ],
   "MX": [],
   "NS": [
    "a.iana-servers.net."
   ],
   "TXT": [],
   "AAAA": [],
   "CNAME": []
  },
  "meta": {
   "sources": [
    "cloudflare-doh",
    "rdap"
   ]
  },
  "rdap": {
   "handle": null,
   "status": [
    "active"
   ],
   "created": "1995-08-14T04:00:00Z",
   "expires": "2026-08-13T04:00:00Z",
   "updated": null,
   "registrar": "RESERVED-Internet Assigned Numbers Authority",
   "nameservers": [
    "a.iana-servers.net"
   ]
  },
  "domain": "example.com",
  "data_quality": "full"
 }
}
```

## More

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