DiceBear
Deterministic avatar SVG/JSON
DiceBear generates avatars from a seed across many styles. JSON routes return image URLs and metadata — no API key.
GET https://api.dicebear.com/7.x/pixel-art/json?seed=test
{
"svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\" shape-rendering=\"crispEdges\"><metadata xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:dcterms=\"http://purl.org/dc/terms/\"><rdf:RDF><rdf:Description><dc:title>Pixel Art</dc:title><dc:creator>DiceBear</dc:creator><dc:source xsi:type=\"dcterms:URI\">https://www.figma.com/community/file/1198754108850888330</dc:source><dcterms:license xsi:type=\"dcterms:URI\">https://creativecommons.org/publicdomain/zero/1.0/</dcterms:license><dc:rights>„Pixel Art” (https://www.figma.com/community/file/1198754108850888330) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)</dc:rights></rdf:Description></rdf:RDF></metadata><mask id=\"viewboxMask\"><rect width=\"16\" height=\"16\" rx=\"0\" ry=\"0\" x=\"0\" y=\"0\" fill=\"#fff\" /></mask><g mask=\"url(#viewboxMask)\"><path d=\"M4 2h8v1h1v3h1v2h-1v3h-1v1H9v1h4v1h1v2H2v-2h1v-1h4v-1H4v-1H3V8H2V6h1V3h1V2Z\" fill=\"#e0b687\"/><path d=\"M4 2h8v1h1v3h1v2h-1v3h-1v1H4v-1H3V8H2V6h1V3h1V2Z\" fill=\"#fff\" fill-opacity=\".1\"/><path d=\"M6 14H4v1H3v1h4v-1H6v-1ZM12 15h1v1H9v-1h1v-1h2v1Z\" fill=\"#ffeead\"/><path fill=\"#fff\" d=\"M4 5h3v2H4z\"/><path fill=\"#697b94\" d=\"M5 6h1v1H5z\"/><path fill=\"#fff\" d=\"M9 5h3v2H9z\"/><path fill=\"#697b94\" d=\"M10 6h1v1h-1z\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 5H2v1h1v2h4V7h2v1h4V6h1V5Zm-2 1H9v1h3V6ZM7 7H4V6h3v1Z\" fill=\"#5f705c\"/><path fill=\"#fff\" fill-opacity=\".3\" d=\"M4 6h3v1H4z\"/><path fill=\"#fff\" fill-opacity=\".2\" d=\"M2 5h1v1H2zM7 5h2v1H7zM13 5h1v1h-1z\"/><path fill=\"#fff\" fill-opacity=\".3\" d=\"M9 6h3v1H9z\"/><path d=\"M6 9v1h3v1h1v-1H9V9H6Z\" fill=\"#de0f0d\"/><path d=\"M4 2h8v1h1v2h1v6h1v2h-2v-1h-1V5h-1V4H5v1H4v7H3v1H1v-2h1V5h1V3h1V2Z\" fill=\"#603a14\"/></g></svg>",
"extra": {
"primaryBackgroundColor": "transparent",
"secondaryBackgroundColor": "transparent",
"backgroundType": "solid",
"backgroundRotation": 26,
"clothing": "variant15",
"eyes": "variant06",
"glasses": "light02",
"mouth": "sad08"
}
}curl "https://api.dicebear.com/7.x/pixel-art/json?seed=test"const res = await fetch("https://api.dicebear.com/7.x/pixel-art/json?seed=test");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.dicebear.com/7.x/pixel-art/json?seed=test")
print(res.json())/7.x/pixel-art/json?seed=testPROBEDDeterministic avatar SVG/JSON
/7.x7 X — documented GET route.
/7.x/17.X details by ID (example: 1).
/7.x?limit=107 X — documented GET route.
/7.x/search?q=testSearch by query parameters.
/7.x/pixel-art/json?limit=5Json — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
DiceBear: common questions
Is DiceBear free to use?
Yes — DiceBear is a free developer tools API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does DiceBear need an API key?
No — DiceBear needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call DiceBear from the browser?
Yes — DiceBear returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is DiceBear up right now?
As of our last scheduled check, DiceBear is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.