# createfakedata: Create Fake Data

> createfakedata (Create Fake Data) is a 1001fx API function in the group Data & JSON: POST https://api.1001fx.com/data/createfakedata, 2 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Creates realistic fake data for testing and development. Examples: address, date, lorem ipsum, commercial products, company, image, random numbers, URLs and many more).

- Group: Data & JSON
- Endpoint: `POST https://api.1001fx.com/data/createfakedata`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 2 credits per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/createfakedata

## Parameters

- `data` (array<object>, required) – Data: Array of objects with module and function.
  - `module` (enum, required, one of `address`, `animal`, `color`, `commerce`, `company`, `database`, `datatype`, `date`, `finance`, `git`, `hacker`, `helpers`, `image`, `internet`, `lorem`, `mersenne`, `music`, `name`, `phone`, `random`, `science`, `system`, `vehicle`, `word`) – Module: Name of the module.
  - `function` (string, required) – Function: Name of the function.
- `rows` (number, optional, default `1`, max 250) – Rows: The rows of random data to generate. Defaults to 1.
- `locale` (enum, optional, one of `af_ZA`, `ar`, `az`, `cz`, `de`, `de_AT`, `de_CH`, `el`, `en`, `en_AU`, `en_AU_ocker`, `en_BORK`, `en_CA`, `en_GB`, `en_GH`, `en_IE`, `en_IND`, `en_NG`, `en_US`, `en_ZA`, `es`, `es_MX`, `fa`, `fi`, `fr`, `fr_BE`, `fr_CA`, `fr_CH`, `ge`, `he`, `hr`, `hu`, `hy`, `id_ID`, `it`, `ja`, `ko`, `lv`, `mk`, `nb_NO`, `ne`, `nl`, `nl_BE`, `pl`, `pt_BR`, `pt_PT`, `ro`, `ru`, `sk`, `sv`, `tr`, `uk`, `ur`, `vi`, `zh_CN`, `zh_TW`, `zu_ZA`) – Locale: Localization for data. Defaults to 'en'.

## Example: Multiple random elements

```bash
curl -X POST 'https://api.1001fx.com/data/createfakedata' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"data":[{"module":"address","function":"city"},{"module":"date","function":"month"},{"module":"finance","function":"accountName"}],"rows":2}'
```
