# Gravatar Lookup API

> Gravatar Lookup is a Gravatar API for email lookups: send an email address and get its public Gravatar profile and avatar image URL. It returns the display name, username, biography, location, company, job title and pronouns; paid plans add linked accounts (hidden ones flagged) and whether the email has its own uploaded avatar.

**Endpoint:** `GET https://api.apiverve.com/v1/gravatarlookup`  
**Category:** Data Lookup  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/gravatarlookup

## Overview

A Gravatar lookup by email, for prefilling profiles, showing comment avatars and enriching signups. The address is lowercased, trimmed and hashed with SHA-256, the identifier Gravatar uses, and the public profile is read live from Gravatar: display name, username, bio, location, company, job title, pronouns, avatar URL and alt text on every plan. Paid plans add the accounts the owner has verified on Gravatar, including ones hidden from their profile page (flagged hidden), and whether the email has its own uploaded avatar or only Gravatar's default image, a quick signal of a real, maintained identity. An email with no Gravatar profile returns a 404 rather than an empty profile.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/gravatarlookup?email=hello%40apiverve.com" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | Yes | The email address to lookup the Gravatar profile of. email |

## Response fields

- `profileUrl` — string · Direct URL to the user's Gravatar profile
- `thumbnailUrl` — string · URL to the user's Gravatar avatar thumbnail image
  - `photos.0.value` — string · Photo URL from the Gravatar profile · (premium)
  - `photos.0.type` — string · Type of photo (e.g., thumbnail, profile) · (premium)
- `displayName` — string · The user's display name from Gravatar profile
- `aboutMe` — string · User's biography or about me text from Gravatar
- `currentLocation` — string · User's current location from Gravatar profile
- `company` — string · User's company or organization name from Gravatar
- `jobTitle` — string · User's job title or role from Gravatar profile
- `pronouns` — string · The user's pronouns, when set on their Gravatar profile
- `pronunciation` — string · How the user's name is pronounced, when set on their profile
- `avatarAltText` — string · Alt text the user wrote for their avatar image
- `emailHash` — string · SHA-256 hash of the normalized email, the identifier Gravatar uses for the profile and avatar URLs
- `username` — string · Gravatar username associated with email address
- `contactInfo` — array · Always empty. Gravatar's v3 profile API no longer returns contact information; the field is retained for compatibility · (premium)
  - `accounts.0.domain` — string · Domain of the linked account (e.g., x.com) · (premium)
  - `accounts.0.display` — string · Display name on the linked account · (premium)
  - `accounts.0.url` — string · Direct URL to the linked account profile · (premium)
  - `accounts.0.verified` — boolean · Whether the linked account is verified · (premium)
  - `accounts.0.name` — string · Human-readable name of the linked service · (premium)
  - `accounts.0.icon` — string · URL of the linked service's SVG icon · (premium)
  - `accounts.0.hidden` — boolean · True when the owner hid this account from their Gravatar profile page · (premium)
- `accountCount` — number · Total number of linked social media accounts · (premium)
- `verifiedAccountCount` — number · Number of verified linked social media accounts · (premium)
- `hasCustomAvatar` — boolean · Whether the email has its own uploaded avatar rather than Gravatar's default image; null when the check could not be completed · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "profileUrl": "https://gravatar.com/apiverve",
    "thumbnailUrl": "https://0.gravatar.com/avatar/f4d2e1d9263acab05f6a553dfdd4884a1efb8e6d76bd276a50996b3a41e1d6e5",
    "photos": [
      {
        "value": "https://0.gravatar.com/avatar/f4d2e1d9263acab05f6a553dfdd4884a1efb8e6d76bd276a50996b3a41e1d6e5",
        "type": "thumbnail"
      }
    ],
    "displayName": "APIVerve",
    "aboutMe": "APIVerve stands out as a premier source for cloud-based API and Software-as-a-Service (SaaS) solutions catering to developers, startups and products.\n\nAt APIVerve, we take pride in being a leading provider of cutting-edge cloud-based API and Software-as-a-Service (SaaS) solutions tailored to meet the diverse needs and unlock new possibilities across various industries.",
    "currentLocation": "United States",
    "company": "APIVerve",
    "jobTitle": "",
    "pronouns": "",
    "pronunciation": "",
    "avatarAltText": "",
    "emailHash": "f4d2e1d9263acab05f6a553dfdd4884a1efb8e6d76bd276a50996b3a41e1d6e5",
    "username": "apiverve",
    "contactInfo": [],
    "accounts": [
      {
        "domain": "twitter",
        "display": "X",
        "url": "https://x.com/apivervehq",
        "verified": true,
        "name": "Twitter",
        "icon": "https://gravatar.com/icons/x.svg",
        "hidden": false
      },
      {
        "domain": "calendly",
        "display": "Calendly",
        "url": "https://calendly.com/apiverve",
        "verified": true,
        "name": "Calendly",
        "icon": "https://gravatar.com/icons/calendly.svg",
        "hidden": false
      },
      {
        "domain": "github",
        "display": "GitHub",
        "url": "https://github.com/apivervehq",
        "verified": true,
        "name": "Github",
        "icon": "https://gravatar.com/icons/github.svg",
        "hidden": true
      }
    ],
    "accountCount": 3,
    "verifiedAccountCount": 3,
    "hasCustomAvatar": true
  }
}
```

## Use cases

- **Onboarding Form Prefill** — When new members sign up, web apps pull display names, job titles, and avatars to prefill account profile pages.
- **Comment Section Avatars** — Discussion forums match commenter email addresses to Gravatar thumbnail links to render author profile images beside every posted reply.
- **CRM Contact Enrichment** — Sales teams populate lead records with company names, bios, and locations pulled directly from an inbound contact's work email.
- **Team Directory Setup** — Populate internal employee directories by resolving company email addresses to official usernames, job roles, and profile photo URLs.

## SDKs

- **npm** — `npm install @apiverve/gravatarlookup` (https://www.npmjs.com/package/@apiverve/gravatarlookup)
- **PyPI** — `pip install apiverve-gravatarlookup` (https://pypi.org/project/apiverve-gravatarlookup/)
- **NuGet** — `dotnet add package APIVerve.API.GravatarLookup` (https://www.nuget.org/packages/APIVerve.API.GravatarLookup)
- **Source** — https://github.com/apiverve/gravatarlookup-api

## More

- Full reference: https://docs.apiverve.com/ref/gravatarlookup
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
