How to Detect Duplicate Accounts and Fraud Rings With 1:N Face Search
POST /v3/face-search/ searches the largest face in a selfie against your application's face index and returns up to five ranked matches. $0.05 per search. Duplicate warnings are informational and never decline.

Contents
In this guide
Jump to the part you need.
Face Search answers a narrow question at signup, during verification, in blocklist screening and in fraud investigation: has this face already been enrolled in our application, and under which user? POST /v3/face-search/ searches the largest face in a selfie against your application's own index and returns up to five ranked matches. One search costs $0.05 at list price. The caveat: duplicate warnings are informational and never decline a session, so the deduplication policy stays yours.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Detail |
|---|---|
| Endpoint | POST https://verification.didit.me/v3/face-search/ |
| Authentication | x-api-key header with your application key |
| Required input | user_image, multipart form-data, 5 MB maximum |
| Default mode | search_type=most_similar, ranks every enrolled face |
| Matches returned | Up to 5 above the similarity floor, ranked by similarity |
| Price | $0.05 per search; Growth $0.048, Scale $0.045 |
| Latency | sub-2-second inference |
| Auto decline | Only on FACE_IN_BLOCKLIST or POSSIBLE_FACE_IN_BLOCKLIST |
| Enrollment | save_api_request defaults to true; the face is enrolled and excluded from future results |
| Sandbox | Free, static Approved mock, no session persisted, no credits used |
Start free in the sandbox at business.didit.me, no sales call, and for agent-side work connect Didit to an AI assistant through the Didit MCP server. The API reference is the Face Search API page and every number is on Didit pricing.
Add Didit to Claude · Open Didit in ChatGPT · MCP setup for every client
What the endpoint actually returns
Face Search is a standalone API, not a step you configure inside a workflow. You send one image. The API embeds the largest detected face and searches it against your application-scoped index: faces enrolled from verification sessions, faces saved from earlier standalone calls, face images uploaded to User profiles, and faces on your block and allow lists. The response is a singular face_search object, not a list of per-feature results.
Each match carries similarity_percentage, the originating session_id and session_number, that session's status, its vendor_data, the user_details extracted during its document verification, is_blocklisted and is_allowlisted flags, and a source discriminator: session, imported or list_entry. A passive liveness analysis runs internally and is stored with the persisted session, but its result is not part of this response.

Prerequisites
- An application in the Didit Business Console and its API key, sent in the
x-api-keyheader. Keys are server-side secrets; a sandbox key starts withsk_test_and a live key withsk_live_. Never ship the key to a browser or a mobile bundle. - Credit on the organization for live calls, because each successful search is billed. A request without enough balance returns
403before any image processing. - A front-facing image in jpg, jpeg, png, tiff or webp, 5 MB maximum, containing at least one detectable face. PDFs are rejected.
- Something already in the index. A brand-new application has no faces to match until sessions, saved calls, profile uploads or list entries populate it.
- Optional: face blocklists and allowlists managed through the Lists API, and a
vendor_datavalue on every call so matches tie back to your own user IDs.
Step by step
- Decide the question you are asking. Deduplication and fraud ring investigation use
search_type=most_similar, the default, which ranks every enrolled face by similarity. Blocklist screening usessearch_type=blocklisted_or_approved, which restricts candidates to blocklisted faces, allowlisted faces, faces from approved sessions and imported profile faces, ranking blocklisted entries first. - Decide whether the call should be stored.
save_api_requestdefaults totrue. The call is persisted as an API-type session, visible in the console and reachable throughGET /v3/session/{sessionId}/decision/with the returnedrequest_id, and the searched face is enrolled in the index. Set it tofalsefor a one-shot answer with no trace. - Choose the image. Send the selfie your flow already captured, or any other front-facing image containing a detectable face. When several faces appear in the frame the largest bounding box wins and the response carries a
MULTIPLE_FACES_DETECTEDwarning. - Run the call. The request below is the documented shape: image, mode, persistence flag and your own user reference.
curl -X POST 'https://verification.didit.me/v3/face-search/' \ -H 'x-api-key: YOUR_API_KEY' \ -F 'user_image=@./selfie.jpg' \ -F 'search_type=most_similar' \ -F 'save_api_request=true' \ -F 'vendor_data=user-123' - Read
statusandwarningsbefore the matches.statusisDeclinedonly when aFACE_IN_BLOCKLISTorPOSSIBLE_FACE_IN_BLOCKLISTwarning fires. Duplicate warnings leave the status atApproved. - Triage matches from the top down. Compare the
user_detailsof each matched session with the identity claiming the account right now. High similarity with a different name, date of birth or document number is a case for your review policy, not a determination of who the person is, so your written policy decides whether it becomes a merge, a block or an escalation. - Handle the failure codes in the next section instead of retrying blindly. A 400 on image parsing needs a new capture, not a retry loop.
- Close the loop. A confirmed duplicate becomes a face blocklist entry, by
reference_session_idor by face upload. A trusted duplicate goes to a face allowlist. An unclear case goes to manual review with the match list attached.

