Facial verification, without the infrastructure.

Compare two faces with one API call. We handle hosting, scaling and model updates.

Try an example

50 calls free each month. No card needed.

POST /verify

Photo 1

Photo 1 in the face comparison example

Photo 2

Photo 2 in the face comparison example
Example response

Face match

{ "verified": true }

Send a photo.
Get an embedding back.

curl https://api.deepface.dev/represent \
  -H "x-api-key: $DEEPFACE_API_KEY" \
  -F "img=@face.jpg"

Three ways to work with faces.

Explore the inputs, the vectors and the results.

Compare two photos.

Send two photos to check whether they show the same person.

01Start with two photos
Studio photo of a fictional adult
Studio photo
Outdoor photo of a fictional adult
Outdoor photo
POST /verifyPhotos in. Match decision out.
Saved API results
About these examples

Measured with Facenet, opencv and cosine distance on 2026-10-09. Vector cells show the measured embedding components; they aren’t facial landmarks. These examples explain the API, not its accuracy on your users. Compare embeddings from the same model and settings.

Read the API docs

Start with your free calls.

50calls / month

Add a card for 50 more.

Pay as you go when you need more calls.

Live onboarding

Let’s run your first request together.

Bring your workflow and we’ll help you make your first API request.

Join an onboarding sessionAPI walkthrough + Q&A