> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Age Estimation

> Include age estimation in the face matching biometrics.

| | |
| - | - |
| API identifier | `age-estimation` |
| Result key | `servicesResults.faceMatching.faceRecognition.ageEstimate` |
| Requires | [Face Match](https://docs.checkin.com/products/selfie-face-match.md) |

Age Estimation estimates the applicant's age from the selfie. It checks the estimate against your minimum age and against the age on the document. A large difference can mean the document belongs to someone else.

## Request

```json theme={null}
{
  "verificationTypes": ["data-extraction", "face-matching", "age-estimation"]
}
```

## Configuration

In the Backoffice, under **Settings → Verification rules → Facial Similarity Check → Face recognition**, you set:

* the minimum applicant age
* the allowed difference between estimated and document age
* the confidence score threshold

and whether each finding sends the application to review or declines it.

See [Verification rules](https://docs.checkin.com/backoffice/verification-rules.md).

## Result

The result is part of the Face Match result, under `faceMatching.faceRecognition`. There is no separate `ageEstimation` result. `faceRecognition` also holds `group`, `description`, `issues` and `match`, and the [Face Similarity](https://docs.checkin.com/products/add-ons/face-similarity.md) result when that is requested.

`ageEstimate` contains:

| Field | Content |
| - | - |
| `estimatedAge` | Age estimated from the selfie |
| `documentedAge` | Age from the document |
| `ageDifference` | Difference between the two, in years |
| `acceptableAgeDifference` | The allowed difference |
| `ageDifferenceOk` | Whether the difference is within the allowed range |
| `confidence` | Confidence of the estimate, from 0 to 1 |
| `breakdowns` | Check list |

### Example

```json theme={null}
{
  "faceMatching": {
    "faceRecognition": {
      "group": "faceRecognition",
      "description": "Face recognition check",
      "issues": 0,
      "match": false,
      "ageEstimate": {
        "documentedAge": 36,
        "estimatedAge": 36,
        "ageDifference": 0,
        "acceptableAgeDifference": 5,
        "ageDifferenceOk": true,
        "confidence": 0.7670651189069319,
        "breakdowns": {
          "group": "ageEstimate",
          "description": "Age estimation",
          "considers": [
            { "name": "ageEstimated", "type": "clear", "status": "approved", "description": "Age was successfully estimated from the selfie" },
            { "name": "ageVerification", "type": "clear", "status": "approved", "description": "Estimated age is above required minimum age of 18" },
            { "name": "ageDifferenceVerification", "type": "clear", "status": "approved", "description": "Documented age and estimated age difference is less than ± 5 years" },
            { "name": "ageConfidence", "type": "clear", "status": "approved", "description": "Estimated age confidence is higher than 0.5" }
          ]
        }
      }
    }
  }
}
```

## Concerns

| Code | Message |
| - | - |
| `FM010` | Age is not below allowed |
| `FM011` | Estimated age is not within allowed difference |
| `FM012` | Estimated age confidence is above the threshold |

All codes are in [Considers lists](https://docs.checkin.com/integrate/results/considers-lists.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.