Multiavatar API
12 Billion Unique Multicultural Avatars
Names-based avatars in vector SVG and raster PNG formats for your website, community, or an app
Powered by Multiavatar
Examples
To get an avatar as SVG file, add .svg to the end of the URL:
https://api.multiavatar.com/Binx Bond.svg
Result (content-type: image/svg+xml)



To get an avatar as PNG file, add .png to the end of the URL:
https://api.multiavatar.com/Binx Bond.png
Result (content-type: image/png)



To get an avatar as SVG code, pass the avatar's ID as the URL parameter:
https://api.multiavatar.com/Binx Bond
Result (content-type: text/html)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 231 231"><path M33.83,33.83a115.5,115.5... ...></svg>



JavaScript API call example to get SVG code:
let avatarId = 'Binx Bond'
fetch('https://api.multiavatar.com/'
+JSON.stringify(avatarId))
  .then(res => res.text())
  .then(svg => console.log(svg))
Result (content-type: text/html)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 231 231"><path M33.83,33.83a115.5,115.5... ...></svg>
Limits
Default API limits for unauthenticated users are 10 calls per minute.

Sign up for the Multiavatar account and use your personal API key to increase the limits to 100 calls per minute. You will find the API key in your account settings.

Pass the API key as the URL parameter:
https://api.multiavatar.com/Starcrasher.png?apikey=YOUR_API_KEY
License
You can use Multiavatar for free for non-commercial and commercial purposes.
For details, please refer to the license.
Updates
Join our mailing list to get the latest news about Multiavatar.
hi@multiavatar.com
Multiavatar v1.0 © 2020-2021