# Random Identity Generator API

> Random Identity Generator creates synthetic user profiles with realistic names, usernames, email addresses, phone numbers, and gender attributes. Paid plans add batch generation, birthdates, company details, and AI-generated avatars.

**Endpoint:** `GET https://api.apiverve.com/v1/randomidentitygenerator`  
**Category:** Data Generation  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/randomidentitygenerator

## Overview

Use it as a fake identity generator and random name generator API for test data. Random Identity works by generating random names, usernames, emails, phone numbers, and other profile details. It returns the generated identity in a structured format.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/randomidentitygenerator?count=1&includeAvatar=true" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | integer | No | The number of identities to create. default 1. range 1-100. Premium field |
| `includeAvatar` | boolean | No | Include an AI-generated face avatar for each identity. default false. Premium field |

## Response fields

- `count` — number · Total number of identities generated in response
  - `identities.0.name` — string · Full name of the generated random identity
  - `identities.0.username` — string · Username associated with generated identity
  - `identities.0.email` — string · Email address for the generated random identity
  - `identities.0.phone` — string · Landline phone number of generated identity: a valid US number in national format, with no extension
  - `identities.0.website` — string · Website URL associated with generated identity
  - `identities.0.company` — object · Company information object for generated identity
    - `identities.0.company.name` — string · Name of the company associated with identity · (premium)
    - `identities.0.company.catchPhrase` — string · Marketing catchphrase for company · (premium)
    - `identities.0.company.bs` — string · Business statement or tagline for company · (premium)
  - `identities.0.gender` — string · Gender of the generated random identity
  - `identities.0.birthdate` — string · Birth date in YYYY-MM-DD format for identity · (premium)
  - `identities.0.cell` — string · Mobile cell phone number of generated identity: a valid US number in national format, with no extension
  - `identities.0.avatar` — string · URL to an AI-generated face avatar matching the identity's gender and age · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "identities": [
      {
        "name": "Dr. Brent Carter",
        "username": "Fannie_Treutel28",
        "email": "Greyson.DAmore99@hotmail.com",
        "phone": "862-207-2982 x6455",
        "website": "mervin.net",
        "company": {
          "name": "Runolfsson, Gaylord and Christiansen",
          "catchPhrase": "Profit-focused didactic algorithm",
          "bs": "brand ubiquitous paradigms"
        },
        "gender": "Male",
        "birthdate": "1978-11-23",
        "cell": "1-514-413-1724",
        "avatar": "https://storage.googleapis.com/apiverve/APIResources/faces/Male/40-50/87654321.jpg?X-Goog-Signature=..."
      }
    ]
  }
}
```

## Use cases

- **Staging Database Seeding** — Engineers populating local environments generate synthetic user records to test onboarding flows without exposing real customer contact records.
- **Prototype Design Mockups** — When previewing client dashboards, UX designers fill directory tables with mock names, usernames, and websites instead of repetitive placeholder text.
- **QA Form Validation** — To stress-test registration portals, automated testing suites submit generated email addresses and cell numbers to verify format checks and account creation.
- **Privacy-Compliant Demos** — Sales engineers replace live customer records with synthetic identities during product walkthroughs to avoid revealing personal data on recorded calls.

## SDKs

- **npm** — `npm install @apiverve/randomidentitygenerator` (https://www.npmjs.com/package/@apiverve/randomidentitygenerator)
- **PyPI** — `pip install apiverve-randomidentitygenerator` (https://pypi.org/project/apiverve-randomidentitygenerator/)
- **NuGet** — `dotnet add package APIVerve.API.RandomIdentityGenerator` (https://www.nuget.org/packages/APIVerve.API.RandomIdentityGenerator)
- **Source** — https://github.com/apiverve/randomidentitygenerator-api

## More

- Full reference: https://docs.apiverve.com/ref/randomidentitygenerator
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
