{"uid":"cap_D_mBNvY9eiv9dd2Gt_1id","slug":"api-x402node-dev-6188a003","name":"DiceBear/UI-Avatars Avatar URL Generator","description":"Generate consistent avatar URLs for any name/seed via DiceBear (19 styles incl. bottts, avataaars, pixel-art, lorelei) or UI-Avatars (initials). Returns SVG/PNG URLs and available style list. Use ?name=Alice and style=bottts. Built for AI agents auto-generating profile pics for synthetic users, comments, demos. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/identity/avatar","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"ENS name e.g. vitalik.eth (required)"},"size":{"type":"string","description":"Size (optional)"},"style":{"type":"string","description":"Style (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"name":"Alice","style":"bottts","format":"svg"},"response":{"name":"Alice","size":200,"_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","style":"bottts","png_url":"https://api.dicebear.com/9.x/bottts/png?seed=Alice&size=200","svg_url":"https://api.dicebear.com/9.x/bottts/svg?seed=Alice&size=200","ui_avatars_url":"https://ui-avatars.com/api/?name=Alice&size=200&background=random","available_styles":["bottts","avataaars","identicon","initials","pixel-art","lorelei","big-smile","croodles","fun-emoji","micah","miniavs","notionists","open-peeps","personas","rings","shapes","thumbs","adventurer","big-ears"]}},"exampleRequest":{"name":"Alice","style":"bottts","format":"svg"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i5RoV9QZJX3gQyrVBejlq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates consistent avatar image URLs for any name or seed using DiceBear (19 styles) or UI-Avatars (initials), returning SVG/PNG URLs and available style list.","exampleAgentPrompt":"Can you generate a consistent bottts-style avatar image URL for a user named 'Alice' — I need it for auto-populating profile pictures in my demo app?","exampleUseCases":null,"resultDescription":"Returns SVG and PNG avatar image URLs for the given name/seed using the specified style (e.g. bottts, avataaars, pixel-art, lorelei), plus a list of all available styles. Responses are deterministic — the same name and style always produce the same avatar URL.","failureModes":["Unknown style name returns an error or falls back to default style","Missing name/seed parameter returns a 400 bad request","Network timeout if upstream DiceBear or UI-Avatars service is slow","Invalid format parameter returns an error or defaults to SVG"],"whenToPreferThis":"When you need to auto-generate consistent, deterministic avatar URLs for synthetic users, demo profiles, or placeholder identities without storing images — especially if you want multiple style options (bottts, avataaars, pixel-art, lorelei, initials) from a single unified endpoint rather than calling DiceBear or UI-Avatars directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:24:29.815Z","isFirstParty":false}