Introduction
FR-APIaaS is a REST API that adds face recognition capabilities to any application, regardless of the language or framework you use. Send an image, get back a result. No ML infrastructure to manage, no model training required.
What you can build
🏢
Access Control
Replace keycards or PINs with face-based door/gate access. Enroll employee faces once, identify in real time.
🪪
Identity Verification
Verify that a selfie matches a stored profile photo. Useful for KYC, onboarding, or re-authentication flows.
📋
Attendance Systems
Automate check-in by recognizing faces from a camera feed without any manual interaction.
🔍
Watchlist Screening
Search an uploaded face against a curated list and receive a match score instantly.
🖼️
Photo Deduplication
Find duplicate or near-duplicate face photos across a large media library.
🛡️
Anti-Fraud
Block spoofing attempts (printed photos, screen replays) during account registration or login.
How it works
The API is organized around Face Collections: isolated groups of enrolled faces, one per application, tenant, or use-case. Here's the basic flow:
- Create a collection: a named bucket that holds all enrolled faces for a specific use-case.
- Enroll faces: upload a photo with your own identifier (e.g. a user ID). The API handles detection, quality checks, and storage automatically.
- Verify or identify: call
/verifyto check if two faces match (1:1), or/identifyto find who a face belongs to from your enrolled set (1:N).
FR-APIaaS Dashboard Overview
The dashboard lets you manage collections, API keys, usage stats, and team members.
API capabilities
- Face enrollment: Register people into a collection with custom metadata. Supports batch uploads.
- 1:1 Verification: Compare two face images or verify a probe against an enrolled face ID.
- 1:N Identification: Search your collection and return the top-K most similar faces with similarity scores.
- Liveness detection: Passively detect spoofing attempts (printed photos, screen replays) before enrollment or as a standalone check.
- Scoped API keys: Each integration gets its own key, scoped to a specific collection, with configurable rate limits and IP whitelisting.
- Webhooks: Receive real-time HTTP notifications when faces are enrolled, identified, or liveness checks fail.
Authentication overview
The API uses two authentication modes:
- Bearer JWT: for dashboard and management calls (create collections, manage members, view usage). Obtained via the login endpoint.
- API Key (
X-API-Keyheader) for recognition endpoints (enroll, verify, identify, liveness). Issue one key per integration from the dashboard.
Base URL
https://your-domain.com/api/v1Recognition endpoints are scoped to a collection:
POST /api/v1/collections/{collection_id}/identify
POST /api/v1/collections/{collection_id}/verify
POST /api/v1/collections/{collection_id}/facesWorks with any stack
FR-APIaaS is a plain HTTP REST API. It works from any language or framework that can make HTTP requests and handle multipart/form-data file uploads:
Node.jsPythonPHPGoRubyJavaSwiftKotlincURLPostman
See the Quick Start guide for code examples in multiple languages.