Face ID — Face Comparison & Identity Verification API

Compare two face images and verify identity with a similarity score.

Face ID — Face Comparison & Identity Verification API

Face ID is a face comparison and identity verification service built on top of the Face ID API available on RapidAPI. It compares two face images and returns whether they belong to the same person, along with a similarity/confidence score — making it suitable for KYC onboarding, login verification, and access control.

What it does

  • Face comparison: compares a source image against a target image and returns a match result.
  • Similarity scoring: returns a confidence percentage indicating how closely the two faces match.
  • Fast verification: designed for real-time onboarding and login flows.

Use cases

  • KYC onboarding — verify that a new user's selfie matches their ID photo.
  • Login verification — confirm a returning user's identity via face match instead of (or alongside) a password.
  • Account recovery — verify identity when a user loses access to their account.
  • Access control — gate physical or digital access behind a face match check.

How to access the API

To use Face ID directly in your own project, you'll need a RapidAPI account and key:

  1. Go to the Face ID API page on RapidAPI and subscribe to a plan (a free tier is usually available for testing).
  2. Copy your X-RapidAPI-Key from the RapidAPI dashboard.
  3. Send a request to the endpoint below with the two images you want to compare.
<!-- ⚠️ ASSUMED endpoint shape — verify exact host/path/param names
     in the "Code Snippets" tab on the RapidAPI page before using in production -->

POST https://face-id.p.rapidapi.com/compare
x-rapidapi-host: face-id.p.rapidapi.com
x-rapidapi-key: YOUR_RAPIDAPI_KEY

{
  "source_url": "https://example.com/id-photo.jpg",
  "target_url": "https://example.com/selfie.jpg"
}

Example response (assumed shape)

{
  "match": true,
  "similarity": 96.4
}

⚠️ The exact field names above (match, similarity, source_url/target_url) are a best guess based on common patterns for face-comparison APIs. Please confirm the real schema from the RapidAPI playground before publishing this page or wiring up a live demo.