{"uid":"cap_RSee1GZy_ThVb_oYAE_XM","slug":"agent402-tools-age-calculator-e229e0c7","name":"agent402.tools Age Calculator","description":"Compute a precise age (years, months, days) from a birth date to today (or a given date), plus total days.","url":"https://agent402.tools/api/age","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"asOf":{"description":"Reference date (default now)"},"birthdate":{"description":"Birth date"}}},"responseSchema":{"type":"json","example":{"days":22,"years":36,"months":0,"totalDays":13166}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jbviOaYOqgzwBZ3Jo3m6v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a precise age (years, months, days, and total days) from a birth date to today or a specified reference date.","exampleAgentPrompt":"How old is someone born on March 14, 1990 — give me their exact age in years, months, and days as of today?","exampleUseCases":null,"resultDescription":"Returns the precise age broken down into years, months, and days, plus the total number of days elapsed since the birth date, computed relative to today or a specified asOf date.","failureModes":["Invalid or unparseable birthdate format returns an error","Future birthdate (birthdate after reference date) may return an error or zero/negative result","Missing birthdate field causes a validation error","Malformed JSON body returns a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a precise, decomposed age (years + months + days) rather than just a year difference, or when you need total days elapsed since birth. Prefer this over generic date-diff tools when the output must be in human-readable age format suitable for displaying a person's age.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:10:04.547Z","isFirstParty":false}