# Public Data API – Domain RDAP/DNS Lookup

> Public Data API – Domain RDAP/DNS Lookup is a paid API for AI agents from x402-data-api-x6da.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Looks up RDAP registration data and DNS records for one or more domains using official public registry sources

## Facts

- Endpoint: GET https://x402-data-api-x6da.onrender.com/v1/domains?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-data-api-domain-rdap-dns-lookup-1b6fd949
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Unm1pm1Zr6yPGQvGtZgc8

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-data-api-domain-rdap-dns-lookup-1b6fd949
```

Example prompt: Can you look up the RDAP registration details and DNS records for stripe.com and shopify.com?

## When to prefer this

Choose this endpoint when you need authoritative RDAP registration data and/or DNS records from official public sources for up to 50 domains in a single call, paid per-use via USDC on Solana. Prefer this over scraping WHOIS pages or calling registrar APIs directly, especially when you need structured machine-readable registration data without managing API keys for multiple registries.

## Known failure modes

- Domain not found in RDAP registry — returns empty or 404-style record
- Invalid domain format causes validation error
- More than 50 domains provided — request rejected
- RDAP registry rate limiting or upstream unavailability
- DNS resolution failure for domains with no public DNS entries
- Payment not fulfilled — x402 payment required before data is returned

## How this service works

Jobs from company ATS boards, SEC EDGAR full-text search, domain RDAP/DNS, NHTSA VIN decode + recalls, the CMS NPI Registry and MET Norway weather forecasts. Pay per call in USDC on Solana via x402. Official public sources only.

## Output

Returns RDAP registration data for each queried domain including registrar name, registrant info, nameservers, domain status flags, creation and expiry dates, and optionally DNS records (A, MX, NS, etc.) when the dns=true flag is set. Up to 50 domains can be queried in a single call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "dns": {
       "type": "boolean"
      },
      "domains": {
       "type": "string",
       "description": "comma-separated, max 50"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-data-api-domain-rdap-dns-lookup-1b6fd949/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api-x6da.onrender.com](https://www.zero.xyz/host/x402-data-api-x6da.onrender.com/llms.txt)
