Skip to content

List of aliases

Reference

Functions are extracted from jaswdr/faker library to generate dynamic values.

Usage

Use inside curly brackets in your fixed responses, for example:

{
    "id": "{fake:uuid.v4}",
    "name": "{fake:person.name}"
}

Aliases

fake:address.address
fake:address.building_number
fake:address.city
fake:address.city_prefix
fake:address.city_suffix
fake:address.country
fake:address.country_abbr
fake:address.country_code
fake:address.latitude
fake:address.longitude
fake:address.post_code
fake:address.secondary_address
fake:address.state
fake:address.state_abbr
fake:address.street_address
fake:address.street_name
fake:address.street_suffix
fake:app.name
fake:app.version
fake:beer.alcohol
fake:beer.blg
fake:beer.hop
fake:beer.ibu
fake:beer.malt
fake:beer.name
fake:beer.style
fake:blood.name
fake:bool
fake:boolean.bool
fake:boolean.bool_int
fake:car.category
fake:car.fuel_type
fake:car.maker
fake:car.model
fake:car.plate
fake:car.transmission_gear
fake:color.color_name
fake:color.css
fake:color.hex
fake:color.rgb
fake:color.safe_color_name
fake:company.bs
fake:company.catch_phrase
fake:company.ein
fake:company.job_title
fake:company.name
fake:company.suffix
fake:crypto.bech32_address
fake:crypto.bitcoin_address
fake:crypto.etherium_address
fake:crypto.p2_pkh_address
fake:crypto.p2_sh_address
fake:currency.code
fake:currency.country
fake:currency.currency
fake:currency.currency_and_code
fake:currency.number
fake:directory.drive_letter
fake:emoji.emoji
fake:emoji.emoji_code
fake:file.extension
fake:file.filename_with_extension
fake:food.fruit
fake:food.vegetable
fake:gamer.tag
fake:gender.abbr
fake:gender.name
fake:genre.name
fake:genre.name_with_description
fake:hash.md5
fake:hash.sha256
fake:hash.sha512
fake:int
fake:int16
fake:int32
fake:int64
fake:int8
fake:internet.company_email
fake:internet.domain
fake:internet.email
fake:internet.free_email
fake:internet.free_email_domain
fake:internet.http_method
fake:internet.ipv4
fake:internet.ipv6
fake:internet.local_ipv4
fake:internet.mac_address
fake:internet.password
fake:internet.query
fake:internet.safe_email
fake:internet.safe_email_domain
fake:internet.slug
fake:internet.status_code
fake:internet.status_code_message
fake:internet.status_code_with_message
fake:internet.tld
fake:internet.url
fake:internet.user
fake:language.language
fake:language.language_abbr
fake:language.programming_language
fake:letter
fake:lorem.word
fake:mime_type.mime_type
fake:music.author
fake:music.genre
fake:music.length
fake:music.name
fake:payment.credit_card_expiration_date_string
fake:payment.credit_card_number
fake:payment.credit_card_type
fake:payment.iban
fake:person.first_name
fake:person.first_name_female
fake:person.first_name_male
fake:person.gender
fake:person.gender_female
fake:person.gender_male
fake:person.last_name
fake:person.name
fake:person.name_and_gender
fake:person.name_female
fake:person.name_male
fake:person.ssn
fake:person.suffix
fake:person.title
fake:person.title_female
fake:person.title_male
fake:pet.cat
fake:pet.dog
fake:pet.name
fake:phone.area_code
fake:phone.e164_number
fake:phone.exchange_code
fake:phone.number
fake:phone.toll_free_area_code
fake:phone.tool_free_number
fake:random_digit
fake:random_digit_not_null
fake:random_letter
fake:time.am_pm
fake:time.century
fake:time.day_of_month
fake:time.day_of_week
fake:time.month
fake:time.month_name
fake:time.timezone
fake:time.year
fake:u_int
fake:u_int16
fake:u_int32
fake:u_int64
fake:u_int8
fake:user_agent.chrome
fake:user_agent.firefox
fake:user_agent.internet_explorer
fake:user_agent.opera
fake:user_agent.safari
fake:user_agent.user_agent
fake:uuid.v4
fake:you_tube.generate_embeded_url
fake:you_tube.generate_full_url
fake:you_tube.generate_share_url
fake:you_tube.generate_video_id