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.
info
This api route don't require any authentication or token and can be used anywhere
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,....
....
....
optional
id 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`
optional
count Number of data count to generate.
default - `1`
optional
sort Sort the data block asc according to key.
default - `true`
optional
number Generate random number between provided min and max range.
param format - `MIN`,`MAX`
default - `1 to 9`
output - `10` , `10320`
optional
float 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`
optional
word Generate random word based on count passed.
param format - `number of word count`
default - `1`
output - `oyyi` or `oyyi is best for developer`
optional
text 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`.
optional
name 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`.
optional
email Generate fake email id for user
`No option available`
output - `vryan@example.org`.
optional
username Generate fake email id for user
`No option available`
output - `miller.kadin`.
optional
uuid Generate random uuid
`No option available`
output - `696fa7f1-44bd-418c-85a1-446bf6562be8`.
optional
bool Generate boolean value either true or false
`No option available`
output - `false` `true`.
optional
currency Generate random valid currency code like usdGenerate boolean value either true or false
`No option available`
output - `USD`.
optional
locale Get random locale.
`No option available`
output - `en_GU`.
optional
lang Get random language code.
`No option available`
output - `be` `en`.
optional
emoji Get random emoji.
`No option available`
output - `😣`.
optional
barcode Generate random barcode number in ISBN13 format.
`No option available`
output - `9780114807870`.
optional
html 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>`.
optional
image 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`.
optional
country Get random country name.
param format - `type`
`type` can be `short` `code` `full`
Default is `full`
output - `Georgia` `MNP` `MQ`.
optional
address Get random full address.
`No option available`
output - `473 Hessel Spring Suite 731\n Isacport, MI 49797`.
optional
city Get random city name.
`No option available`
output - `East Yolandastad`.
optional
street Get random street name.
`No option available`
output - `57985 Crona Underpass`.
optional
zipcode Get random zip code.
`No option available`
output - `92032-6284`.
optional
phone Get random phone number in e164format.
`No option available`
output - `+18042617019`.
optional
url Get random fake url.
`No option available`
output - `http://johnson.info/sequi-magn`.
optional
file 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`.
optional
geo Get random geographical coordinate .
param format - `type`,
`type` can be `full` `lat` `long`
Default is `full`
output - `-36.632959,22.252771`.
optional
color Get random color value.
param format - `type`,
`type` can be `rgb` `rgba` `hsl` ,`name` , `hex`
Default is `hex`
output - `#ff00ff` , `orange`
optional
hash Get random hash value.
param format - `type`,
`type` can be `md5` `sha1` `sha256`
Default is `md5`
output - `cfe7e9526e7e9eadb62f9cbf25821e02ff59019e`
optional
ip Get random ip address value.
param format - `type`,
`type` can be `i4` `i6` `local`
Default is `i4`
output - `10.0.0.1`
optional
useragent 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`
optional
mac Get random mac address.
`no option available`
output - `2C:5C:6B:26:29:E1`
optional
domain Get random domain name.
`no option available`
output - `kuphal.org`
optional
tld Get random top level domain name.
`no option available`
output - `com`
optional
processor Get random processor name.
`no option available`
output - `i686`
optional
password 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`
optional
youtube 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"
},
]