Skip to content

Get Age from Birthday

This operation calculates a person’s age based on their provided birthdate.

POST /api/v1/Utility/GetAgeFromBirthday
NameTypeRequiredDefaultDescription
BirthDateDateTimeYes-The birthdate of the person
AtDateDateTimeNoCurrent UTC timeOptional date at which to calculate the age

An unsigned integer representing the calculated age in years.

The operation calculates the person’s age by determining the number of complete years between the provided birthdate and the reference date (either the current date or a specified date).

  • Dates should be provided in ISO format (e.g., “2000-01-31”)
  • This operation is useful for age verification, eligibility checks, or demographic analysis

Credit Cost

Cost: 0.05 credit(s) per call

Note: Fixed cost per call regardless of input complexity