Example inputPOST /api/v1/x402/age-years
{
"birthdate": "2000-01-01"
}
Portable intent card · utility
Age in whole years. Use for eligibility checks and profile enrichment from a birthdate. Returns whole-year age from an ISO birthdate (not a legal ID check). $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/age-years -m POST -H 'x-delx-source: intent-card-age-years-api' --max-amount 0.001 -b '{"birthdate":"2000-01-01"}'
{
"birthdate": "2000-01-01"
}
{
"intent": "Age from Birthdate for an agent workflow",
"tool_name": "util_age_years",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/age-years-api.json"
}
Portable and inspectable