To get an avatar as SVG code, pass the avatar's ID as the URL parameter:
let avatarId = 'Binx Bond'
.then(res => res.text())
.then(svg => console.log(svg))
To get an avatar as SVG file, add .svg to the end of the URL:
To get an avatar as PNG file, add .png to the end of the URL:
20 requests per minute. For limits increase, please contact.
More info: https://multiavatar.com