Dicebear Avatars
Generate random pixel-art avatars
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- No
- Category
- Test Data
- Documentation / URL
- https://avatars.dicebear.com/
Overview
DiceBear generates cute, consistent avatars from a seed string — dozens of styles (avataaars, bottts, identicon, pixel-art, lorelei…) as SVG or PNG. Keyless and free, it’s the go-to for placeholder avatars, user defaults, and fun profile pictures.
⚠️ Breaking change (verified 2026-08): the legacy path
avatars.dicebear.com/api/...returns HTTP 410 Gone — the API moved tohttps://api.dicebear.com/7.x/...(verified live). Use the new host and versioned path.
Quick Start
An SVG avatar (new API, verified live):
curl "https://api.dicebear.com/7.x/avataaars/svg?seed=example"
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 280" ...></svg>
PNG format:
curl "https://api.dicebear.com/7.x/avataaars/png?seed=example"
Different styles:
curl "https://api.dicebear.com/7.x/bottts/svg?seed=robot"
curl "https://api.dicebear.com/7.x/identicon/svg?seed=alice"
curl "https://api.dicebear.com/7.x/pixel-art/svg?seed=mario"
Authentication
None — keyless.
Rate Limits & Notes
- Free; the API is a simple image service — hotlink-friendly (intended for
<img>tags). seeddetermines the avatar — same seed, same avatar (deterministic).- Styles:
avataaars,bottts,identicon,pixel-art,lorelei,adventurer,thumbs, and more (see the docs). - Old URLs (
/api/{style}/{seed}.svg) return 410 — migrate to/7.x/{style}/svg?seed=.
FAQ
Is DiceBear free? Yes — free and keyless.
Why do old URLs return 410?
The API moved to a versioned host (api.dicebear.com/7.x/...) — the legacy path is gone.
Can I use it for user avatars? Yes — deterministic seeds mean the same user always gets the same avatar.
More in Test Data
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AddressMock Random US, Hong Kong and Cape Verde addresses with matched city, state and ZIP | No auth | Yes | Yes | ↗ |
| Bacon Ipsum A Meatier Lorem Ipsum Generator | No auth | Yes | Unknown | ↗ |
| DummyJSON Fake REST API with products, users, posts, comments, todos and more | No auth | Yes | Yes | ↗ |
| English Random Words Generate English Random Words with Pronunciation | No auth | Yes | No | ↗ |
| FakeJSON Service to generate test and fake data | API Key | Yes | Yes | ↗ |