Get started

     API Endpoint
 
         https://www.age-calculator.app/
                 

The Age Calculator API provides you your age by years, months and day by passing your date of birth.

Using this API doesn't require any api key and it is free for all.

GET AGE


 # Here is a curl example to get your age
 curl \
 -X POST http://age-calculator.app/api-get-age \
 -F 'Accept: *' \
                 

To know your age, make a GET call to the following url:
http://age-calculator.app/api-get-age



 Result example :
 
 {
    age: "26 years, 3 months, 8 days",
    timestamp: 743597349853,
    status: 200
 }
                 

QUERY PARAMETERS

Field Type Description
day Int For ex. 3 or 03
month Int For ex. 9 or 09
year Int For ex. 1998

Errors

The Age Calculator API uses the following error codes:

Error Code Meaning
500 Server related error. The error message will be shown to you.
402 Request exceeds daily limit. An error message will be shown to you.