---
title: "Age Verify (x402)"
method: GET
path: "/x402/v2/age-verify"
tags: ["x402"]
---

# Age Verify (x402)

`GET /x402/v2/age-verify`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/age-verify`
- Auth: none required

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.

## Query parameters

- `minimum_age` integer: Minimum age to verify (default 18)
- `date_of_birth` string, required: Date of birth (YYYY-MM-DD)
- `reference_date` string: Date to check against (default today)

## Response `200`

Success

- object
  - `age_days` integer
  - `age_years` integer
  - `age_months` integer
  - `meets_minimum` boolean
  - `days_until_minimum` integer
  - `date_of_birth_valid` boolean
  - `minimum_age_checked` integer

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
