Skip to content

dummydatagenpro API

The web app at dummydatagenpro.co.uk is a front end onto this API. Anything you can do there, a pipeline can do here.

Base URL: https://dummydatagenpro.co.uk/api

Requests carry an API key in a header:

Terminal window
curl -H "X-API-Key: ddgp_your_key_here" \
https://dummydatagenpro.co.uk/api/usage

Create and revoke keys from your account, or through the API itself:

MethodPathDoes
POST/api-keysCreate a key. The value is returned once and never again.
GET/api-keysList your keys — metadata only, never the secret.
DELETE/api-keys/{key_id}Revoke a key.

Anonymous requests are allowed on the catalogue and health endpoints, and are rate limited more tightly than keyed ones.

Generation is asynchronous: you post a request, get a job id back, poll it, then download. A large dataset takes longer than an HTTP request should wait, and the API is honest about that rather than holding a connection open.

MethodPathDoes
POST/generate/customGenerate from a column specification you supply
POST/generate/schemaGenerate from a schema — table definitions and their relationships
POST/generate/jmeterGenerate a CSV shaped for a JMeter CSV Data Set Config

Each returns a job:

Terminal window
curl -X POST https://dummydatagenpro.co.uk/api/generate/custom \
-H "X-API-Key: ddgp_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "rows": 10000, "format": "csv", "columns": [ ... ] }'
MethodPathDoes
GET/jobs/{job_id}Status of one job
GET/jobs/{job_id}/qualityQuality statistics for what it produced
GET/jobsList your jobs
DELETE/jobs/{job_id}Cancel a job that has not finished
MethodPathDoes
GET/download/{file_id}Download a generated file from the catalogue
GET/download/custom/{job_id}/{filename}Download the output of one of your jobs

The pre-generated datasets the site offers, which need no generation step at all:

MethodPathDoes
GET/catalogList datasets, with filters
GET/catalog/templatesTemplate names
GET/catalog/templates/detailsTemplates with their columns and relationships
GET/catalog/templates/relatedWhich templates join to which
MethodPathDoes
GET/usageRows and requests used in the current period
GET/usage/quotasThe limits for your tier
MethodPathDoes
GET/healthService health
GET/health/ecosystemHealth of the services it depends on

Quotas are per tier — free, Basic and Pro — and are enforced on rows generated as well as requests made. GET /usage/quotas returns yours rather than requiring you to read a pricing page. See dummydatagenpro for what each tier costs.