ID Document Liveness
Faceplugin ID Document Liveness HTTP API. POST /api/documentLiveness on port 8086. Authenticity only — OCR, MRZ, and barcode are off.
This API runs document authenticity (anti-spoofing) only. It does not return OCR fields, MRZ lines, or barcodes.
It runs on Docker image faceplugin/document-liveness on port 8086.
Shared routes (including GET /api/licenseStatus): Shared endpoints.
If you need fields and authenticity together, call ID Document Recognition HTTP API documentProcess with a Liveness-capable license. Document Reader on port 8082 also exposes POST /api/documentLiveness as authenticity-only.
Install and run: ID Document Liveness Linux SDK.
Try it
curl -s -X POST http://127.0.0.1:8086/api/documentLiveness \
-H 'Content-Type: application/json' \
-d "{\"images\":[{\"image\":\"$(base64 -w0 id.jpg)\"}]}"POST /api/documentLiveness
{
"images": [
{ "image": "<BASE64>", "page_idx": 0 },
{ "image": "<BASE64>", "page_idx": 1 }
]
}Repeated file field images (or a single image / file). Same URL.
A lone "image" field becomes a one-page list. Optional options or top-level response are forwarded. The product always requests authenticity. OCR / MRZ / barcode stay off.
Input
One or more page images (base64). Front and back are supported.
Return value
Engine JSON from sdk.document_liveness.
Security field names: Document security check fields.
Related documentation
Last updated