# Delx Commerce Age Calculator — Age in Whole Years

> Delx Commerce Age Calculator — Age in Whole Years is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes a person's current age in whole years given their ISO-8601 birth date

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/age-years?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-age-calculator-age-in-whole-years-0fc227f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ln2QYvN6_SUJcTWsuloYV

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 delx-commerce-age-calculator-age-in-whole-years-0fc227f7 -d '<json body>'
```

Example prompt: How old is someone born on March 15 1990 — give me their age in full years?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, single-call age computation from a birth date with no signup or API key — particularly in agentic workflows where you pay per result via USDC on Base or Solana using the x402 protocol. Ideal for age-gating, eligibility checks, or profile enrichment where you just need a reliable whole-year integer age.

## Known failure modes

- Invalid or malformed date format (non-ISO-8601) results in a validation error
- Future birth dates may return zero or an error
- Missing birthdate field causes a bad request response
- Network or payment settlement failure may prevent response delivery

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the schema identifier 'delx/age-years/v1', the computed whole-year age as an integer (age_years), and the echoed input birth date (birthdate). For example: {"schema":"delx/age-years/v1","age_years":26,"birthdate":"2000-01-01"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "birthdate": {
   "type": "string",
   "format": "date",
   "description": "ISO-8601 birth date (YYYY-MM-DD). Used only to compute whole-year age."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/age-years/v1",
  "age_years": 26,
  "birthdate": "2000-01-01"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-age-calculator-age-in-whole-years-0fc227f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
