# Domain Lookup API

> Domain Lookup API is a paid API for AI agents from agent-data.centorprat.workers.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-10-30).

Performs a comprehensive domain intelligence lookup in a single call, returning DNS records (A/AAAA, MX, NS, SPF/TXT), homepage tech hints, social profiles, and public contact emails for up to 3 domains at once.

## Facts

- Endpoint: POST https://agent-data.centorprat.workers.dev/tools/domain-lookup-dns-mx-email?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-lookup-api-60298df6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8SaAwdo9CMRcE0QknpVZF

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-api-60298df6 -d '<json body>'
```

Example prompt: Look up everything you can about stripe.com and shopify.com — DNS A and MX records, SPF/TXT, nameservers, tech stack hints, social profiles, and any public contact emails on their homepages.

## When to prefer this

Choose this endpoint when you need a single-call, multi-signal domain profile combining DNS infrastructure, mail server configuration, and public web intelligence. It is ideal for lead enrichment pipelines, KYB verification, and email deliverability pre-checks where you want to avoid stitching together separate DNS, WHOIS, and web-scraping calls. It supports bulk lookups of up to 3 domains per call with per-domain billing and no charge for failed lookups.

## Known failure modes

- Domain does not exist or is not resolvable — lookup fails gracefully and is not charged
- Homepage is unreachable or blocks scraping — tech hints and emails may be absent
- SPF/TXT records absent if domain has none configured
- Rate or quota limits exceeded — HTTP 402 or 429 response
- Invalid domain format supplied — schema validation error
- More than 3 domains in a single request — rejected by maxItems constraint

## How this service works

Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.

## Output

Returns a structured record per domain containing: DNS A and AAAA records, MX mail server entries with priority, NS nameserver entries, SPF and TXT records, the homepage title, technology/stack hints detected from the homepage, discovered social profile links, and (if includeEmails is true) publicly visible contact email addresses. Failed lookups are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "A single domain (scheme/path are stripped). Example: apify.com"
  },
  "domains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 3,
   "description": "An array of domains, e.g. [\"apify.com\",\"stripe.com\"]. Billed per domain."
  },
  "includeEmails": {
   "type": "boolean",
   "description": "Extract public contact emails from the homepage. Turn off to skip personal data (privacy/compliance)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "dns": {
     "a": [
      "99.84.9.10",
      "99.84.9.82",
      "99.84.9.47",
      "99.84.9.114"
     ],
     "mx": [
      "1 aspmx.l.google.com.",
      "5 alt1.aspmx.l.google.com.",
      "5 alt2.aspmx.l.google.com.",
      "10 aspmx3.googlemail.com.",
      "10 aspmx2.googlemail.com."
     ],
     "ns": [
      "ns-449.awsdns-56.com.",
      "ns-1928.awsdns-49.co.uk.",
      "ns-839.awsdns-40.net.",
      "ns-1225.awsdns-25.org."
     ],
     "spf": "v=spf1 a mx include:_spf.google.com include:mailgun.org include:amazonses.com include:19497222.spf05.hubspotemail.net -all",
     "txt": [
      "google-site-verification=XU737OZxx6NvGd3NQK9MRt98qxRMjx3RByq-O0cy16I",
      "openai-domain-verification=dv-WTM7Nna92Owwh4sgmDOVUyyt",
      "google-site-verification=jrECJwBG9eeO_FUrOMhp7JY1oF8JSBxhzmLsLGvrt9s",
      "v=MCPv1; k=ed25519; p=1rDnoEigwTr+4JjG89+sLbdNnswCnLjmaeT34srW53Y=",
      "mixpanel-domain-verify=44615d9c-27f2-4587-a781-8a0a1c734e9a",
      "aisle-domain-verification-ymx7gd=j3J4hCmXHIc9R0RNQCfa8xdSf",
      "google-site-verification=R_4agUZyHorQrO5QGFa6ZB_o-uDxq82NY-EteDUpPvo",
      "google-site-verification=ZqRh2_YSBHj2bo_KsEdu6MfmTMKJYLpDDL3oPtOrN_A"
     ],
     "aaaa": [
      "2600:9000:215b:a400:9:a03e:6540:93a1",
      "2600:9000:215b:3e00:9:a03e:6540:93a1",
      "2600:9000:215b:7800:9:a03e:6540:93a1",
      "2600:9000:215b:7200:9:a03e:6540:93a1",
      "2600:9000:215b:5000:9:a03e:6540:93a1",
      "2600:9000:215b:5a00:9:a03e:6540:93a1",
      "2600:9000:215b:0:9:a03e:6540:93a1",
      "2600:9000:215b:1000:9:a03e:6540:93a1"
     ]
    },
    "domain": "apify.com",
    "emails": [
     "support@apify.com"
    ],
    "social": [],
    "sources": [
     "dns.google (DNS-over-HTTPS)",
     "apify.com (homepage)"
    ],
    "homepage": {
     "title": "Apify: Marketplace of ready-to-run tools for AI",
     "finalUrl": "https://apify.com",
     "canonical": "https://apify.com",
     "generator": null,
     "statusCode": 200,
     "metaDescription": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents."
    },
    "resolves": true,
    "sitemaps": [
     "https://apify.com/sitemap.xml"
    ],
    "robotsTxt": true,
    "techHints": [],
    "capturedAt": "2026-10-24T13:49:12.737542+00:00",
    "hasContacts": true,
    "hasMailServer": true
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-lookup-api-60298df6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data.centorprat.workers.dev](https://www.zero.xyz/host/agent-data.centorprat.workers.dev/llms.txt)
