The same ArcFace-powered engine behind Dollganger — available as a REST API for developers and businesses.
curl -X POST https://dollganger.com/api/search/ \ -H "X-API-Key: YOUR_API_KEY" \ -F "file=@portrait.jpg"
import requests with open("portrait.jpg", "rb") as f: response = requests.post( "https://dollganger.com/api/search/", headers={"X-API-Key": "YOUR_API_KEY"}, files={"file": f} ) data = response.json() for match in data["matches"]: print(match["name"], match["confidence"])
const form = new FormData(); form.append("file", fileInput.files[0]); const res = await fetch("https://dollganger.com/api/search/", { method: "POST", headers: { "X-API-Key": "YOUR_API_KEY" }, body: form }); const { matches } = await res.json(); matches.forEach(m => console.log(m.name, m.confidence));
| Parameter | Type | Description |
|---|---|---|
| X-API-Key | required | Your API key |
| Parameter | Type | Description |
|---|---|---|
| file | required | Portrait image (JPG, PNG, WEBP, max 10MB) |
| limit | optional | Number of results (default: 10, max: 50) |
| category | optional | Filter by category (celebrity, historical, fictional) |
{
"matches": [
{
"id": 42,
"name": "Ada Wong",
"category": "fictional",
"confidence": 87.4,
"image_url": "https://...",
"source_url": "https://..."
}
],
"query_time_ms": 312
}| Parameter | Type | Description |
|---|---|---|
| category | optional | Filter by category |
| limit | optional | Page size (default: 50) |
| offset | optional | Pagination offset |
Email us and we'll set you up with an API key within 24 hours.