Expected output
The response nests everything under face_search. Field names below are the documented ones; values are placeholders.
{
"request_id": "...",
"face_search": {
"status": "Approved",
"total_matches": N,
"matches": [
{
"session_id": "...",
"session_number": N,
"similarity_percentage": N,
"source": "session",
"vendor_data": "...",
"vendor_user_id": "...",
"verification_date": "...",
"user_details": { ... },
"match_image_url": "...",
"status": "Approved",
"is_blocklisted": false,
"is_allowlisted": false
}
],
"user_image": { "entities": [ ... ] },
"warnings": [ "DUPLICATED_FACE" ]
}
}
Three things to notice. total_matches can be zero on a clean new face. status at the top level describes this search, while the status inside a match describes the session that face came from, which is how you tell an approved account from a declined one. And warnings carries the risk codes: FACE_IN_BLOCKLIST, POSSIBLE_FACE_IN_BLOCKLIST, DUPLICATED_FACE, POSSIBLE_DUPLICATED_FACE, MULTIPLE_FACES_DETECTED.
In the sandbox the endpoint skips processing and billing: after request validation it returns a static Approved mock payload, no session is persisted and no credits are consumed. Build the integration against the shape, then test real matching with a live key on a small cohort.
Inputs and outputs
| Field | Required | What it does |
|---|---|---|
user_image | Yes | Face image to search with. jpg, jpeg, png, tiff or webp, 5 MB maximum, compressed automatically before processing. |
search_type | No | most_similar (default) or blocklisted_or_approved. |
save_api_request | No | Defaults to true. Persists the call as a session and enrolls the face. |
vendor_data | No | Your identifier for the user, returned on the persisted session and on matches. |
Idempotency-Key | No | Header parameter in the OpenAPI contract for safe retries of the same call. |
| Field | What it tells you |
|---|---|
face_search.status | Declined only on a blocklist hit, Approved otherwise, including pure duplicates. |
total_matches | How many matches came back above the similarity floor, up to 5. |
matches[].similarity_percentage | Ranking score. The floor is set by Didit, not by the request. |
matches[].session_id, session_number | The session the matched face came from, for console lookup. |
matches[].status | Status of that originating session. |
matches[].vendor_data, vendor_user_id | Your identifiers for the matched user. |
matches[].user_details | Data extracted during that session's document verification, the field to compare names and dates of birth against. |
matches[].source | session, imported or list_entry. A retained template hit, documented in the Face Search overview, returns null session and user fields. |
matches[].is_blocklisted, is_allowlisted | Whether the matched face sits on one of your lists. |
matches[].match_image_url | The matched face image. Internal storage paths when save_api_request=false. |
warnings | Risk codes that drive decline, review or information handling. |
Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
400 | No detectable face in user_image, unsupported format, or a file over 5 MB | Ask for a new capture. Do not retry the same bytes. |
403 | Missing or invalid API key, a scoped key without access, or insufficient credit balance before processing | Check the key in Developers, API keys, and top up or move to a plan with credit. |
429 | Shared write budget of 300 requests a minute per API key across POST, PATCH and DELETE | Back off and queue the calls you can defer. |
status=Declined with FACE_IN_BLOCKLIST | Definitive blocklist hit | Reject. Keep the session id for the case file. |
POSSIBLE_FACE_IN_BLOCKLIST | Borderline match under the hard threshold | Route to manual review. Do not auto-reject on this code alone. |
DUPLICATED_FACE | The face already verified under a different vendor_data | Apply your policy: merge, block, or investigate the linked account. |
MULTIPLE_FACES_DETECTED | More than one face in the frame | Information only. The largest face was searched; tighten capture if it recurs. |
| Empty match list on a busy application | The index has no comparable faces, or the call that enrolled the face used save_api_request=false | Enroll faces through sessions or profile uploads, then search again. |
Duplicate warnings are information, not a verdict
This is the part most integrations get wrong. DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACE are information-level warnings. They never decline anything by themselves. MULTIPLE_FACES_DETECTED is a warning, not a rejection. Only a blocklist match moves the search to Declined, and the blocklist decision itself comes from the Lists API, where every application gets one system blocklist per entry type and a face match declines the session automatically.
Allowlists do not override blocklists. A face on a face allowlist suppresses the duplicate action for trusted users, and Didit still records an informational allowlist warning so you can audit why the duplicate action did not run. Everything else is your policy in your application logic.

