# Domain Age Check API

> Domain Age Check API is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-02).

Looks up a domain's registration date, age in days, and registrar metadata via RDAP to support fraud detection, phishing analysis, and lead enrichment.

## Facts

- Endpoint: POST https://x402.agentutility.ai/domain-age-check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-age-check-api-478942f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fX4nQFw0sBWBwgWyhJtfL

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-age-check-api-478942f1 -d '<json body>'
```

Example prompt: Can you check how old the domain 'suspicious-offer.com' is and when it was first registered? I want to know if it's newly created — it looks like a potential phishing site.

## When to prefer this

Use this endpoint when you need programmatic, structured access to domain registration age and date metadata, especially for fraud screening, phishing detection, or lead enrichment pipelines. It is preferable over raw WHOIS tools because it returns clean JSON with an explicit age_days integer and ISO timestamp, making it easy to threshold-check in automated workflows. Choose this over manual WHOIS lookups when you need to process many domains or integrate domain age signals into an agent decision loop.

## Known failure modes

- Domain not found in RDAP — returns error or empty result for unregistered or private/redacted domains
- Invalid domain format input — API may reject malformed domain strings
- RDAP registry unavailable for certain TLDs — some ccTLDs may not expose registration data
- Rate limiting or payment failure — x402 payment not processed results in 402 response
- Redacted registration data — some registrars hide registration dates under privacy protection, returning incomplete results

## How this service works

Checks a domain's age and registration date, with registrar metadata, for fraud, phishing, brand-protection, and lead-enrichment workflows. Same RDAP backend as whois-lookup. Use it as a domain age check API, newly registered domain detector, or registration date lookup.

## Output

Returns a JSON object with the queried domain name, its registration date as an ISO 8601 timestamp (e.g. '1995-08-14T04:00:00Z'), the domain's age in whole days, and an array of flags (e.g. risk signals). Optionally includes a certificate transparency summary from crt.sh if requested.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain to check, e.g. 'example.com'."
      },
      "include_certificates": {
       "type": "boolean",
       "description": "Attach crt.sh certificate-transparency summary. Default false."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "flags": {
       "type": "array"
      },
      "domain": {
       "type": "string"
      },
      "age_days": {
       "type": "integer"
      },
      "registered_date": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "flags": [],
  "domain": "example.com",
  "age_days": 11223,
  "registered_date": "1995-08-14T04:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-age-check-api-478942f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
