Identity · Biometrics
Compare a customer's selfie with the photo on their ID document, and check a short selfie video for liveness, as two calls in your onboarding flow.
request · /v1/face-match
Reference
Query
Send request
Overview
What the Face Match & Liveness API Does
FinHub offers two calls here. Face Match takes two images, a reference image such as the ID-document photo and a query image such as a selfie, and returns whether they match, a confidence value, a dissimilarity value and the threshold the decision used, along with details of the face found in each image. If an image has no face, or more than one, the response says so instead of guessing. Face Liveness takes a short video and classifies its frames as real or fake, returning a final liveness score, the average real and fake scores, and how many frames fell each way. Every call is logged to your FinHub account.
Inputs
- Reference image (for example the ID-document photo)
- Query image (for example a selfie)
- For liveness: a short selfie video (POST /v1/face-liveliness)
Returns
- Match result, confidence and dissimilarity
- Threshold the decision used
- No-face or multiple-faces outcome
- Liveness: classification and final score, with real and fake frame counts
POST /v1/face-match
How it works
Three Steps to a Verified Result
Send the two images
Upload the reference image and the query image in one authenticated call, with consent captured in your own journey.
FinHub compares the faces
FinHub detects the face in each image and compares them, or reports no face or more than one; liveness is a separate call on a short video.
Read the result
Receive the match result, confidence and threshold, or the liveness classification and score, and route the outcome by your own policy.
Use cases
Where Teams Use Face Match & Liveness
- Face match and liveness steps in a video KYC journey
- Self-serve digital onboarding
- Step-up authentication for high-risk actions
- Checking a selfie against the ID photo to deter impersonation
FAQ
Face Match & Liveness API, FAQs
Common questions about FinHub's Face Match & Liveness API.
Face match compares two images, usually an ID-document photo and a selfie, and returns whether they match with a confidence value. Liveness checks whether a real person is in front of the camera: FinHub's liveness call takes a short video and classifies its frames as real or fake. They are separate calls, and most flows use both.
More verification APIs
Explore Related APIs
Ready to Add Face Match & Liveness to Your Flow?
Book a demo and see the API return a verified result on your own test data in minutes.