API ReferenceAge Groups
Convert birth date to age
Calculate age from a birth date in MM/YYYY format.
Query Parameters
birthDate*string
Birth date in MM/YYYY format
Match
^\d{2}/\d{4}$Response Body
application/json
application/json
curl -X GET "https://loading/api/cpf/age/from-birthdate?birthDate=06%2F1990"{
"birthDate": "string",
"age": 0
}{
"error": "string"
}