---
description: Get Random Avatars API for free
---

# Random Avatar

## APIs for Generating Random User Avatars

### DiceBear Avatars



[DiceBear](https://avatars.dicebear.com/) offers avatars based on hash values. These avatars are served as SVGs, providing a wide range of customization options. Here are a few examples:



* `api.dicebear.com/7.x/pixel-art/svg`
* `api.dicebear.com/7.x/bottts/png`
* `api.dicebear.com/7.x/lorelei/svg`



![Generated avatar for https://api.dicebear.com/7.x/pixel-art/svg](https://api.dicebear.com/7.x/pixel-art/svg)`api.dicebear.com/7.x/pixel-art/svg`

![Generated avatar for https://api.dicebear.com/7.x/bottts/png](https://api.dicebear.com/7.x/bottts/png)`api.dicebear.com/7.x/bottts/png`

![Generated avatar for https://api.dicebear.com/7.x/lorelei/svg](https://api.dicebear.com/7.x/lorelei/svg)`api.dicebear.com/7.x/lorelei/svg`



\


### RoboHash

[RoboHash](https://robohash.org/) provides hash-dependent avatars in a Futurama style, although they are served as PNGs. You can generate avatars with URLs like these:

RoboHash Avatars

* ![Generated avatar for https://robohash.org/stefan-one](https://robohash.org/stefan-one)`robohash.org/stefan-one`
* ![Generated avatar for https://robohash.org/stefan-two](https://robohash.org/stefan-two)`robohash.org/stefan-two`
* ![Generated avatar for https://robohash.org/stefan-three](https://robohash.org/stefan-three)`robohash.org/stefan-three`

### Random Users

[Random Users](https://xsgames.co/randomusers/) offers realistic user avatars that are useful for creating realistic mocks and wireframes. Here are some examples:

* [Male Avatar](https://xsgames.co/randomusers/avatar.php?g=male)
* [Female Avatar](https://xsgames.co/randomusers/avatar.php?g=female)
* [Pixel Avatar](https://xsgames.co/randomusers/avatar.php?g=pixel)

Random Users Images

* ![Generated avatar for https://xsgames.co/randomusers/avatar.php?g=male](https://xsgames.co/randomusers/avatar.php?g=male)`xsgames.co/randomusers/avatar.php?g=male`
* ![Generated avatar for https://xsgames.co/randomusers/avatar.php?g=female](https://xsgames.co/randomusers/avatar.php?g=female)`xsgames.co/randomusers/avatar.php?g=female`
* ![Generated avatar for https://xsgames.co/randomusers/avatar.php?g=pixel](https://xsgames.co/randomusers/avatar.php?g=pixel)`xsgames.co/randomusers/avatar.php?g=pixel`

### Multiavatar API

[Multiavatar](https://multiavatar.com/) is another API that generates unique avatars based on hash values. They offer a variety of styles, including male, female, and neutral avatars. Here are some examples:



* `xsgames.co/randomusers/avatar.php?g=male`
* `xsgames.co/randomusers/avatar.php?g=female`
* `xsgames.co/randomusers/avatar.php?g=pixel`



Multiavatar API

* ![Generated avatar for https://api.multiavatar.com/stefan.svg](https://api.multiavatar.com/stefan.svg)`api.multiavatar.com/stefan.svg`
* ![Generated avatar for https://api.multiavatar.com/kathrin.svg](https://api.multiavatar.com/kathrin.svg)`api.multiavatar.com/kathrin.svg`
* ![Generated avatar for https://api.multiavatar.com/zoe.svg](https://api.multiavatar.com/zoe.svg)`api.multiavatar.com/zoe.svg`





\


### Boring avatars <a href="#boring-avatars" id="boring-avatars"></a>

In reality, [boring avatars](https://boringavatars.com/) is a React package for creating avatars, but the maintainers also provide an API endpoint!

Six distinct styles, adjustable colors, and size control make the API shine! The beam style is also really adorable.\


Boring avatars

* ![Generated avatar for https://source.boringavatars.com/beam/120/Stefan?colors=264653,f4a261,e76f51](https://source.boringavatars.com/beam/120/Stefan?colors=264653,f4a261,e76f51)`source.boringavatars.com/beam/120/Stefan?colors=264653,f4a261,e76f51`
* ![Generated avatar for https://source.boringavatars.com/bauhaus/120/Stefan?colors=264653,2a9d8f,e9c46a](https://source.boringavatars.com/bauhaus/120/Stefan?colors=264653,2a9d8f,e9c46a)`source.boringavatars.com/bauhaus/120/Stefan?colors=264653,2a9d8f,e9c46a`
* ![Generated avatar for https://source.boringavatars.com/pixel/120/Stefan?colors=26a653,2a1d8f,79646a](https://source.boringavatars.com/pixel/120/Stefan?colors=26a653,2a1d8f,79646a)`source.boringavatars.com/pixel/120/Stefan?colors=26a653,2a1d8f,79646a`

***

These APIs offer a convenient way to generate random user avatars for various applications. Whether you need simple geometric avatars or more complex and realistic ones, these services have you covered.
