# Strale Age Verification API

> Strale Age Verification API is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-15).

Verifies whether a person meets a minimum age requirement based on their date of birth, returning a pass/fail result with a cryptographic audit record.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/age-verify
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-age-verification-api-62b006b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xhT23DXu6RiYGumqUngwA

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 strale-age-verification-api-62b006b5
```

Example prompt: Can you check if someone born on 1998-03-15 is at least 21 years old today?

## When to prefer this

Choose this endpoint when you need a lightweight, auditable age check that produces a cryptographic audit trail for compliance purposes. It is ideal for regulated industries (alcohol, gambling, adult content) where you need tamper-evident proof of verification across 27 countries. Prefer it over rolling your own date math when you need an independently tested, per-call audit record and micropayment-based billing with no subscription overhead.

## Known failure modes

- Missing date_of_birth parameter returns a 400 or validation error
- Malformed date format (not YYYY-MM-DD) causes a parsing error
- Invalid minimum_age value (e.g. negative or non-integer) causes a validation failure
- Payment not provided or insufficient funds returns a 402 Payment Required
- reference_date in the future or unparseable format may return an error

## How this service works

Verify if a person meets a minimum age requirement based on their date of birth. Returns exact age, whether the threshold is met, and days until the threshold (if not met). Accounts for leap years.

## Output

Returns a pass/fail age verification result indicating whether the person meets the minimum age requirement, along with a cryptographic audit record that includes a chain hash for tamper-evident logging.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "date_of_birth"
 ],
 "properties": {
  "minimum_age": {
   "type": "integer",
   "description": "Minimum age to verify (default 18)"
  },
  "date_of_birth": {
   "type": "string",
   "description": "Date of birth (YYYY-MM-DD)"
  },
  "reference_date": {
   "type": "string",
   "description": "Date to check against (default today)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "age_days": {
  "type": "integer"
 },
 "age_years": {
  "type": "integer"
 },
 "age_months": {
  "type": "integer"
 },
 "meets_minimum": {
  "type": "boolean"
 },
 "days_until_minimum": {
  "type": "integer"
 },
 "date_of_birth_valid": {
  "type": "boolean"
 },
 "minimum_age_checked": {
  "type": "integer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-age-verification-api-62b006b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
