{"uid":"cap_sKIXBy26ieMXOAF_gHmgd","slug":"agenttools-age-calculator-45c9c09d","name":"AgentTools Age Calculator","description":"Calculate a person's exact age in calendar years, months and days from their date of birth, plus total days lived. Reference date defaults to today (UTC). Use this when an agent needs to exact age in years, months and days.","url":"https://agenttools-hub.vercel.app/api/v1/calculators/age-calculator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["birth"],"properties":{"on":{"type":"string","description":"Defaults to today, YYYY-MM-DD"},"birth":{"type":"string","description":"YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_pdWOc7EVDUbO01fQ0wA5Q","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":"Calculates a person's exact age in calendar years, months, and days from their date of birth, plus total days lived, relative to today or a specified reference date.","exampleAgentPrompt":"How old is someone born on 1990-03-15? Give me their exact age in years, months, and days as of today.","exampleUseCases":[{"title":"Verify age eligibility for a service","prompt":"Can you check if someone born on 2006-11-22 is 18 years old yet? I need their exact age in years, months, and days."},{"title":"Calculate age at a historical moment","prompt":"How old was someone born on 1955-08-10 on the date 2011-10-05? Give me the exact years, months, and days."},{"title":"Find total days a person has been alive","prompt":"My daughter was born on 2018-04-30 — how many total days has she been alive as of today, and what's her exact age in years, months, and days?"}],"resultDescription":"Returns the person's exact age broken down into calendar years, months, and days, along with the total number of days they have been alive, calculated from the provided birth date to today's UTC date or a specified reference date.","failureModes":["Missing required 'birth' query parameter returns an error","Invalid date format (not YYYY-MM-DD) causes a parsing error","Future birth dates may return zero or negative age","Reference date ('on') earlier than birth date may produce unexpected results"],"whenToPreferThis":"Use this endpoint when an agent needs a precise, broken-down age (years + months + days) from a date of birth rather than a simple year-difference calculation. Ideal for eligibility checks, birthday computations, legal age verification contexts, or any workflow requiring total days lived alongside the calendar breakdown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:42:47.755Z","isFirstParty":false,"canonicalSlug":"agenttools-age-calculator-45c9c09d"}