# AvatarAPI API reference

> 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…

Source: https://osinttools.io/apis/avatarapi/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/avatarapi/

- Base URL: https://avatarapi.com/v2
- Authentication: No key needed. Get a key: https://avatarapi.com/ Account username and password go in the JSON request body, not in a header.
- Pricing: Credits
- Rate limits: Not stated in the docs, except that LinkedIn lookups are rate limited by default.
- Vendor docs: https://docs.avatarapi.com/

## Overview

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.

## Errors

| Status | Meaning |
| --- | --- |
| 200 | Returned for every outcome; on failure the body has success false and an error message |

## Lookup

### Find the avatar, name and location linked to an email address.

`POST /api.aspx`

- Takes: Email
- Footprint: 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.

Response fields:

- `Name` (string): Name associated with the email
- `Image` (string): URL of the profile image
- `Valid` (boolean): Validity flag returned by the API
- `City` (string): City, if available
- `Country` (string): Country, if available
- `IsDefault` (boolean): Whether the image is a default placeholder
- `Success` (boolean): True on a match, false on failure
- `RawData` (string): Provider-specific raw data, usually a JSON or XML string; the format may change
- `Source.Name` (string): Provider that returned the result

```bash
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"}'
```

Example response (200):

```json
{
  "Name": "Jane Example",
  "Image": "https://example.com/avatar/0123456789abcdef.jpg",
  "Valid": true,
  "City": "",
  "Country": "",
  "IsDefault": false,
  "Success": true,
  "RawData": "{}",
  "Source": {
    "Name": "Gravatar"
  }
}
```

## Account

### Get the remaining credit balance.

`POST /credits.aspx`

- Footprint: passive (the target is not contacted)

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

Response fields:

- `email` (string): The account email
- `credits` (integer): Remaining credit balance

```bash
curl -X POST 'https://avatarapi.com/v2/credits.aspx' \
  -H 'Content-Type: application/json' \
  -d '{"username":"YOUR_USERNAME","password":"YOUR_PASSWORD"}'
```

Example response (200):

```json
{
  "email": "owner@example.com",
  "credits": 1000
}
```

### List the providers, their cost and the fields each usually returns.

`GET /providers.aspx`

- Footprint: passive (the target is not contacted)

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

Response fields:

- `[].Name` (string): Provider name
- `[].Cost` (integer): Credits used when this provider is queried
- `[].ExpectedProfileFields` (string): Fields the provider usually returns, such as Image, Address, Name

```bash
curl 'https://avatarapi.com/v2/providers.aspx'
```

Example response (200):

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

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
