{"uid":"cap_VPkNgHnRFpBg6xXytWUWZ","slug":"saylor-innovations-age-calculator-ce4d886a","name":"Saylor Innovations Age Calculator","description":"Age calculator from birthdate - exact age in years, months and days, total days lived and days until the next birthday","url":"https://saylorinnovations.com/api/calc/age?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":["birthdate"],"properties":{"on":{"type":"string","description":"optional reference date YYYY-MM-DD, default today"},"birthdate":{"type":"string","description":"Birth date YYYY-MM-DD"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["age","next_birthday"],"properties":{"age":{"type":"object"},"as_of":{"type":"string","description":"Date the figures are valid for"},"birthdate":{"type":"string"},"checked_at":{"type":["string","null"],"description":"Time the check was run (UTC)"},"total_days":{"type":"number","description":"Total days"},"born_weekday":{"type":["string","null"],"description":"Born weekday"},"next_birthday":{"type":"string","description":"Next birthday"},"days_until_next_birthday":{"type":"number","description":"Days until next birthday"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AXFrgaKEqALN8-AJpS_oc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates exact age from a birthdate, returning years/months/days breakdown, total days lived, and days until the next birthday","exampleAgentPrompt":"How old is someone born on March 15, 1990? Give me their exact age in years, months, and days, plus how many total days they've lived and how many days until their next birthday.","exampleUseCases":[{"title":"Birthday milestone celebration planning","prompt":"My friend was born on July 4, 1985 — can you tell me exactly how old they'll be this year, what day of the week they were born, and how many days until their next birthday?"},{"title":"Age verification for a form","prompt":"A user entered their date of birth as 2001-09-11 — what is their exact age today in years, months, and days so I can confirm they're over 18?"},{"title":"Historical age at a past date","prompt":"How old was someone born on 1955-06-14 on the date 2000-01-01? I need the exact breakdown in years, months, and days."}],"resultDescription":"Returns a JSON object containing: the exact age broken down into years, months, and days; the total number of days lived; the date of the next birthday; the number of days until the next birthday; the day of the week the person was born; the reference date used for calculations; and the timestamp when the check was run.","failureModes":["Missing required 'birthdate' parameter returns an error","Incorrectly formatted date (not YYYY-MM-DD) may cause a parsing error or unexpected result","Future birthdates may produce zero or negative ages","Invalid calendar dates (e.g. February 30) may cause errors","Reference date ('on') in wrong format may default to today or return an error"],"whenToPreferThis":"Use this endpoint when you need a precise, multi-component age breakdown (years, months, days) from a birthdate, especially when you also need total days lived, next birthday date, or days-until-next-birthday in a single call. Prefer it over manual date arithmetic or generic date libraries when building agent workflows that require structured, ready-to-use age data with optional reference-date support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:22:04.756Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-age-calculator-ce4d886a"}