Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Fake Data Generator API

Generate realistic fake test data (names, emails on example.com, phones, addresses, UUIDs, IPs from documentation ranges…) as JSON, CSV, SQL INSERTs or NDJSON. A seed makes the output reproducible.

POST /api/v1/tools/fake-data-generatorMCP fake_data_generatorGeneratorsRandom output

Generate up to 10,000 rows of fake test data: names, emails, phones, addresses, UUIDs and more. Export as JSON, CSV, SQL INSERT or NDJSON, with an optional seed.

Input

Send these as a JSON object. Unknown fields are rejected.

fields
Comma-separated columns, in any order (output keeps a canonical order). Available: first_name, last_name, full_name, email, phone, street_address, city, postcode, country, company, job_title, username, date_of_birth, uuid, integer, boolean, ipv4, colour, sentence. (string, up to 1000 characters, required)
rows
Rows to generate (1 to 1000). (integer, 1 to 1000, default 10)
format
Output format. json also returns the rows as data. (string, one of json, csv, sql, ndjson, default "json")
tableName
Table name for sql INSERT statements. (string, up to 63 characters, default "people")
intMin
Lowest value for the integer column. (integer, -1000000000000 to 1000000000000, default 1)
intMax
Highest value for the integer column. (integer, -1000000000000 to 1000000000000, default 100)
seed
Any text; the same seed and settings give the same data. Omit for fresh secure-random data. (string, up to 200 characters, default "")
curl https://pithlab.com/api/v1/tools/fake-data-generator \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"fields":"full_name,email,city,country","rows":3,"format":"json","seed":"demo"}'