ShoeCare API

A care advisor for shoes: what is visible, a spot-test-first routine, no guarantees. Machine-readable spec: /api/openapi.json.

Authenticate

curl -H "Authorization: Bearer $SHOECARE_KEY" https://shoecare.sensifai.com/api/v1/meta

Create keys on the dashboard under Settings. Only POST /api/v1/analyses is billed, and only once the report is delivered.

Analyse a pair of shoes

curl -X POST -H "Authorization: Bearer $SHOECARE_KEY" \
  -F [email protected] -F [email protected] -F [email protected] \
  -F roles=overview,stain,label \
  -F 'facts={"materials":["suede_nubuck"],"supplies":["suede_brush","microfibre_cloth"]}' \
  https://shoecare.sensifai.com/api/v1/analyses
# 202 {"job_id":"...","analysis_id":"...","poll":"/api/v1/jobs/..."}
curl -H "Authorization: Bearer $SHOECARE_KEY" https://shoecare.sensifai.com/api/v1/jobs/JOB_ID
curl -H "Authorization: Bearer $SHOECARE_KEY" https://shoecare.sensifai.com/api/v1/analyses/JOB_ID

Send one to four JPEG or PNG photos with a role each: overview (the whole shoe), stain (the worst mark, close up), label (the care label) or sole. A photo that cannot be used is refused with 422 before anything is charged.

Check photos first (free)

curl -X POST -H "Authorization: Bearer $SHOECARE_KEY" \
  -F [email protected] -F roles=label \
  https://shoecare.sensifai.com/api/v1/preview