Get Gravatar Avatar
Get Gravatar Avatar
GET /avatar/gravatar - Get Gravatar Avatar
Provides stable and easy-to-use avatar retrieval capability, suitable for directly displaying avatars on web pages or in applications.
Provides stable and easy-to-use avatar retrieval capability, suitable for directly displaying avatars on web pages or in applications.
emailUser's Email address. If hash parameter is not provided, this parameter is required.
hashLowercase MD5 hash of user's Email address. If this parameter is provided, the email parameter will be ignored.
sAvatar size, in pixels. Valid range is 1 to 2048.
dDefault avatar type displayed when user does not have their own Gravatar avatar. Optional values include mp, identicon, monsterid, wavatar, retro, robohash, blank, 404.
rAvatar rating. Optional values: g, pg, r, x.
Successful response, returns image binary data.
When neither email nor hash parameter is provided in the request.
When d=404 and the requested email or hash has no corresponding Gravatar avatar.
Pick your language to see usage examples
curl 'https://uapis.cn/api/v1/avatar/gravatar'Get Gravatar Avatar follows our standard usage policy. Refer to the endpoint reference above for the exact rate limits and parameter requirements. Reach out if you have unusual needs.
No registration is required for visitor credit calls. If you need more credits or want to manage your call history, you can register a free account. Signed-in users get more free credits and can review usage details in the console.
Our APIs follow standard HTTP and RESTful design, so any language that can send network requests works — including JavaScript (Node.js, Vue, React), Python, Java, PHP, Go, C#, and more. They fit web apps, mobile backends, mini-program cloud functions, automation scripts, and similar scenarios.