Run or poll a face search for an uploaded picture.
POST/api/search
- Takes: Image
- Passive: the target is not contacted
- Cost: 3 credits per search
Call about once per second until output appears. While running it returns progress and message; when done, output.items. demo=true scans only 100,000 faces and deducts no credits.
Request body (JSON) · 4ShowHide
id_search
Search id returned by the upload call
with_progress
Return progress while the search runs
status_only
Return status without results
demo
Testing mode: 100,000 faces, no credits deducted
Response fields · 6ShowHide
progress
Search progress while running
message
Status message
error
Error text on failure
score
Match score, 0 to 100
url
Source page of the match
base64
Thumbnail, base64
curl -X POST 'https://facecheck.id/api/search' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"id_search":"EXAMPLE_SEARCH_ID","with_progress":true,"status_only":false,"demo":true}'{
"output": {
"items": [
{
"score": 87,
"url": "https://example.com/profile",
"base64": "BASE64_THUMBNAIL"
}
]
}
}