Avatars by GXB

Universal email avatars for apps

Shape:
Size:
Framework:

How It Works

Request an avatar for any email address. We check multiple sources in order and return the best match:

Every request returns a 302 redirect to a CDN-hosted image. Fast, cacheable, and reliable.

API

Get an avatar

GET https://avatars.gxb.vc/{email}?size={size}

Also available at /avatar/{email} for backwards compatibility. The @ in the email can be literal or URL-encoded as %40.

Parameter Type Description
email string Email address or MD5 hash
size integer Image size in pixels. Default: 80. Snaps to nearest: 16, 24, 32, 48, 64, 80, 96, 128, 200, 256, 512

Response

Returns a 302 Found redirect to a CDN-hosted PNG image.

Usage Examples

Shape:
Size:
Framework:

Built by GXB