Back to APIs
DiceBear
DiceBear generates deterministic SVG avatars from any seed string — pick from 50+ styles including pixel art, illustrated characters, and abstract shapes.
Base URL
https://api.dicebear.com/9.xavatarsSVGgeneratedfreeno auth
Endpoints
GET
/{style}/svgGenerate an SVG avatar using a style and seed.
const response = await fetch("https://api.dicebear.com/9.x/adventurer/svg?seed=Felix&radius=50", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
});
const data = await response.json();
console.log(data);Response Preview
// Returns SVG image data <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"> <!-- Deterministic avatar based on seed "Felix" --> <circle cx="60" cy="60" r="50" fill="#b6e3f4"/> ... </svg>