Avatar API

Hash an email address, ask us for a size, and get that person's headshot back. No upload, no account, no key.

The avatar returned for info@webforactors.com

That image is this page calling the endpoint on itself.

How it works

Take the email address, lowercase it, trim it, and take the md5 of the result. Put that hash and the size you want into the URL. That is the whole interface.

The idea is that nobody should have to upload the same headshot to yet another site. Hand over an email address and the picture comes with it. For an actor that picture should be the signature headshot, the same one on the website and on every social profile, because using a different photo in each place is the opposite of branding.

Request an avatar

Drop it straight into an img tag.

<img src="https://ws.webforactors.com/avatar/46ac03ba7b3e01c409ca7daabc9a21a6/680x680">

Build the hash

In PHP, three lines.

$email = "info@webforactors.com";
$hash  = md5( strtolower( trim( $email ) ) );
echo $hash;   // 46ac03ba7b3e01c409ca7daabc9a21a6

Available sizes

Anything else is rejected, so pick one of these five.

640x360 680x680 680x800 720x540 1440x1080

Want your own headshot behind that hash?

Build a free actor website, upload your signature headshot once, and every service that asks us for your email gets the right picture.

Build mine free