# Gravatar API

Category: [Image and photo](https://free-web-services.com/web-services/media/images/)  
Page: https://free-web-services.com/web-services/media/images/gravatar.html  
Documentation: https://docs.gravatar.com/

A Gravatar is a globally recognised avatar linked to an e-mail address, used on WordPress, GitHub and many other sites. Show it next to names on your own site with a simple image URL built from a hash of the e-mail address, with options for size and a default image when someone has no Gravatar. Profile data (name, links, bio) is available as JSON. Free; avatars need no key, the profile API uses a free API key. An official MCP server (npm package @automattic/mcp-server-gravatar) lets AI agents look up Gravatar profiles.

- API key: Not needed
- Pricing: Free; avatars need no key, the profile API uses a free API key.
- From the browser: Yes (CORS)
- Formats: JSON, XML
- Interface: REST, HTTP-GET, XML-RPC, MCP
- Provider: docs.gravatar.com
- Last checked: Working on November 8th, 2026

Example request:

```sh
curl 'https://gravatar.com/avatar/00000000000000000000000000000000?d=identicon&s=200'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

