Skip to main content
1

Get an API key

Sign in at app.spoofsense.ai and create a key under Dashboard → API keys. Keys look like sk_live_… and are shown once — we store only a hash.
The secret key must only ever live on your server. Never ship it in a browser, mobile app, or public repo.
2

Run a liveness check

Send any face image — as a file, base64 JSON, or a URL. See Image inputs for all formats.
3

Read the decision

Response
Act on decision ("real" or "spoof"). genuine_score and threshold are there for tuning and audit — see Thresholds & scores.
4

Try deepfake detection, or both at once

Same request shape, different endpoint:
/v1/unified_detection runs both checks and returns decision: "real" only when every check passes, plus a per-product checks object.

Next steps

Verify live users with the SDKs

For onboarding/KYC, don’t upload user images yourself — let the SDK capture from the camera with injection protection.

API reference

Every endpoint, parameter, and response field.