# CompanyFacts Domain Lookup API

> CompanyFacts Domain Lookup API is a paid API for AI agents from companyfacts.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns DNS, registrar, email provider, and domain health metadata for a given company domain name.

## Facts

- Endpoint: GET https://companyfacts.dev/x402/v1/domain?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/companyfacts-domain-lookup-api-155f9cf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7_2onZ7oQK8cQGNAEcAKr

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 companyfacts-domain-lookup-api-155f9cf4
```

Example prompt: Can you look up the domain info for stripe.com — I want to know who their registrar is, what email provider they use, and whether they have DMARC set up?

## When to prefer this

Choose this endpoint when you need structured, machine-readable domain health and registration data for a specific company domain — especially when you need registrar details, email provider identification, and email security (SPF/DMARC) configuration in a single call. Prefer this over manual WHOIS lookups or generic DNS tools when you need parsed, normalized output ready for downstream logic.

## Known failure modes

- Domain not found or unregistered — registration status will be false
- Invalid domain format passed — may return error or empty result
- RDAP/WHOIS lookup timeout for certain TLDs
- SPF or DMARC fields may be null if not configured by domain owner
- Expiry or creation dates may be absent for some registrars

## How this service works

Open job postings read first-hand from the applicant-tracking system behind a company's careers page: Greenhouse, Ashby, Lever or Workable. Includes a directory of 8532 company job boards, because none of the vendors publishes one. Salaries are parsed into numbers where the employer publishes them and refused where ambiguous. No personal data.

## Output

A JSON object containing domain metadata including: TLD, registration status, registrar name and IANA ID, creation and expiry dates, DNS status, nameservers, MX records, SPF presence and policy, DMARC presence and policy, email provider, and the registration data basis (e.g. RDAP).

## 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": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tld": "com",
  "dns_mx": [
   {
    "host": "aspmx.l.google.com",
    "priority": 1
   }
  ],
  "domain": "stripe.com",
  "has_spf": true,
  "has_dmarc": true,
  "registrar": "MarkMonitor Inc.",
  "dns_status": "ok",
  "registered": true,
  "spf_policy": "softfail",
  "expiry_date": "2027-04-07",
  "nameservers": [
   "ns-1.example.net"
  ],
  "created_date": "1995-04-06",
  "dmarc_policy": "reject",
  "email_provider": "Google Workspace",
  "registered_basis": "rdap",
  "registrar_iana_id": 292
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/companyfacts-domain-lookup-api-155f9cf4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from companyfacts.dev](https://www.zero.xyz/host/companyfacts.dev/llms.txt)
