age
TemporalGenerate realistic integer age values within configurable min/max bounds. Default range 18-80 produces natural age distributions.
Example Outputs
3425674219Parameters
| Parameter | Description |
|---|---|
| min | Minimum age (default 18) |
| max | Maximum 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
Related Types
Generate Age + 155 more types via API
One API call. Multiple tables. Relational integrity. Free tier included.