Skip to content
OSINTtools.io

AvatarAPI API

API that turns an email address into a name, profile photo and public profile data from Google, Microsoft, GitHub and others.

Base URL
https://avatarapi.com/v2
Sign-in
No key
Pricing
Credits
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from docs.avatarapi.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Avatar API looks up the profile picture, name and location linked to an email address by querying providers such as Gravatar, Microsoft, Google, Skype, Flickr and Adobe. An investigator uses it to find a face or display name behind an email.

Lookup and credit calls are POSTs with your account username and password in a JSON body (the docs' examples send it as text/plain). The providers list needs no credentials. Providers are tried in order and the search stops at the first match; parallel queries all of them at once and costs the combined price. Each lookup uses credits, and the Cache provider costs 0 but its data may be outdated.

Every response is HTTP 200, including failures; check Success (or success on an error) in the body. The docs use both avatarapi.com and www.avatarapi.com for these endpoints.

Quick start

  1. No key needed

    The AvatarAPI API answers without an account or key.

  2. Make your first request

    List the providers, their cost and the fields each usually returns.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://avatarapi.com/v2/providers.aspx'
  3. Read the response

    A 200 response looks like this.

    [
      {
        "Name": "Cache",
        "Cost": 0,
        "ExpectedProfileFields": "Image, Name"
      },
      {
        "Name": "Gravatar",
        "Cost": 1,
        "ExpectedProfileFields": "Image, Name"
      }
    ]

Authentication

No key or account: every endpoint answers without one.

Account username and password go in the JSON request body, not in a header.

Get a key from AvatarAPI

Rate limits and pricing

Not stated in the docs, except that LinkedIn lookups are rate limited by default.

Pricing: credits.

Errors

StatusMeaning
200Returned for every outcome; on failure the body has success false and an error message

Lookup

  • Takes: Email
  • Passive: the target is not contacted
  • Cost: Credits depend on the providers used

Tries each provider in order and stops at the first match. Set parallel to true to query all providers at once.

Request body (JSON) · 6Show

usernamestringalways present

Your account username

passwordstringalways present

Your account password

emailstringalways present

Email address to look up

providerstring

Comma-separated providers in search order, for example Gravatar,Microsoft

parallelstring

Set to "true" to query all listed providers at once

AllowDefaultProfilePicturesstring

Set to TRUE to keep placeholder images; useful for email validation

Response fields · 9Show

Namestring

Name associated with the email

Imagestring

URL of the profile image

Validboolean

Validity flag returned by the API

Citystring

City, if available

Countrystring

Country, if available

IsDefaultboolean

Whether the image is a default placeholder

Successboolean

True on a match, false on failure

RawDatastring

Provider-specific raw data, usually a JSON or XML string; the format may change

Namestring

Provider that returned the result

curl -X POST 'https://avatarapi.com/v2/api.aspx' \
  -H 'Content-Type: application/json' \
  -d '{"username":"YOUR_USERNAME","password":"YOUR_PASSWORD","email":"jane@example.com","provider":"Gravatar,Microsoft"}'
No key needed
Response
{
  "Name": "Jane Example",
  "Image": "https://example.com/avatar/0123456789abcdef.jpg",
  "Valid": true,
  "City": "",
  "Country": "",
  "IsDefault": false,
  "Success": true,
  "RawData": "{}",
  "Source": {
    "Name": "Gravatar"
  }
}

Account

  • Passive: the target is not contacted

Send username and password in the body. The docs list this endpoint on www.avatarapi.com.

Request body (JSON) · 2Show

usernamestringalways present

Your account username

passwordstringalways present

Your account password

Response fields · 2Show

emailstring

The account email

creditsinteger

Remaining credit balance

curl -X POST 'https://avatarapi.com/v2/credits.aspx' \
  -H 'Content-Type: application/json' \
  -d '{"username":"YOUR_USERNAME","password":"YOUR_PASSWORD"}'
No key needed
Response
{
  "email": "owner@example.com",
  "credits": 1000
}
  • Passive: the target is not contacted

Needs no authentication. Cost is the credits used per lookup; 0 means free.

Response fields · 3Show

Namestring

Provider name

Costinteger

Credits used when this provider is queried

ExpectedProfileFieldsstring

Fields the provider usually returns, such as Image, Address, Name

curl 'https://avatarapi.com/v2/providers.aspx'
No key needed
Response
[
  {
    "Name": "Cache",
    "Cost": 0,
    "ExpectedProfileFields": "Image, Name"
  },
  {
    "Name": "Gravatar",
    "Cost": 1,
    "ExpectedProfileFields": "Image, Name"
  }
]