← All tool references

Generators · not_available

Fake Data Generator

Calculate synthetic records from rows, deterministic seed, locale style.

Open public tool

Overview

Category
Generators
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/fake-data-generator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/fake-data-generator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

quantity · number · required
Enter rows.
seed · number · required
Enter deterministic seed.
locale · string · required
Enter locale style. Accepted values: en-US, en-GB, en-CA.
{
    "type": "object",
    "properties": {
        "quantity": {
            "type": "number",
            "description": "Enter rows."
        },
        "seed": {
            "type": "number",
            "description": "Enter deterministic seed."
        },
        "locale": {
            "type": "string",
            "description": "Enter locale style.",
            "enum": [
                "en-US",
                "en-GB",
                "en-CA"
            ]
        }
    },
    "required": [
        "quantity",
        "seed",
        "locale"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

records · array
Synthetic records produced by the tool.
quantity · number
Records generated produced by the tool.
notice · string
Data notice produced by the tool.
{
    "type": "object",
    "properties": {
        "records": {
            "type": "array",
            "description": "Synthetic records produced by the tool."
        },
        "quantity": {
            "type": "number",
            "description": "Records generated produced by the tool."
        },
        "notice": {
            "type": "string",
            "description": "Data notice produced by the tool."
        }
    },
    "additionalProperties": false
}

Fake Data Generator worked example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/fake-data-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "quantity": 10,
    "seed": 2027,
    "locale": "en-US"
}'
{
    "ok": true,
    "data": {
        "slug": "fake-data-generator",
        "result": {
            "values": {
                "records": [
                    {
                        "id": "test-1",
                        "name": "Alex Example",
                        "email": "[email protected]",
                        "phone": "+1-555-0100",
                        "birth_date": "1994-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-2",
                        "name": "Casey Sample",
                        "email": "[email protected]",
                        "phone": "+1-555-0101",
                        "birth_date": "1984-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-3",
                        "name": "Alex Fixture",
                        "email": "[email protected]",
                        "phone": "+1-555-0102",
                        "birth_date": "1993-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-4",
                        "name": "Alex Tester",
                        "email": "[email protected]",
                        "phone": "+1-555-0103",
                        "birth_date": "1997-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-5",
                        "name": "Casey Sample",
                        "email": "[email protected]",
                        "phone": "+1-555-0104",
                        "birth_date": "1996-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-6",
                        "name": "Jordan Example",
                        "email": "[email protected]",
                        "phone": "+1-555-0105",
                        "birth_date": "1982-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-7",
                        "name": "Morgan Example",
                        "email": "[email protected]",
                        "phone": "+1-555-0106",
                        "birth_date": "1987-01-01",
                        "locale": "en-US"
                    },
                    {
                        "id": "test-8",
                        "name": "Taylor Mock",
                        "email": "[email protected]",
                        "phone": "+1-555-0107",
                        "birth_date": "1992-01-01",
                        "locale": "en-US"
                    }
                ],
                "quantity": 10,
                "notice": "Synthetic test records only"
            },
            "display": {
                "display": "[{\"id\":\"test-1\",\"name\":\"Alex Example\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0100\",\"birth_date\":\"1994-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-2\",\"name\":\"Casey Sample\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0101\",\"birth_date\":\"1984-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-3\",\"name\":\"Alex Fixture\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0102\",\"birth_date\":\"1993-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-4\",\"name\":\"Alex Tester\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0103\",\"birth_date\":\"1997-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-5\",\"name\":\"Casey Sample\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0104\",\"birth_date\":\"1996-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-6\",\"name\":\"Jordan Example\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0105\",\"birth_date\":\"1982-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-7\",\"name\":\"Morgan Example\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0106\",\"birth_date\":\"1987-01-01\",\"locale\":\"en-US\"},{\"id\":\"test-8\",\"name\":\"Taylor Mock\",\"email\":\"[email protected]\",\"phone\":\"+1-555-0107\",\"birth_date\":\"1992-01-01\",\"locale\":\"en-US\"}]"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.