POST /api/v1/image/profilecurl -X POST "https://avatarlookup.com/api/v1/image/profile" \
-H "X-API-Key: sk_your_api_key" \
-F "file=@avatar.jpg"product image_profile
Upload any picture and get its portrait attributes: estimated age, gender, image type, hair colour and skin tone.
POST /api/v1/image/profileAPI contract
Upload one picture as a multipart file field named file. Authentication uses your API key.
Copy the curl command below and replace only the example API key with your own.
POST /api/v1/image/profilecurl -X POST "https://avatarlookup.com/api/v1/image/profile" \
-H "X-API-Key: sk_your_api_key" \
-F "file=@avatar.jpg"200 OK{
"code": 0,
"msg": "ok",
"data": {
"product": "image_profile",
"identifier": "img:7013df96c540904a4b7ba295e9162ab2",
"extra": {
"category": "individual portrait",
"gender": "male",
"age": "39",
"skin_color": "white",
"hair_color": "brown"
}
}
}Use the result well
One image per request, as a multipart file field named file. JPEG, PNG, WebP or GIF, up to 2 MB. There is no phone number or email address involved — the answer describes the picture, not an account.
category tells you what the picture is. Pictures of pets, cartoons, landscapes or objects are recognized and charged, but they carry no age and no gender — that is a result, not a failure.
The image is passed straight to recognition and never stored. identifier is a fingerprint derived from the picture's content, so the same picture always yields the same value — use it to deduplicate on your side.
What it checks
identifier · string — Fingerprint of the submitted picture, derived from its content. The same picture always yields the same value.extra.category · string — What the picture is: individual portrait, group photo, game avatar, cartoon avatar, landscape, pet avatar or object.extra.gender · string — male, female or unknown.extra.age · number — Estimated age, accurate to about 3 years and clamped to 0-80. Empty when no gender was determined — there is no placeholder number.extra.skin_color · string — Descriptive skin tone, for example white, east_asian or hispanic. Treat it as an open set.extra.hair_color · string — Descriptive hair colour, for example black, brown, blond or gray white. Treat it as an open set.Best for
Direct answer
Image Profile returns the picture's own attributes: image type, gender, estimated age, skin tone and hair colour. Post one picture to the image endpoint as a multipart file field named file, and read the extra object in the same API response. No identifier is involved.
Clear boundaries
Product FAQ
It returns the picture's own attributes: image type, gender, estimated age, skin tone and hair colour, in the same synchronous response.
Balance is charged for every picture that comes back with a result, including pets, cartoons and landscapes. Only a picture that cannot be read at all is not charged.
JPEG, PNG, WebP or GIF, up to 2 MB per picture. The type is decided from the file's own content, not its extension.
No. The image is passed straight to recognition and never written to disk or object storage. Only the fingerprint derived from its content is kept on the check record.
Related products
ws_avatarWhatsApp Avatar ProfileCheck whether a phone number has a public WhatsApp avatar, get the image URL, and read the portrait attributes of that avatar.email_avatarEmail Avatar ProfileCheck whether an email account has a public avatar and read its portrait attributes. Covers Gmail, Yandex and Mail.ru.Create an account to use every product from the SaaS dashboard or the API: realtime checks and async bulk checks draw on the same balance.