# Domain/Company Enrichment API

> Domain/Company Enrichment API is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-10-11).

Aggregates public registration, DNS, TLS, web, and tech-stack data for a domain or company into a single structured profile

## Facts

- Endpoint: GET https://payai.agentstools.dev/enrich/domain?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-company-enrichment-api-5da969b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ag4xQjFxO5yq0u2mAAhu

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-company-enrichment-api-5da969b3
```

Example prompt: Pull a full public profile for stripe.com — I want registration age, DNS records including SPF and DMARC, TLS certificate details, homepage metadata, and tech stack all in one go.

## When to prefer this

Use this endpoint when you need a quick, aggregated public intelligence profile on a business domain without calling multiple separate APIs. It is ideal for due diligence, fraud/spam domain checks, sales intelligence, onboarding verification, or cybersecurity triage. Prefer it over raw WHOIS or DNS tools when you want registration + DNS + TLS + web + tech stack in a single call with graceful partial-failure handling.

## Known failure modes

- Domain not found or not registered — registration block returns null
- DNS lookup failure — dns block returns null
- TLS handshake or certificate fetch failure — tls block returns null
- Homepage unreachable or times out — web and tech blocks return null
- Invalid domain/email/URL input format — likely a 4xx client error
- Rate limit or payment required — 402 response if x402 payment not provided

## How this service works

Enrich a domain / company / email into one aggregated profile from public sources: registration (RDAP/WHOIS age, registrar, expiry, nameservers), DNS (A/AAAA/MX/NS, SPF, DMARC), TLS certificate (issuer, validity, expiry), homepage metadata (title, description, Open Graph, JSON-LD Organization, social links, role contacts) and a tech-stack detection. Each block is null-on-failure (partial, never 500). Business/domain data only — no personal data of individuals.

## Output

A structured JSON profile with up to five blocks: registration (RDAP/WHOIS age, registrar, expiry, nameservers), dns (A/AAAA/MX/NS records, SPF, DMARC), tls (issuer, validity, expiry), web (homepage title, description, Open Graph, JSON-LD Organization, social links, role contacts), and tech (detected tech stack). Each block is null if that data source failed, so partial results are always returned rather than an error.

## 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",
     "required": [],
     "properties": {
      "url": {
       "type": "string",
       "description": "Alternative input: a URL (its host is used)"
      },
      "email": {
       "type": "string",
       "description": "Alternative input: an email (its domain is used)"
      },
      "domain": {
       "type": "string",
       "description": "Domain to enrich (e.g. stripe.com)"
      },
      "include": {
       "type": "array",
       "items": {
        "enum": [
         "registration",
         "dns",
         "tls",
         "web",
         "tech"
        ],
        "type": "string"
       },
       "description": "Which blocks to collect (default: all)"
      }
     }
    }
   },
   "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-company-enrichment-api-5da969b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
