# SightRadar Documentation

> Developer documentation for the SightRadar face recognition API: quickstart, concepts, guides, official SDKs, and a per-endpoint reference generated from the OpenAPI 3.1 specification. Every page has a Markdown twin at the same URL with a .md suffix.

Source: https://sightradar.com/docs

- Base URL: `https://api.sightradar.com`
- Auth: `Authorization: Bearer <api-key>` (keys formatted `frs_<prefix>_<secret>`).
- Machine-readable spec: https://api.sightradar.com/openapi.json (OpenAPI 3.1). Interactive playground: https://sightradar.com/docs/playground

## Start here

- Quickstart: https://sightradar.com/docs/quickstart · https://sightradar.com/docs/quickstart.md
- Authentication: https://sightradar.com/docs/authentication
- Core concepts (collections, faceprints, similarity, real-time vs batch, idempotency): https://sightradar.com/docs/concepts
- Sending images (url / gcsKey / multipart / raw bytes, formats, 30 MB cap, quality gate): https://sightradar.com/docs/images
- Billing and credits: https://sightradar.com/docs/billing
- Errors and status codes: https://sightradar.com/docs/errors

## Guides

- Batch indexing and webhooks (HMAC-SHA256 signatures, at-least-once delivery, dead letters, failed-photo requeue): https://sightradar.com/docs/guides/batch-and-webhooks
- Selfie registration and search-by-id: https://sightradar.com/docs/guides/selfie-registration
- Choosing a similarity threshold: https://sightradar.com/docs/guides/thresholds
- Deleting data (soft / immediate / compliance, restore, deletion status): https://sightradar.com/docs/guides/deleting-data
- Migrate from AWS Rekognition: https://sightradar.com/docs/guides/migrate-from-rekognition

## SDKs

- Python (`pip install sightradar`): https://sightradar.com/docs/sdks/python
- Node / TypeScript (`npm install sightradar`): https://sightradar.com/docs/sdks/node
- Rekognition shim for boto3 code (`pip install sightradar-rekognition-shim`): https://sightradar.com/docs/sdks/rekognition-shim

## API reference

Generated from the OpenAPI spec, one page per endpoint: https://sightradar.com/docs/api

- `POST /v1/collections` — create a collection (free): https://sightradar.com/docs/api/collections/create-a-collection
- `POST /v1/collections/{id}/index` — index faces in a photo (billable): https://sightradar.com/docs/api/faces/index-faces-from-a-photo
- `POST /v1/collections/{id}/search` — search by selfie (billable): https://sightradar.com/docs/api/faces/search-a-collection
- `POST /v1/collections/{id}/search-by-id` — search by a registered selfie's point id: https://sightradar.com/docs/api/faces/search-by-a-stored-selfie-point-id
- `POST /v1/collections/{id}/selfies` — register a selfie: https://sightradar.com/docs/api/selfies/register-a-selfie
- `DELETE /v1/collections/{id}/selfies/{selfieId}` — delete one selfie (free, immediate): https://sightradar.com/docs/api/selfies/delete-one-selfie
- `DELETE /v1/collections/{id}/users/{userId}` — delete every selfie of a user (free, immediate): https://sightradar.com/docs/api/selfies/delete-every-selfie-of-a-user
- `POST /v1/compare` — 1:1 face comparison: https://sightradar.com/docs/api/faces/compare-two-faces
- `POST /v1/detect` — detect and quality-gate faces without storing: https://sightradar.com/docs/api/faces/detect-faces
- `POST /v1/batches` — bulk import, up to 1,000 URL-only photos per call, per-photo webhook results: https://sightradar.com/docs/api/batch/submit-a-batch-job
- `GET /v1/wallet` — current credit balance: https://sightradar.com/docs/api/wallet-and-usage/get-credit-balance
- Collections, batch, webhooks, wallet & usage, health: https://sightradar.com/docs/api/collections · https://sightradar.com/docs/api/batch · https://sightradar.com/docs/api/webhooks · https://sightradar.com/docs/api/wallet-and-usage · https://sightradar.com/docs/api/health

Rekognition-compatible operations (CreateCollection, IndexFaces, SearchFacesByImage, SearchFaces, CompareFaces, DetectFaces, ListCollections/DeleteCollection) have SightRadar equivalents; on Python the official shim keeps your boto3 calls. Migrate: https://sightradar.com/migrate
