---
title: "Exact age in years, months, and days"
method: GET
path: "/api/v1/calculate/age"
---

# Exact age in years, months, and days

`GET /api/v1/calculate/age`

## Request

- Base URL: `https://everycalc.xyz`
- URL: `https://everycalc.xyz/api/v1/calculate/age`
- Auth: none declared

Exact age from a birth date to a target date, broken into years, months, and days, plus total days lived, total hours lived, the weekday of birth, and days until the next birthday. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

## Query parameters

- `birth_date` string, required
- `target_date` string

## Response `200`

Calculation result.

## Other responses

- `400`: Invalid input.

---

[API](https://skmtc.dev/everycalc/apis/everycalc-api.md) · [All operations](https://skmtc.dev/everycalc/apis/everycalc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/everycalc/apis/everycalc-api/revisions/a4bd5db0868a?raw)
