# Gmail Username Availability Checker (`khadinakbar/check-gmail-username-availability`) Actor

Bulk-check whether @gmail.com usernames are available, taken, or reserved, verified live against Google's own account signup check. Dots, case, and +tags are normalized. Built for brand protection, handle research, and AI agents. Charged $0.008 per checked username plus platform usage.

- **URL**: https://apify.com/khadinakbar/check-gmail-username-availability.md
- **Developed by:** [Khadin Akbar](https://apify.com/khadinakbar) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 gmail username checkeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### Gmail Username Availability Checker

Bulk-check whether @gmail.com usernames are **available**, **taken**, or **reserved**, verified live against Google's own account signup check. Paste usernames or full addresses and get one dataset row per unique name, with Google's exact message and alternative suggestions when a name is gone. Built for brand teams, founders, marketers, domain and handle investors, and MCP agents that need a trustworthy yes/no before they commit to a name.

Gmail treats dots, letter case, and `+tags` as the same mailbox, so `John.Smith`, `johnsmith`, and `johnsmith+news@gmail.com` are checked once and billed once. After you secure a name here, continue with [Username OSINT Scraper](https://apify.com/khadinakbar/username-osint-scraper) to see whether the same handle is free on 480+ other sites.

### What you get

| Output | What it answers |
|---|---|
| `status` | **Verdict** — `available`, `taken`, `reserved`, or `invalid`, straight from Google |
| `available` | **Yes/no** — `true` only when a new account could register this name right now |
| `reason` | **Google's words** — for example "This username isn't allowed. Try again." |
| `suggestions[]` | **Alternatives** — names Google offered when the requested one is taken |
| `email` + `canonicalUsername` | **Normalization** — the full address and the dotless form Gmail really uses |
| `source` + `checkedAt` | **Provenance** — Google account signup check, with a UTC timestamp |

### Who it is for

- **Brand and product teams** — confirm the Gmail handle for a new brand before the launch announcement.
- **Founders and marketers** — shortlist 50 name ideas and keep only the ones Gmail still offers.
- **Handle and domain investors** — screen a list of short or premium words in one run.
- **Agencies** — reserve matching Gmail inboxes for client campaigns without manual signup trial loops.
- **AI agents** — call one tool, read `available`, and route the next step from `OUTPUT.outcome`.

### When to use this Actor

- You have a list of candidate Gmail usernames and need Google's live verdict for each.
- You want dotted and case variants collapsed so each mailbox is billed once.
- You need machine-readable reasons (reserved vs taken vs format rejected) instead of reading a red line in a signup form.
- You want Google's own alternative suggestions for names that are gone.

### Best fit & sibling routing

Choose this Actor when the job is **can this @gmail.com username still be registered?** It is designed for live Google signup verdicts on bare usernames or full @gmail.com / @googlemail.com addresses, with dots, case, and `+tags` collapsed so you pay once per mailbox. Pair it with [Email Address Validator](https://apify.com/khadinakbar/email-address-validator) when you already have an address and need MX and deliverability signals next. Before you finalize a brand, continue with [Discord Username Checker](https://apify.com/khadinakbar/discord-username-checker) or [Username OSINT Scraper](https://apify.com/khadinakbar/username-osint-scraper) to verify the same handle across other platforms. This Actor is designed as a focused standalone workflow for Gmail username availability; Google Workspace (custom-domain) addresses stay with dedicated Workspace tools.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `targets` | array | 3 sample names | Usernames or full @gmail.com / @googlemail.com addresses, up to 500 unique per run |
| `maxConcurrency` | integer | 2 | Parallel Google signup sessions (1–5); extra sessions start only above 25 names |
| `proxyConfiguration` | object | automatic | Optional route tried first; direct and Apify Residential fallbacks are built in |

Usernames must be 6–30 characters of letters, numbers, and periods (no leading, trailing, or double periods). Anything else is listed in `RUN_SUMMARY.rejectedInputList` and stays unbilled.

#### Example input — three names

```json
{
    "targets": ["john.smith", "googlesupport", "acme.brand.handle.2026"]
}
```

#### Example input — mixed list from a spreadsheet

```json
{
    "targets": [
        "NovaBrand@gmail.com",
        "nova.brand",
        "novabrand+press@googlemail.com",
        "nova.brand.official",
        "hello@novabrand.io"
    ],
    "maxConcurrency": 2
}
```

Here `NovaBrand@gmail.com`, `nova.brand`, and `novabrand+press@googlemail.com` are the same mailbox and are checked once; `hello@novabrand.io` is skipped because it is not a Gmail address.

### Output

One dataset row per unique username that Google gave a verdict for.

| Field | Type | Meaning |
|---|---|---|
| `input` | string | The value exactly as you supplied it |
| `username` | string | Normalized username that was checked (dots kept) |
| `email` | string | Full `@gmail.com` address |
| `canonicalUsername` | string | Dotless form Gmail treats as the same account |
| `status` | string | `available` / `taken` / `reserved` / `invalid` |
| `available` | boolean | `true` only for `available` |
| `reason` | string or null | Google's message for reserved, invalid, or message-based taken verdicts |
| `suggestions` | string\[] | Google's alternatives when the name is taken (may be empty) |
| `source` | string | Always `google-account-signup` |
| `checkedAt` | string | UTC timestamp of Google's verdict |

#### Example output — one persisted item

```json
{
    "input": "googlesupport",
    "username": "googlesupport",
    "email": "googlesupport@gmail.com",
    "canonicalUsername": "googlesupport",
    "status": "reserved",
    "available": false,
    "reason": "This username isn't allowed. Try again.",
    "suggestions": [],
    "source": "google-account-signup",
    "checkedAt": "ISO-8601 timestamp"
}
```

`OUTPUT` and `RUN_SUMMARY` record the run `outcome` (`COMPLETE`, `PARTIAL`, `INVALID_INPUT`, `UPSTREAM_FAILED`), `itemsPushed`, counts per verdict, skipped and unresolved inputs, warnings, and `chargedEventCounts`.

### Workflow: from a naming brainstorm to a claimed inbox

A founder has 40 brand-name ideas in a sheet. She pastes the column into `targets` and runs the Actor. Rows with `available=true` go to a shortlist, taken rows contribute Google's `suggestions` as extra ideas, and reserved rows are dropped. She then passes the shortlist to Username OSINT Scraper to check the same handle on social platforms, picks the winner, and registers the Gmail address the same day, because availability can change at any moment.

### Pricing — Pay per event + platform usage

Billing unit: **one `username-checked` event per unique Gmail username Google answered and that was saved as a dataset row** ($0.008). The synthetic Actor start event is $0.00005 once per run (scaled by memory). Platform usage for the browser session is billed on top at your Apify plan rate.

Worked example: a brand shortlist of **50 usernames that all return a verdict saves 50 rows → 50 × $0.008 = $0.40** in named events (plus start + platform usage). A quick 3-name check is about **$0.024** in named events. A 500-name screening list is about **$4.00**.

| Event | Price | Charged when |
|---|---|---|
| Actor start | $0.00005 | Once per run (scaled by memory) |
| `username-checked` | $0.008 | One unique username verified by Google and saved |

Duplicates, dotted variants, malformed names, non-Gmail addresses, and any name without a Google verdict stay unbilled. For current Pay per event plus platform usage on your plan, open the Actor's [Pricing tab](https://apify.com/khadinakbar/check-gmail-username-availability/pricing) after you choose this Actor for a Gmail availability job.

### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/khadinakbar~check-gmail-username-availability/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "targets": ["john.smith", "googlesupport", "acme.brand.handle.2026"]
  }'
```

Results land in the run's default dataset: `https://api.apify.com/v2/datasets/{datasetId}/items?clean=true`. Paginate large batches with `offset`/`limit` on that endpoint. The run summary is at the `OUTPUT` record of the default key-value store. The same Actor is exposed through Apify MCP as `apify--check-gmail-username-availability` for agent clients.

### Use with AI agents through Apify MCP

> Check whether these Gmail usernames are available: nova.brand, novabrand.official, novahq2026. Return status, available, Google's reason and suggestions for each, plus the OUTPUT outcome and the $0.008-per-name cost. Read back the default dataset when the Actor completes.

Agents should pass `targets` as an array, keep batches bounded, and treat `OUTPUT.outcome` as the machine contract. `status` is the authoritative field; `available` is a convenience boolean. Pagination is `offset`/`limit` on the dataset items endpoint.

### Best results guidance

- Start with a short shortlist (3–50 names) so the Google signup warm-up is amortized and you can claim available names the same day.
- Provide full `@gmail.com` addresses or bare usernames; keep Google Workspace / custom-domain addresses for a dedicated Workspace tool.
- Pair a successful available verdict with an immediate signup on accounts.google.com — availability is a live snapshot.
- Schedule larger screening lists in batches of up to 500 unique names, and read `RUN_SUMMARY.unresolvedList` when a run ends `PARTIAL` so you can re-check only those names.
- Confirm reserved and taken rows with Google's `reason` and `suggestions` before you invent replacements by hand.

### Builder's note / verification methodology

I built this after testing the legacy availability tricks (the old `InputValidator` endpoint and the `gxlu` cookie probe) and finding that both now return Google's `/sorry` page or no signal at all. What still works is the step Google's own signup page runs when you type a username: it moves you to the password step when the name is free, returns alternative suggestions when it is taken, and shows "This username isn't allowed" for reserved names. In my testing, one warmed-up signup session could answer dozens of names in a row, so this Actor drives that exact step and reports Google's verdict verbatim instead of guessing from mail-server responses. Provenance on every row is `source=google-account-signup` with a `checkedAt` timestamp so agents can verify freshness per result.

### FAQ

**Is "taken" the same as "the mailbox exists"?**
Mostly. `taken` means Google will not let a new account use the name. That includes active accounts and names retired after an account was deleted.

**Why is a short name like `admin` skipped?**
Gmail usernames must be 6–30 characters. Shorter or malformed names are rejected locally, listed in `RUN_SUMMARY`, and not charged.

**What does `reserved` mean?**
Google refused the name outright ("This username isn't allowed"). This usually covers trademarked, brand, or system-style words. No one can register it through normal signup.

**Does this create Google accounts or log in?**
It stops at the username step of Google's public signup form and leaves the password field untouched, so no account is created.

**Can an AI agent use this?**
Yes. It is MCP-ready: `targets` in, one structured row per name, outcome readback, provenance, cost, and dataset pagination.

### Legal

Use this Actor to research names you intend to register or to protect a brand you own. Submit only names you are authorized to check. A `taken` result does not identify the account owner. You are responsible for complying with applicable laws, Google's Terms of Service, and Apify's terms. This Actor is not affiliated with, associated with, or endorsed by Google; Gmail is a trademark of Google LLC.

# Actor input Schema

## `targets` (type: `array`):

Usernames (john.smith) or full addresses (john.smith@gmail.com, @googlemail.com also accepted). Gmail ignores dots, letter case, and +tags, so john.smith and JohnSmith are checked once. Usernames must be 6-30 letters, numbers, or periods. Non-Gmail addresses and malformed names are skipped and not charged. Up to 500 per run.

## `maxConcurrency` (type: `integer`):

How many Google signup sessions check usernames in parallel. Each session handles about one check per second after a 20-40 second warm-up; extra sessions only start for batches above 25 usernames. Keep the default for reliability.

## `proxyConfiguration` (type: `object`):

Optional. The Actor already falls back from a direct connection to Apify Residential proxies automatically. Set a proxy here only if you need a specific route; it is tried first.

## Actor input object example

```json
{
  "targets": [
    "john.smith",
    "googlesupport",
    "acme.brand.handle.2026"
  ],
  "maxConcurrency": 2
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset items with the checked username, full email, status (available, taken, reserved, invalid), Google's reason, and suggestions.

## `summary` (type: `string`):

Run summary with outcome, itemsPushed, verdict counts, skipped inputs, unresolved usernames, warnings, and billing counters.

## `runSummary` (type: `string`):

Machine-readable RUN_SUMMARY record with the OUTPUT fields plus rejected and unresolved input lists and session diagnostics.

# 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 = {
    "targets": [
        "john.smith",
        "googlesupport",
        "acme.brand.handle.2026"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("khadinakbar/check-gmail-username-availability").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 = { "targets": [
        "john.smith",
        "googlesupport",
        "acme.brand.handle.2026",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("khadinakbar/check-gmail-username-availability").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 '{
  "targets": [
    "john.smith",
    "googlesupport",
    "acme.brand.handle.2026"
  ]
}' |
apify call khadinakbar/check-gmail-username-availability --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,khadinakbar/check-gmail-username-availability"
        }
    }
}
```

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/mnjWZxMw4SkSMkuJM/builds/IovaF3Rewg2EdOx1U/openapi.json
