# DomainRef - Domain Age Lookup

> DomainRef - Domain Age Lookup is a paid API for AI agents from domainref.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-01).

Returns the registration age and registrar details for a given domain as part of email/domain security grading

## Facts

- Endpoint: GET https://domainref.dev/v1/domain/age?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domainref-domain-age-lookup-72227ad5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_57-iiWkL98tyfiI1Gj6wh

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 domainref-domain-age-lookup-72227ad5
```

Example prompt: Can you check how old the domain example.com is and who its registrar is — I want to know if it's been around long enough to trust emails coming from it.

## When to prefer this

Choose this endpoint when you need a quick, non-intrusive lookup of a domain's registration age and registrar as part of email security analysis, phishing detection, or vendor due diligence. It is ideal when you want a lightweight signal about domain trustworthiness without triggering active probes, and when you need exact registrar attribution. At $0.005 per call it is cost-effective for high-volume screening pipelines.

## Known failure modes

- Domain not found or unregistered — empty or error response
- Invalid domain format in query parameter — likely 400 error
- WHOIS data unavailable for certain TLDs — incomplete age data
- Payment failure via x402 — 402 response before data is returned
- Rate limiting if too many requests are made in succession

## How this service works

Use when mail lands in spam, before an email campaign, for vendor due diligence or to confirm a Microsoft 365 tenant: graded SPF, DKIM, DMARC, MX, MTA-STS, DNSSEC, CAA, TLS and domain age, plus BIMI and blocklist info, each with the exact fix record. Non-intrusive. $0.01 per domain.

## Output

Returns a JSON object with a security grade, the queried domain name, and a registration object containing the domain's age in days, the registrar's name, and the registrar's IANA ID. This lets agents quickly assess domain trustworthiness based on registration history.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "maxLength": 253,
       "minLength": 1,
       "description": "Required. The domain to check, sent as ?domain=example.com."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "pass",
  "domain": "example.com",
  "registration": {
   "age_days": 11389,
   "registrar": {
    "name": "RESERVED-Internet Assigned Numbers Authority",
    "iana_id": "376"
   }
  }
 }
}
```

## More

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