Gravatar existence check

$0.002 per call · USDC via x402 · POST /api/gravatar-check

Check whether an email address has a Gravatar: hashes the normalized email (MD5, pure CPU - the raw address is never sent upstream), probes gravatar.com for an avatar, and fetches the public profile when one exists (display name, username, profile URL). Send POST /api/gravatar-check with no required fields (2 optional) and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with hash, exists, avatarUrl, profile and note.

Accepts a raw email or a precomputed MD5/SHA-256 hash. Signal-only: a Gravatar's existence suggests a real, web-active address but does NOT verify identity or deliverability - pair with /api/email-validate for MX checks.

Category: Network & domains · Tags: network email gravatar avatar enrichment people signal

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
emailstringnoEmail address to check (hashed locally; never sent upstream).
hashstringnoPrecomputed lowercase MD5 (32 hex) or SHA-256 (64 hex) of the normalized email. Provide email OR hash.

Example request

curl -i -X POST https://agent402.tools/api/gravatar-check \
  -H "Content-Type: application/json" \
  -d '{"hash":"205e460b479e2e5b48aec07710c08d50"}'

Without payment this returns HTTP 402 Payment Required with the exact price for gravatar-check; any x402 v2 or MPP client pays it and retries.

Example response

{
  "hash": "205e460b479e2e5b48aec07710c08d50",
  "exists": true,
  "avatarUrl": "https://gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50",
  "profile": {
    "displayName": "Beau Lebens",
    "preferredUsername": "beau",
    "profileUrl": "https://gravatar.com/beau"
  },
  "note": "Existence is a web-activity signal only - it does not verify identity or deliverability."
}
FieldTypeAlways presentIn the example
hashstringyes205e460b479e2e5b48aec07710c08d50
existsbooleanyestrue
avatarUrlstringyeshttps://gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50
profileobjectyes3 fields: displayName, preferredUsername, profileUrl
notestringyesExistence is a web-activity signal only - it does not verify identity or deli...

From an MCP client

catalog.call {
  "slug": "gravatar-check",
  "params": {
    "hash": "205e460b479e2e5b48aec07710c08d50"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for gravatar-check; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/gravatar-check", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "hash": "205e460b479e2e5b48aec07710c08d50"
  }),
});

Related tools

ASN + IP geolocation

$0.001 · POST /api/asn-info

Look up the Autonomous System (ASN), prefix, country, registry, and allocation date for an IPv4 address - or for a hostn…

DKIM key lookup

$0.002 · POST /api/dkim-lookup

Fetch and parse a DKIM public-key record at <selector>._domainkey.<domain> (RFC 6376). Returns the parsed key params (al…

DMARC check

$0.001 · POST /api/dmarc-check

Fetch and validate a domain's DMARC policy at _dmarc.<domain> (RFC 7489). Surfaces the enforcement policy (none/quaranti…

DNS lookup

$0.002 · POST /api/dns-lookup

Resolve any DNS record type for a host: A, AAAA, MX, TXT, CNAME, NS, SOA, CAA, SRV, PTR. Returns the records plus a coun…

DNS propagation check

$0.002 · POST /api/dns-propagation

Resolve the same DNS record against 4 public resolvers (Google, Cloudflare, Quad9, OpenDNS) in parallel; surface diverge…

Email deliverability check

$0.002 · POST /api/email-deliverability

End-to-end email-auth report for a domain: SPF + DMARC + DKIM (probes common selectors automatically) + MX records + sco…