{"uid":"cap_twg-IJBVCo81EQrD2Q8FK","slug":"age-calculator-from-birth-date-7b9acd14","name":"Age Calculator from Birth Date","description":"Exact age in years, months and days from a birth date as of a date, plus next birthday and days until it.","url":"https://timezone-time.x402tookit.com/age-calc?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_date"],"properties":{"as_of":{"type":"string","description":"YYYY-MM-DD, default today (UTC)"},"birth_date":{"type":"string","description":"YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"days":{"type":["null","number"]},"years":{"type":["null","number"]},"months":{"type":["null","number"]},"source":{"type":["null","string"]},"adult18":{"type":["boolean","null"]},"adult21":{"type":["boolean","null"]},"ageAsOf":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"birthDate":{"type":["null","string"]},"totalDays":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"nextBirthday":{"type":["null","string"]},"daysToNextBirthday":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lk7vQtbNebeJBPEc-O8f8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates exact age in years, months, and days from a birth date as of a given date, plus next birthday date and days until it.","exampleAgentPrompt":"How old is someone born on 1990-03-15 as of today — give me their exact age in years, months, and days, and tell me when their next birthday is and how many days away it is.","exampleUseCases":[{"title":"Verify customer's legal drinking age","prompt":"Can you check if someone born on 2002-11-20 is at least 21 years old as of today, and tell me their exact age in years and months?"},{"title":"Calculate child's age for school enrollment","prompt":"My daughter was born on 2018-09-01 — how old will she be exactly, in years, months, and days, as of September 1st 2025? And when is her next birthday after that?"},{"title":"Birthday countdown for a reminder app","prompt":"How many days until the next birthday for someone born on 1985-07-04, and what is the exact date of that next birthday?"}],"resultDescription":"Returns a JSON object containing the exact age broken down into years, months, and days; total days lived; the date of the next birthday; days until the next birthday; boolean flags for whether the person is 18+ (adult18) and 21+ (adult21); a human-readable summary; the as_of date used; and optionally a verdict, reasons array, and disclaimer.","failureModes":["Missing birth_date parameter returns an error","Invalid date format (not YYYY-MM-DD) causes a parse error","Future birth_date may return zero or negative age values","Invalid as_of date format causes failure","Network timeout or service unavailability returns no response"],"whenToPreferThis":"Use this endpoint when you need a precise breakdown of someone's age (years + months + days) from a birth date, especially when you also need next-birthday information or adult-status flags (18+/21+). It is purpose-built for date arithmetic around birthdates and is more reliable than general-purpose date-difference endpoints for age-specific calculations, including legal majority checks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T14:07:22.141Z","isFirstParty":false,"canonicalSlug":"age-calculator-from-birth-date-7b9acd14"}