The save_api_request flag: which faces enter the index
With save_api_request=true, the default, the searched face is enrolled in your index. Faces enrolled by Face Search calls are excluded from future Face Search results, so repeated searches never match each other. That single rule keeps a re-review queue from generating a duplicate of itself, and it means you cannot use Face Search to detect the same image twice unless you deliberately turn persistence off or enroll through a session instead.
With save_api_request=false the call is one-shot: nothing is stored, the face is not enrolled, and match_image_url values come back as internal storage paths rather than downloadable URLs. Use it for high-volume pre-checks on unverified traffic where you do not want the index polluted by people who never finished onboarding.
One more asymmetry matters for deduplication design: unlike Passive Liveness, Face Search does not exclude prior sessions with the same vendor_data from matching. A returning user matches their own history on purpose, which is exactly what a returning-user flow needs.
Investigating a fraud ring
A fraud ring shows up as a cluster, not a single duplicate. Run search_type=most_similar on each suspicious account and read the match list as a graph: two accounts that both match a third face are likely the same person, and a run of recent sessions sharing one enrolled face is a farm. Pull user_details from each matched session, compare document numbers and dates of birth, and check for the same device and IP signals in the console before you act. Multiple faces detected in repeated captures is another cluster signal worth reviewing by hand.
The same matching happens automatically during verification. The liveness selfie, and the silent-capture selfie taken while the document is photographed, both run through the 1:N search. A blocklist match raises FRONT_CAMERA_FACE_IN_BLOCKLIST and is always declined; a match with an approved user raises FRONT_CAMERA_DUPLICATED_FACE, with name and document mismatch variants when the details disagree. The standalone API is how you ask the same index the same question outside a session.
Paid steps and review boundaries
- Face Search API: $0.05 per search at list price, $0.048 on Growth and $0.045 on Scale. Each
200response consumes one Face Search credit; failed calls do not. The 1:N search that runs automatically inside a verification session is documented as free with identity verification; the standalone call is the price-book line. - The verification around it: a full ID check is $0.33 at list price, made of ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03.
- Sandbox: free on every plan, static mock payload, nothing persisted and nothing billed.
- Automatic decline: blocklist matches only. Everything else needs your decision logic or a reviewer.
- Manual review queue:
POSSIBLE_FACE_IN_BLOCKLIST,POSSIBLE_DUPLICATED_FACE, the front-camera warning variants returned during session-time search, and repeatedMULTIPLE_FACES_DETECTED.
Worked cost example
An application onboards 12,000 users a month. Each signup runs one full ID check and one face search, and the review team runs another 1,500 searches against accounts flagged by other signals. That is 13,500 face searches and 12,000 full ID checks.
At list price: 13,500 x $0.05 = $675.00 for searches, and 12,000 x $0.33 = $3,960.00 for full ID checks. Total $4,635.00 a month.
On Growth, prices are 4% lower: 13,500 x $0.048 = $648.00, and 12,000 x $0.3168 = $3,801.60. Total $4,449.60 of usage plus the $99 monthly fee, with $115 of monthly credit paying the first $115 of it.
Sources
- Face Search API reference, Didit documentation
- Face Search 1:N overview, Didit documentation
- Face Search warnings catalogue, Didit documentation
- Lists API: blocklists and allowlists, Didit documentation
- Import data from another provider, Didit documentation
- API authentication, Didit documentation
- Pricing in the docs, Didit documentation
- Didit pricing page and pricing as JSON, read November 26, 2026
- Didit MCP server, Didit developers
- Product screens used in this post come from the Didit image catalog: the verification face capture preview, the session liveness detail and the session overview in the Didit Business Console, read November 26, 2026
Next step: open the sandbox at business.didit.me, create an application, and send your first search with a sandbox key. No sales call, no contract, and the sandbox stays free while you build.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
Does 1:N face search decline a duplicate account automatically?
No. DUPLICATED_FACE and POSSIBLE_DUPLICATED_FACE are information-level warnings, and the search status stays Approved. Only a blocklist hit sets the status to Declined. Your application has to apply its own deduplication policy to duplicate matches.
What does save_api_request=false do to the face I search with?
The call becomes one-shot. Nothing is stored, the face is not enrolled in your index, and match_image_url values are internal storage paths rather than downloadable URLs. No session appears in the console for that call.
Why does searching the same selfie twice not return the first search as a match?
Because save_api_request defaults to true and faces enrolled by Face Search calls are excluded from future Face Search results. Repeated searches never match each other, which keeps test traffic and re-review queues from inflating duplicates.
What is the difference between search_type=most_similar and blocklisted_or_approved?
most_similar ranks every enrolled face by similarity and is the mode for deduplication and fraud ring investigation. blocklisted_or_approved restricts candidates to blocklisted faces, allowlisted faces, faces from approved sessions and imported profile faces, ranking blocklisted entries first, and is the mode for blocklist screening.
How many matches come back and how is the similarity floor set?
Up to five matches above the similarity floor, ranked by similarity_percentage. The floor is a Didit-side threshold, not a request parameter, so you cannot tune it per call from the request body.
What does a list_entry source mean on a match?
It means the matched face came from a list you manage, not from a verification session or an imported profile face. A session source is a face enrolled through a verification or saved standalone API session. An imported source is an imported or profile face.
Can I run a face search without creating a verification session?
Yes. Face Search is a standalone API, so you can call POST /v3/face-search/ with just an image. The index it searches is still built from your application's sessions, saved standalone calls, profile face uploads and list entries, so a brand-new application returns no matches until something is enrolled.
How much does one face search cost, and is it charged on failed calls?
$0.05 per search at list price, $0.048 on Growth and $0.045 on Scale, billed per 200 response. A 400, 403 or 429 does not consume a credit, and sandbox calls are never billed.
Can I search faces I imported from another KYC provider?
Yes. Profile face images uploaded to a User are indexed for duplicate detection and face search, so you can migrate trusted faces without recreating full sessions. Review the import guide to pick the right path between historical sessions and operating data.
What happens when the image contains more than one face?
The largest detected bounding box is the one embedded and searched, and the response carries a MULTIPLE_FACES_DETECTED warning. It is a warning only and does not decline the search. If it fires often, tighten your capture step.
Which results should a human review rather than the code?
Borderline blocklist matches (POSSIBLE_FACE_IN_BLOCKLIST), possible duplicates that disagree on identity details, and the front-camera mismatch warnings returned during session-time search. Definitive blocklist hits can be rejected automatically, and clean duplicates follow your written policy.
How do I test this without spending credit?
Use a sandbox application key. The sandbox returns a static Approved mock payload after request validation, persists no session and consumes no credits, so you can build the parsing and decision logic for free before switching to a live key.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


