MockHero

age

Temporal

Generate realistic integer age values within configurable min/max bounds. Default range 18-80 produces natural age distributions.

Example Outputs

3425674219

Parameters

ParameterDescription
minMinimum age (default 18)
maxMaximum age (default 80)

API Usage

Send a POST request to generate age data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "age",
          "type": "age",
          "params": {
            "min": 1,
            "max": 100
          }
        }
      ]
    }
  ]
}'

Common Use Cases

  • User profile seeding
  • Age verification testing
  • Demographic analytics
  • Insurance data generation

Quick Info

Field Type
age
Category
Temporal
Parameters
2 parameters
Output Format
JSON, CSV, SQL

Try it now

Generate age data instantly in the playground.

Generate Age + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free