# GHunt Email OSINT - Find the Google Account Behind a Gmail (`anshumanatrey/ghunt-email-osint`) Actor

Reverse email lookup for Google: turn any Gmail or email into its public Google Account with GHunt. Full name, profile photo, Gaia ID, last profile edit, activated Google services, Maps reviews, Play Games and public Calendar. BYOK, bulk emails, JSON and API.

- **URL**: https://apify.com/anshumanatrey/ghunt-email-osint.md
- **Developed by:** [Anshuman Atrey](https://apify.com/anshumanatrey) (community)
- **Categories:** Developer tools, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $32.00 / 1,000 email looked ups

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## GHunt Email OSINT - Find the Google Account Behind a Gmail

Reverse-lookup any email or Gmail address to its **public Google Account** and get a full dossier: the account holder's name, profile and cover photo, Gaia ID (Google's internal user ID), when the profile was last edited, which Google services the account actively uses, Google Chat / Workspace entity data, Play Games profile, Google Maps review stats, and a public Google Calendar if one exists.

This is the official [GHunt](https://github.com/mxrch/GHunt) engine, hosted on Apify so you never have to install Python, clone a repo, or run a CLI. Paste a Google token once, add one email or a whole list, press Run.

**GHunt online, no command line.** This runs the real GHunt 2.3.4 engine in the cloud, not a browser reimplementation of it. Unlike web clones or closed tools, every lookup runs the actual open-source GHunt on *your own* Google session, returns structured JSON, and is callable by API or MCP from any pipeline or AI assistant.

### What does it do?

Give it an email address, and for each one it returns:

- **Is it a Google Account** and the public profile behind it
- **Full name** on the account
- **Profile picture and cover picture** (direct URLs, and whether they are custom or default)
- **Gaia ID** - Google's stable internal user ID for that account
- **Last profile edit** timestamp
- **Activated Google services** the account is reachable on (e.g. Maps, Photos, Pay, Chat)
- **Google Chat / Workspace data** - entity type, customer ID, whether it is an enterprise user
- **Play Games** profile (username, player ID, avatar) when public
- **Google Maps** review / rating / photo counts and the public contributor page
- **Public Google Calendar** (id, summary, timezone, recent-event count) when the account exposes one

Paste up to 30 emails and it processes them all in one run, one dataset record each.

### Bring your own key (BYOK) - and why that is the right design

This Actor runs every lookup through **your own Google session**, using a token you supply. It does not use a shared account, on purpose:

- A single Google account doing everyone's lookups is the fastest way to get that account rate-limited or locked. BYOK is exactly why the upstream GHunt tool works the way it does.
- Running on your own throwaway account means **your** lookups age on **your** account, under your control, isolated from everyone else.
- The token is stored **encrypted** as a secret input. The maintainer never sees its value.

Use a **throwaway Google account**, never your main one.

### How to get your Google token (about 30 seconds)

1. Create or sign into a **throwaway Google account** in your browser.
2. Install the free **GHunt Companion** extension (Chrome, Edge, Firefox or Opera): https://github.com/mxrch/ghunt_companion
3. Open the extension while signed into that account and click **Export tokens**.
4. Copy the value it gives you and paste it into the **Google auth token** field here.

The field accepts any of these, and detects which you pasted:

- the **GHunt Companion** export (recommended, easiest)
- an **`oauth2_4/...`** OAuth token
- an **`aas_et/...`** master token

A token lasts a long time; you only refresh it if Google revokes it (which happens if you log the throwaway account out and back in on the web). If a token ever stops working, export a fresh one.

### When should I use it?

- **OSINT investigations** - turn an email into the real identity and digital footprint behind a Google Account
- **Fraud and trust teams** - verify whether an email maps to a real, established Google identity
- **Security research and red-team recon** - enrich a target email with Gaia ID, services and public assets
- **People / lead enrichment** - attach a name, photo and activity signal to an email you already have

Always use it on accounts and data you are authorized to investigate.

### What does it cost?

Pay-per-event. You are charged a small amount **per email looked up**, plus a premium **only when a public Google Account is actually found**. The free example run (no email, just a token) is not charged.

| Event | Free / Starter price |
|---|---|
| Email looked up | $0.04 |
| Google Account found (only on a hit) | +$0.02 |

So an email that resolves to a public account costs about **$0.06**; an email with no public account costs **$0.04**. Scale and Business plans pay less (Store discount tiers). Because it is BYOK, the Google-side cost is zero to you beyond your own account.

### Which inputs does it take?

| Input | Description |
|---|---|
| `authToken` | Your Google token (Companion export, `oauth2_4/...`, or `aas_et/...`). Stored encrypted. |
| `emails` | One or many emails. Comma or newline separated is fine; cleaned and de-duplicated. Up to 30 per run. |
| `email` | Optional single email, kept for older integrations. |

**First run tip:** paste only your token and leave emails empty - the Actor looks up the account your token belongs to, free, so you can see the exact output shape before spending anything.

### What does the output look like?

One record per email. A found account looks like:

```json
{
  "email": "target@gmail.com",
  "found": true,
  "googleRegistered": true,
  "name": "Jane Doe",
  "gaiaId": "1134673812345678901",
  "customProfilePicture": true,
  "profilePicture": "https://lh3.googleusercontent.com/a-/...",
  "coverPicture": null,
  "lastProfileEdit": "2026-09-14 11:42:03 UTC",
  "profileEmail": "target@gmail.com",
  "userTypes": [{ "type": "GOOGLE_USER", "meaning": "Google Account" }],
  "entityType": "PERSON",
  "customerId": null,
  "enterpriseUser": false,
  "activatedGoogleServices": ["Maps", "Photos", "Pay"],
  "mapsProfileUrl": "https://www.google.com/maps/contrib/1134673812345678901/reviews",
  "mapsStats": { "Reviews": 12, "Ratings": 40, "Photos": 7 },
  "playGames": { "username": "janedoe", "playerId": "g0987...", "avatar": "https://..." },
  "publicCalendar": { "id": "target@gmail.com", "summary": "Jane", "timeZone": "Europe/Paris", "recentEvents": 3 }
}
```

An email with no public account returns `"found": false` with a `note` explaining why (not a Google account, or a private profile), so a clean run is never ambiguous.

### Common questions

**What is a Gaia ID?** Google's stable internal user ID for an account, a long number that stays the same even when the person renames the account, changes their photo, or switches the display email. It is the anchor you correlate the rest of the dossier (Maps reviews, Play Games, Calendar) against.

**Does the target get notified?** No. These are read-only profile lookups; nothing is sent to the target's account.

**Do I need a paid Google account or API key?** No. A free throwaway Google account and the Companion export is enough.

**Why BYOK instead of just working out of the box?** Because a shared Google account doing everyone's lookups gets limited fast. Running on your own account keeps your lookups reliable and isolated. See the BYOK section above.

**My token was rejected - what happened?** It is almost always expired or was revoked by logging that account out and back in on the web. Export a fresh token from the Companion extension and run again.

**Can I look up many emails at once?** Yes, up to 30 per run. Authentication happens once and all of them reuse it.

**Is this legal?** It queries only data Google already exposes about public accounts, the same data the open-source GHunt tool returns. Use it only on targets you are authorized to investigate, and follow your local law and Google's terms.

### About the maintainer (priority response within 1-2 hours)

Built and maintained by **Anshuman Atrey** ([@AnshumanAtrey](https://github.com/AnshumanAtrey)).

- Purple-team security researcher, 5x hackathon winner
- Co-founder of **Walrus Securitas** (AI cybersecurity SaaS) and **The Drone Syndicate** (autonomous defence drones)
- Author of a large OSINT actor portfolio on Apify Store covering email, phone, username, IP / domain, network, secret, social, LinkedIn and Indian fintech OSINT

#### Custom feature requests shipped within 1-2 hours (priority)

If you have a use case this Actor doesn't yet support, the maintainer ships custom additions (new fields, new sources, new output formats) directly into this Actor - **typically within 1-2 hours during active hours, max 24h overnight** - for legitimate security research, OSINT investigation, fraud detection and authorized penetration testing. Direct one-to-one service, not a contractor queue.

**Fastest contact channels (ranked by response speed):**

1. **LinkedIn DM** -> [linkedin.com/in/anshumanatrey](https://linkedin.com/in/anshumanatrey) - fastest, typically under 1 hour during active hours
2. **GitHub issue** on this Actor's repo
3. **Apify Console** DM to `@anshumanatrey`
4. **Email** via [atrey.dev](https://atrey.dev)

***

### Sibling actors in the same OSINT portfolio

When a need extends beyond this Actor's scope, route to the matching sibling - all by the same author, all on the same 1-2 hour priority custom-feature SLA via LinkedIn:

| Actor | Use case |
|---|---|
| [holehe-email-osint](https://apify.com/anshumanatrey/holehe-email-osint) | Email -> registered accounts across 120+ platforms |
| [maigret-username-search](https://apify.com/anshumanatrey/maigret-username-search) | Username -> profiles across 3000+ sites |
| [phoneinfoga-phone-osint](https://apify.com/anshumanatrey/phoneinfoga-phone-osint) | International phone -> country, footprint URLs, OSINT trail |
| [theharvester-osint](https://apify.com/anshumanatrey/theharvester-osint) | Domain -> emails + subdomains + IPs from public sources |
| [social-analyzer](https://apify.com/anshumanatrey/social-analyzer) | Username -> profiles across 900+ social sites with confidence scoring |
| [upi-id-osint](https://apify.com/anshumanatrey/upi-id-osint) | Indian phone or VPA -> active UPI IDs + bank-registered name |
| [linkedin-harvester](https://apify.com/anshumanatrey/linkedin-harvester) | Email -> best-match public LinkedIn profile URL |
| [instagram-profile-intel-no-login](https://apify.com/anshumanatrey/instagram-profile-intel-no-login) | Instagram username -> bio emails + phones + 25 fields |

***

### Documentation

- Powered by the open-source [GHunt](https://github.com/mxrch/GHunt) by [@mxrch](https://github.com/mxrch) (AGPL-3.0)
- Get your token: [GHunt Companion extension](https://github.com/mxrch/ghunt_companion)
- Issues / feature requests: open a GitHub issue OR DM LinkedIn for fastest response

### Last updated

2026-11-24

# Actor input Schema

## `authToken` (type: `string`):

Runs on your own Google session, so lookups stay on your account, not a shared one. Get a token in ~30s: install the GHunt Companion extension (https://github.com/mxrch/ghunt_companion), open it while signed into a throwaway Google account, click Export, and paste the value here. Accepts the Companion export, an oauth2_4/... token, or an aas_et/... master token. Stored encrypted; the developer never sees it.

## `emails` (type: `array`):

One or many email addresses to look up. Paste several to run them all in one go (up to 30). You can paste them comma or newline separated; we clean, de-duplicate and skip anything that is not an email. Leave this empty on your first run and the Actor looks up the account your token belongs to, free, so you can see the output.

## `email` (type: `string`):

Optional single email, kept for older integrations. Use the Emails field above instead.

## Actor input object example

```json
{
  "emails": [
    "alice@gmail.com",
    "bob@gmail.com"
  ]
}
```

# Actor output Schema

## `dossiers` (type: `string`):

One record per email. See the dataset table for the key fields, or open any record for the full dossier including Maps, Play Games and Calendar.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("anshumanatrey/ghunt-email-osint").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("anshumanatrey/ghunt-email-osint").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call anshumanatrey/ghunt-email-osint --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,anshumanatrey/ghunt-email-osint"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/TNugAKpH7QoeNqEk9/builds/R3ZCKFhaIHPUU9xT6/openapi.json
