Biometrics
Face Comparison
Compare two face images to determine whether they belong to the same person.
POST
Face Comparison
The Face Comparison endpoint uses biometric analysis to compare two face images and returns a confidence score indicating whether they depict the same individual. Use this for identity verification during onboarding or transaction approval.Documentation Index
Fetch the complete documentation index at: https://docs.smartcomply.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request
Headers
| Header | Value | Required |
|---|---|---|
x-access-token | Your API secret key | Yes |
Content-Type | application/json | Yes |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
image_one | string | Yes | URL or base64-encoded string of the first face image |
image_two | string | Yes | URL or base64-encoded string of the second face image |
Example
Response
200 OK
| Field | Type | Description |
|---|---|---|
data.status | boolean | true if the faces match, false if they do not |
data.response_code | string | "00" indicates a successful comparison |
data.message | string | Human-readable match result |
data.confidence | integer | Match confidence percentage (0–100) |
data.status of false indicates the faces do not match. Use data.confidence to apply your own threshold for acceptance (e.g., require >= 80 for a positive match).

