AntiqueLens API
Photographs in, museum records and the evidence out. A resemblance is not an authentication and no price is stated. Machine-readable spec: /api/openapi.json.
Authenticate
curl -H "Authorization: Bearer $ANTIQUELENS_KEY" https://antiquelens.sensifai.com/api/v1/reports
Create keys on the dashboard under Settings. Only POST /api/v1/reports is billed, and only once the report is delivered.
Start a report
curl -X POST -H "Authorization: Bearer $ANTIQUELENS_KEY" \ -F [email protected] -F labels=front -F [email protected] -F labels=base \ -F title="Attic vase" -F category=ceramics \ https://antiquelens.sensifai.com/api/v1/reports # 202 {"job_id":"...","poll":"/api/v1/jobs/..."} curl -H "Authorization: Bearer $ANTIQUELENS_KEY" https://antiquelens.sensifai.com/api/v1/reports/JOB_ID
Search the collections (free)
curl -X POST -H "Authorization: Bearer $ANTIQUELENS_KEY" -H "Content-Type: application/json" \
-d '{"query":"blue and white vase","category":"ceramics"}' \
https://antiquelens.sensifai.com/api/v1/lookup