Skip to content

Mock Json Generator API

POST https://api.findutils.com/api/tools/mock-json-generator/execute

Generate an array of mock JSON records from a list of field definitions. Field types include uuid, name, firstName, lastName, email, phone, address, city, country, zipCode, company, jobTitle, username, password, url, avatar, boolean, integer, float, price, date, datetime, paragraph, sentence, word, and color. Output is random on every call.

Request body

application/json
  • fields

    array required

    Field definitions: [{ name, type }]. type is one of: uuid, name, firstName, lastName, email, phone, address, city, country, zipCode, company, jobTitle, username, password, url, avatar, boolean, integer, float, price, date, datetime, paragraph, sentence, word, color.

  • count

    integer optional

    Number of records to generate (1-1000). Default: 5. Default 5.

Example arguments

Verified
{
  "fields": [
    {
      "name": "id",
      "type": "uuid"
    },
    {
      "name": "email",
      "type": "email"
    }
  ],
  "count": 2
}