API Access

Face matching,
built into your app

The same ArcFace-powered engine behind Dollganger — available as a REST API for developers and businesses.

Plans
Hobby
€0 / month
For personal projects and testing.
  • 100 requests / month
  • Standard response time
  • Public database access
Enterprise
Custom
For high-volume or white-label integrations.
  • Unlimited requests
  • SLA guarantee
  • Custom database / your own data
  • Dedicated support
  • White-label option
Quick Start
curl
curl -X POST https://dollganger.com/api/search/ \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file=@portrait.jpg"
python
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"])
javascript
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));
API Reference
POST /api/search/ Find lookalikes from a photo
ParameterTypeDescription
X-API-KeyrequiredYour API key
ParameterTypeDescription
filerequiredPortrait image (JPG, PNG, WEBP, max 10MB)
limitoptionalNumber of results (default: 10, max: 50)
categoryoptionalFilter by category (celebrity, historical, fictional)
response
{
  "matches": [
    {
      "id": 42,
      "name": "Ada Wong",
      "category": "fictional",
      "confidence": 87.4,
      "image_url": "https://...",
      "source_url": "https://..."
    }
  ],
  "query_time_ms": 312
}
GET /api/persons List available persons
ParameterTypeDescription
categoryoptionalFilter by category
limitoptionalPage size (default: 50)
offsetoptionalPagination offset

Ready to integrate?

Email us and we'll set you up with an API key within 24 hours.

Get API access →