Fake Data Generator

Generate fake data for you api or app development process. Support almost every data types including name phone credit card and others more.

Endpoint

POST or GET  - /fake/get

Parameters

Pass field name along with data type and other custom options to get fake data.


Parameter Format type

field_name = data_type,option1,option2,....
field_name2 = data_type,option1,option2,....
....
....

id optional

Generate unique id for each data block.

param format - `type,min,format`
Allowed type - `auto or uuid`
Min value - optional value. It is starting integer value for auto increment. Default is `1`
Format - optional value. like `prefix-#-suffix`. `#` will be replace by id. 
Default type - `auto`

count optional

Number of data count to generate.

default - `1`

sort optional

Sort the data block asc according to key.

default - `true`

number optional

Generate random number between provided min and max range.

param format - `MIN`,`MAX`
default - `1 to 9`

output - `10` , `10320`

float optional

Generate random decimal value with given min and max range with given decimal point.

param format - `MIN`,`MAX`,`no. of decimal point`
default - `0 to 9`

output - `1.29` or `5.55454`

word optional

Generate random word based on count passed.

param format - `number of word count`
default - `1`

output - `oyyi` or `oyyi is best for developer`

text optional

Generate random paragraph based on count passed

default - `1`
param format - `number of paragraph count`

output - `oyyi is best for developer.` , `oyyi is made for developer. It is free to use`.

name optional

Generate person name according to gender provided

param format - `gender,type`
default - `male` & `full name`
Allowed type - `first` `last` , `title` , `full`

output - `Willms` , `Flatley` , `Mrs.` , `Shanon Flatley`.

email optional

Generate fake email id for user

`No option available`

output - `vryan@example.org`.

username optional

Generate fake email id for user

`No option available`

output - `miller.kadin`.

uuid optional

Generate random uuid

`No option available`

output - `696fa7f1-44bd-418c-85a1-446bf6562be8`.

bool optional

Generate boolean value either true or false

`No option available`

output -   `false` `true`.

currency optional

Generate random valid currency code like usdGenerate boolean value either true or false

`No option available`

output -   `USD`.

locale optional

Get random locale.

`No option available`

output -   `en_GU`.

lang optional

Get random language code.

`No option available`

output -   `be` `en`.

emoji optional

Get random emoji.

`No option available`

output -   `😣`.

barcode optional

Generate random barcode number in ISBN13 format.

`No option available`

output -   `9780114807870`.

html optional

Generate random html data based numbers of siblings

param format - `siblings`,`width`
`siblings` Number of siblings body contains. Default is `1`
`width` Number of siblings every elements in body tag can contains. Default is `1`

output -   `<html><head><title>ossimus.</title><\/head><body></body></html>`.

image optional

Generate random Image url of specific width and height and text.

param format - `width`,`height`,`text`
`width` generated image. Default is `640`
`height` generated image. Default is `480`
`text` to place over image. Default is `null`

output -   `https://via.placeholder.com/640x480.png/00aacc?text=Xzavie`.

country optional

Get random country name.

param format - `type`
`type` can be `short` `code` `full`
Default is `full`

output -  `Georgia` `MNP` `MQ`.

address optional

Get random full address.

`No option available`

output -  `473 Hessel Spring Suite 731\n Isacport, MI 49797`.

city optional

Get random city name.

`No option available`

output -  `East Yolandastad`.

street optional

Get random street name.

`No option available`

output -  `57985 Crona Underpass`.

zipcode optional

Get random zip code.

`No option available`

output -  `92032-6284`.

phone optional

Get random phone number in e164format.

`No option available`

output -  `+18042617019`.

url optional

Get random fake url.

`No option available`

output -  `http://johnson.info/sequi-magn`.

file optional

Get random file name, mimetype or extension.

param format - `type`,
`type` can be `mime` `extension` `name`
Default is `name`

output -  `video/vnd.dece.sd` `nQPK9FMrrt.tsv`.

geo optional

Get random geographical coordinate .

param format - `type`,
`type` can be `full` `lat` `long`
Default is `full`

output -  `-36.632959,22.252771`.

color optional

Get random color value.

param format - `type`,
`type` can be `rgb` `rgba` `hsl` ,`name` , `hex`
Default is `hex`

output -  `#ff00ff` , `orange`

hash optional

Get random hash value.

param format - `type`,
`type` can be `md5` `sha1` `sha256`
Default is `md5`

output -  `cfe7e9526e7e9eadb62f9cbf25821e02ff59019e`

ip optional

Get random ip address value.

param format - `type`,
`type` can be `i4` `i6` `local`
Default is `i4`

output -  `10.0.0.1`

useragent optional

Get random useragent value.

param format - `type`,
`type` can be `random` `chrome` `firefox` ,`opera` , `safari` , `explorer`
Default is `random`

output -  `Opera/8.25 (X11; Linux i686; sl-SI) Presto/2.11.333 Version/11.00`

mac optional

Get random mac address.

`no option available`

output -  `2C:5C:6B:26:29:E1`

domain optional

Get random domain name.

`no option available`

output -  `kuphal.org`

tld optional

Get random top level domain name.

`no option available`

output -  `com`

processor optional

Get random processor name.

`no option available`

output -  `i686`

password optional

Get random password based on min and max length.

param format - `hash,min,max`,
`hash` can be `true` or  `false`. Default is `false`
`min` minimum length of password.  Default is `6`
`max` maximum length of password.  Default is `20`

output -  `b3ab12b7cb9ddd89a8e8d1b596b48f84`

youtube optional

Get youtube url.

param format - `type`,
`type` can be `short` `embed` `iframe` `default`

Default is `default`

output -  `youtube.com/cvfdgfg3f43`

Example


curl -d "count=2&unique=id&name=username&email=email&pswd=password,false,10,30&location=country,code"

Response

Response will of type json.


[
  {
      "unique": "1",
      "location": "SE",
      "email": "marcel.ebert@example.org",
      "pswd": "gL6VU}}m4}S@\"NGyh{",
      "name": "rosella.kuhlman"
  },
  {
      "unique": "2",
      "location": "KW",
      "email": "herman.miguel@example.com",
      "pswd": "K2m_MB:g50Be{-}DJufs$XyU",
      "name": "stoltenberg.josiane"
  },
]
Contributors: coder9118