# Domain Lookup & DNS Intelligence API

> Domain Lookup & DNS Intelligence API is a paid API for AI agents from trashpan-recycle-worker.moremasatoshi.workers.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-11-28).

Performs a multi-signal domain lookup returning DNS records (A/AAAA/NS/MX/TXT), RDAP registration/expiration dates, email deliverability posture score (SPF/DMARC), HTTP TTFB, tech stack detection, and /llms.txt presence for one or more domains in a single JSON response.

## Facts

- Endpoint: GET https://trashpan-recycle-worker.moremasatoshi.workers.dev/gate/x402/domain-lookup?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-lookup-dns-intelligence-api-a4b2da16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dy5o_Fxfnimb55bOJBvX1

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 domain-lookup-dns-intelligence-api-a4b2da16
```

Example prompt: Can you do a full domain lookup on stripe.com — I want to see the DNS records, when it expires, the email deliverability posture score with SPF and DMARC details, the HTTP response speed, and what tech stack they're running?

## When to prefer this

Choose this endpoint when you need a comprehensive, all-in-one domain intelligence snapshot — especially when you need DNS records, registration data, and email deliverability posture in a single API call rather than querying separate DNS, WHOIS, and email validation services. It is particularly well-suited for agents performing domain audits, pre-send email checks, competitive reconnaissance, or AI-discoverability detection (llms.txt) without orchestrating multiple specialized APIs.

## Known failure modes

- Invalid or non-existent domain returns empty or error fields in the JSON
- Rate limiting or upstream DNS resolver failures may cause partial data
- RDAP data unavailable for some TLDs or private registrations
- HTTP TTFB check may time out for unreachable domains
- SPF/DMARC parsing may return null if records are absent or malformed
- Multiple domains exceeding request limits may cause truncated responses

## How this service works

Fast 1-input -> 1-JSON lookup for DNS (A/AAAA/NS/MX/TXT), RDAP registration & expiration dates, Email Deliverability posture score (SPF/DMARC), HTTP TTFB, public Tech Stack & /llms.txt detection.

## Output

A single JSON object (or array for multiple domains) containing: DNS records (A, AAAA, NS, MX, TXT), RDAP registration and expiration timestamps, optionally an email deliverability posture score (0–100) with parsed SPF and DMARC policies, HTTP time-to-first-byte measurement, detected tech stack components, and a boolean indicating whether /llms.txt was found at the domain root.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domains"
     ],
     "properties": {
      "domains": {
       "type": "string",
       "description": "Domain name or comma-separated domain names (e.g. cloudflare.com)"
      },
      "includeEmailPosture": {
       "type": "boolean",
       "description": "Include SPF/DMARC policy parsing and 0-100 score"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-lookup-dns-intelligence-api-a4b2da16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trashpan-recycle-worker.moremasatoshi.workers.dev](https://www.zero.xyz/host/trashpan-recycle-worker.moremasatoshi.workers.dev/llms.txt)
