Property types reference
Every property type MockAPI generates: its type value, when to use it and a sample of what a mock response returns. 173 types in 20 categories, from names, emails and prices to dates, images and file names.
How to use this reference
A property's type decides what MockAPI generates for that field. In the model editor you pick a type by its name. Through the MCP server, imports and the assistant you set its value instead, such as firstName. The tables below show each name with its value under it. Values are case-sensitive.
Every sample was generated by MockAPI with the project locale set to English. Values are generated again on each request, so yours will differ. A sample in quotes is a JSON string; one without quotes is a JSON number, boolean, array or null.
Choosing the right type
Pick the most specific type for what the field means, not only its JSON type: an email field should be email, not string. These are good choices for the fields APIs use most.
| Field | Type | Why |
|---|---|---|
| id, userId, orderId | uuid | Unique ids in the format most APIs use. |
| createdAt, updatedAt | past | An ISO 8601 timestamp from the last year. |
| expiresAt, dueDate | future | An ISO 8601 timestamp in the next year. |
| firstName, lastName, name | firstName, lastName, fullName | In one record the names agree with each other and with email and userName. |
| email or exampleEmail | Built from the record's name. exampleEmail uses domains that can't receive mail. | |
| username, handle | userName | Built from the record's name. |
| phone | phoneNumber | Formatted for the project locale. |
| avatar, photoUrl | image-avatars-128 | An image link that always loads. |
| price, total, amount | float with min and max | A JSON number with two decimals in your range. The price type returns whole numbers and ignores min and max. |
| quantity, age, count | number with min and max | A whole number in your range. |
| status, role, plan, category | randomFromList | One of your own values in each record. |
| tags, roles | randomFromList with "Is array" | A JSON array of picks from your values. |
| isActive, verified | boolean | true or false. |
| title, name of a thing | productName, sentence or catchPhrase | productName and catchPhrase read as English; sentence is Latin. |
| description, bio, body | productDescription or paragraph | productDescription reads as English; paragraph is Latin. |
| address | streetAddress, city, state, zipCode, country | One type per field, as most APIs split addresses. |
| lat, lng | latitude, longitude | JSON numbers with four decimals. |
| currency | currencyCode | The project locale's currency, such as USD or EUR. |
| url, website | url | A full https link. |
| ipAddress | ipv4 | One format, which clients validate more easily than ip. |
| token, accessToken | jwt | A well-formed JSON Web Token. |
| orderNumber, sku | charSequence or regex | Your own format, such as ORD-#### or [A-Z]{3}-\d{4}. |
| version, type | static | The same value in every record. |
| author, customer, items | a model reference | A nested object, or an array of them, generated from another model. |
Mistakes to avoid
- string for everything: it returns one placeholder word, so names, emails and dates all look the same. Use the specific type.
- price when the value needs cents or a range: price returns whole numbers from 1 to 1,000 whatever min and max say. Use float with min and max.
- Text types for readable copy: word, sentence, paragraph and the other text types are Latin. Use productDescription, catchPhrase or productName when the text should read as English.
- A date without a time: no type returns only YYYY-MM-DD. Use past or future for timestamps, or regex with 20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-8]) for a date string.
- Type and Vehicle Type: both have the value type and return a placeholder word today. Use randomFromList with your own values.
- customList for one value: customList returns the whole list in every record. For one value per record, use randomFromList.
- Lowercase values: values are case-sensitive, so MCP and the assistant refuse customlist or randomfromlist. Write them as in the Value column.
Example: a product model
A Product model as the MCP create_model tool takes it, and one record from a mock endpoint that returns it.
{
"name": "Product",
"properties": [
{
"name": "id",
"type": "uuid"
},
{
"name": "name",
"type": "productName"
},
{
"name": "description",
"type": "productDescription"
},
{
"name": "price",
"type": "float",
"rangeStart": "5",
"rangeEnd": "250"
},
{
"name": "currency",
"type": "currencyCode"
},
{
"name": "category",
"type": "randomFromList",
"customListValues": [
"Shoes",
"Bags",
"Accessories"
]
},
{
"name": "inStock",
"type": "boolean"
},
{
"name": "stock",
"type": "number",
"rangeStart": "0",
"rangeEnd": "500"
},
{
"name": "image",
"type": "image-products-600"
},
{
"name": "createdAt",
"type": "past"
}
]
}{
"id": "ec1331e6-69f4-44fb-9d2c-32031ecd9302",
"name": "Ergonomic Frozen Tuna",
"description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support",
"price": 85.69,
"currency": "USD",
"category": "Accessories",
"inStock": true,
"stock": 239,
"image": "https://cdn.mockapi.com/file/mockapi/products/product-600x600.png",
"createdAt": "2026-03-22T07:24:56.246Z"
}All property types
The types in each category, in the order the dashboard's type list groups them. The value under each name is what you set through MCP, imports and the assistant.
Basic data types
Plain JSON values. Use them when no more specific type fits the field.
| Type / Value | Use it for | Sample output |
|---|---|---|
String / string | A single placeholder word, when nothing more specific fits. Prefer a specific type: an email field should be email, a title sentence. | "dolorem" |
Number / number | Whole numbers: counts, quantities, ages, scores, stock levels. 0 to 1,000 unless you set min and max. | 802 |
Float / float | Numbers with two decimals: prices, ratings, weights, percentages. 0 to 1,000 unless you set min and max. | 294.81 |
Boolean / boolean | Flags such as isActive, verified or inStock. | true |
Datetime / datetime | A timestamp from the last 24 hours in ISO 8601 (UTC). For older or future timestamps use the date types. | "2026-12-03T22:20:27.672Z" |
UUID / uuid | Record ids and foreign keys: a random version 4 UUID. | "4a23f87a-ae2b-4db9-ab51-8efca9dda145" |
JWT / jwt | Access and refresh tokens in sign-in responses. A well-formed token with sub, name, iat and exp claims; its signature is not valid. | "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwNmExNzIyZS0wMjk5…" |
JSON / json | A small JSON object serialized as a string, for fields that carry raw JSON text. For a real nested object, reference a model. | "{\"comment\":\"tandem\",\"token\":13}" |
Hexadecimal / hexadecimal | A single hex digit with a 0x prefix. For longer hex strings such as hashes or ObjectIds, use regex with [0-9a-f]{24}. | "0xF" |
Null / null | A field that is always null, such as deletedAt on records that were never deleted. | null |
Person
In one record, fullName, email, exampleEmail and userName are built from the same first and last name, and from the firstName and lastName properties when the model has them.
| Type / Value | Use it for | Sample output |
|---|---|---|
First Name / firstName | Given names. | "Margot" |
Last Name / lastName | Family names. | "Reichert" |
Full Name / fullName | A person's first and last name: customers, authors, contacts. | "Arne Littel" |
Middle Name / middleName | Middle names. | "Avery" |
Prefix / prefix | Titles before a name, such as Mr., Ms. or Dr. | "Dr." |
Suffix / suffix | Name suffixes such as Jr., MD or DDS. | "MD" |
Gender / gender | A gender identity from a broad list. For a fixed set such as male, female and other, use randomFromList. | "Cisgender male" |
Sex / sex | Biological sex in lowercase: female or male. | "female" |
Sex Type / sexType | The same values as sex: female or male. | "male" |
Job Title / jobTitle | Job titles for employees, profiles and contacts. | "Customer Configuration Specialist" |
Job Area / jobArea | The function part of a job title, as a team or department name. | "Operations" |
Job Descriptor / jobDescriptor | The level or scope part of a job title. | "Lead" |
Job Type / jobType | The role part of a job title, such as Specialist or Technician. Not an employment type: for full-time or part-time, use randomFromList. | "Specialist" |
Internet
| Type / Value | Use it for | Sample output |
|---|---|---|
Email / email | Email addresses on common providers such as gmail.com, built from the record's name. | "arne.littel@yahoo.com" |
Example Email / exampleEmail | Email addresses on example.com, example.net or example.org, which can't receive mail. Use it when a client might send real email. Built from the record's name. | "alvah.gislason@example.com" |
User Name / userName | Usernames and handles, built from the record's name. | "Laron.Hahn12" |
Password / password | Password fields in sign-up or seed data: 15 letters, digits and underscores. | "KqUyJb95sKTRRhU" |
URL / url | Websites and links. | "https://granular-attachment.biz/" |
Domain Name / domainName | Domain names without a scheme. | "wise-footrest.org" |
IP / ip | An IP address, IPv4 or IPv6 at random. Use ipv4 or ipv6 when the format matters. | "bb9d:379f:1adc:cfe3:ff22:ec30:aa6d:2dae" |
IPv4 / ipv4 | IPv4 addresses for clients, servers and audit logs. | "93.11.52.166" |
IPv6 / ipv6 | IPv6 addresses. | "fc72:0f27:3ced:ef2c:ad8d:98aa:1ac7:ef02" |
MAC / mac | Device hardware addresses. | "4b:9a:5c:00:bf:5f" |
Port / port | Network ports, as a number from 0 to 65535. | 33121 |
Protocol / protocol | http or https. | "https" |
HTTP Method / httpMethod | HTTP methods, for request logs and webhook payloads. | "PATCH" |
HTTP Status Code / httpStatusCode | HTTP status codes as numbers, from any class (1xx to 5xx). | 207 |
User Agent / userAgent | Browser user agent strings for sessions and logs. | "Opera/10.4 (X11; Linux i686; U; AF Presto/2.9.184 Version/12.00)" |
Color / color | Hex color codes for themes, labels and tags. | "#22a63b" |
Emoji / emoji | A single emoji, for reactions and status icons. | "🕔" |
Address
Address types follow the project locale: a German project gets German streets, cities and postal codes.
| Type / Value | Use it for | Sample output |
|---|---|---|
Street Address / streetAddress | The first line of an address: number and street. | "955 Kayleigh Knolls" |
Street / street | A street name without a number. | "Kings Highway" |
Building Number / buildingNumber | House or building numbers, as a string (some locales add letters, as in 82c). | "9882" |
City / city | City names. | "Austin" |
City Name / cityName | City names, the same as city. | "Kissimmee" |
State / state | States, provinces or regions. | "California" |
State Abbreviation / stateAbbr | Short state codes, such as CA. | "UT" |
Zip Code / zipCode | Postal codes in the locale's format: 12345 or 12345-6789 in English, 123-4567 in Japanese. | "68797" |
County / county | Counties or districts. | "Marshall County" |
Country / country | Country names, in the locale's language. | "United Kingdom" |
Country Code / countryCode | Two-letter ISO 3166-1 country codes. | "BG" |
Latitude / latitude | Latitudes as numbers from -90 to 90 with four decimals. Not tied to the record's address. | 40.8432 |
Longitude / longitude | Longitudes as numbers from -180 to 180 with four decimals. | -82.3608 |
Time Zone / timeZone | IANA time zone names, for user settings and events. | "America/Antigua" |
Dates and times
Timestamps are ISO 8601 strings in UTC whatever the locale, so every client can parse them.
| Type / Value | Use it for | Sample output |
|---|---|---|
Past Date / past | Timestamps from the last year: createdAt, updatedAt, orderedAt, lastLoginAt. | "2026-05-14T17:33:22.175Z" |
Recent Date / recent | Timestamps from the last 24 hours: lastSeenAt, or updatedAt on busy data. | "2026-12-04T02:14:09.072Z" |
Future Date / future | Timestamps in the next year: expiresAt, dueDate, renewsAt. | "2027-06-02T16:04:51.524Z" |
Soon Date / soon | Timestamps in the next 24 hours: reminders, deliveries due tomorrow. | "2026-12-05T08:11:01.975Z" |
Month / month | Month names. | "September" |
Weekday / weekday | Day names. | "Wednesday" |
Finance
Money amounts are JSON numbers with two decimals, not formatted strings, so clients can do arithmetic on them. None of the numbers are real accounts or cards.
| Type / Value | Use it for | Sample output |
|---|---|---|
Amount / amount | Money amounts: balances, transaction totals, invoice amounts. | 632.39 |
Account / account | Bank account numbers, 8 digits. | "92916498" |
Account Name / accountName | Account types, such as Savings Account or Checking Account. | "Money Market Account" |
Mask / mask | A masked account number that shows the last four digits. | "(...0416)" |
IBAN / iban | International bank account numbers, from varied countries. | "GE06WM3905600957008687" |
BIC / bic | SWIFT or BIC bank codes. | "NSYJGDW2XXX" |
Routing Number / routingNumber | ABA routing numbers, the 9-digit bank codes used in the United States. | "675346487" |
Credit Card Number / creditCardNumber | Card numbers with dashes, from several networks. | "6011-9601-7814-9331" |
Credit Card CVV / creditCardCVV | Three-digit card security codes. | "856" |
Credit Card Issuer / creditCardIssuer | Card networks in lowercase, such as visa, mastercard or american_express. | "american_express" |
PIN / pin | Four-digit PINs. | "4287" |
Currency Code / currencyCode | The ISO 4217 code of the project locale's currency: USD in English, EUR in German, JPY in Japanese. The same in every record. For mixed currencies, use randomFromList. | "USD" |
Currency Name / currencyName | The name of the project locale's currency. | "US Dollar" |
Currency Symbol / currencySymbol | The symbol of the project locale's currency. | "$" |
Transaction Type / transactionType | deposit, withdrawal, payment or invoice. | "deposit" |
Transaction Description / transactionDescription | A full bank statement line with merchant, card and amount. | "payment transaction at Jakubowski - Robel using card ending with ***(...1145) for BND 283.20 in account ***64352961" |
Bitcoin Address / bitcoinAddress | Bitcoin wallet addresses. | "1KzAC1myBkohyjUT8ohZV82Nmj2GzR8dWV" |
Ethereum Address / ethereumAddress | Ethereum wallet addresses. | "0x4d78499b33933b91f638a4eb8b2ecb7d5fabbd0b" |
Litecoin Address / litecoinAddress | Litecoin wallet addresses. | "MAepx7RJwRw6NwbTbs74qdzfP3R6QCT" |
Commerce
| Type / Value | Use it for | Sample output |
|---|---|---|
Product Name / productName | Product names for catalogs, carts and orders. | "Handmade Granite Cheese" |
Product / product | A one-word product noun. | "Towels" |
Product Description / productDescription | A product description that reads as plain English. | "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support" |
Department / department | Store departments or product categories. | "Beauty" |
Price / price | Whole-number prices from 1 to 1,000. It ignores min and max: for prices with cents or in a range, use float with min and max. | 350 |
Company
| Type / Value | Use it for | Sample output |
|---|---|---|
Company Name / companyName | Company, vendor and customer account names. | "Robel and Sons" |
Catch Phrase / catchPhrase | Taglines and slogans. | "Profound full-range interface" |
Company Suffix / companySuffix | Inc, LLC, Ltd, Group or Corp. | "LLC" |
Phone
| Type / Value | Use it for | Sample output |
|---|---|---|
Phone Number / phoneNumber | Phone numbers in the project locale's format. English numbers sometimes carry an extension. | "(405) 764-1752" |
IMEI / imei | Mobile device IMEI numbers. | "75-668736-592412-5" |
Text
These types return Latin placeholder text in most locales. For text that reads as English, use productDescription, catchPhrase, jobTitle or songName.
| Type / Value | Use it for | Sample output |
|---|---|---|
Word / word | A single placeholder word. | "conscendo" |
Words / words | Three placeholder words. | "nam amet ducimus" |
Sentence / sentence | One sentence: titles, subjects, short notes. | "Suasoria accendo cubitum." |
Sentences / sentences | Two to six sentences in one string. | "Deprimo animi ducimus sufficio cattus voluntarius denuncio. Tui avaritia amiculum acceptus deputo." |
Paragraph / paragraph | One paragraph: descriptions, bios, comment and review bodies. | "Animadverto non arx tripudio. Vere talis suscipit considero esse audax. Volva venustas tibi sit corroboro ver antea." |
Text / text | One paragraph, the same as paragraph. | "Calcar termes comis. Volutabrum supra defleo volutabrum cohors fugiat. Desino aiunt aequitas curatio censura." |
Paragraphs / paragraphs | Three paragraphs separated by line breaks, for article or post bodies. | "Tardus aliqua vester vos deleo denuncio.\nBardus tergo tabella angustus…" |
Lines / lines | One to five sentences separated by line breaks, for addresses on several lines or multi-line notes. | "Sono corona recusandae clarus dolore vita suadeo arcesso aliquid quae.\nCreptio denego dignissimos." |
Slug / slug | URL slugs: three words joined by hyphens. | "terra-labore-tabella" |
Images
Image types return HTTPS links to PNG files on MockAPI's CDN, so they always load. Photo categories pick one of two or three pictures at random; avatars, backgrounds, banners, placeholders and products have one picture per size, so every record gets the same link.
| Type / Value | Use it for | Sample output |
|---|---|---|
Avatar Image 32x32 / image-avatars-32 | Small profile pictures in lists and comments. | "https://cdn.mockapi.com/file/mockapi/avatars/avatar-32x32.png" |
Avatar Image 64x64 / image-avatars-64 | Profile pictures in menus and cards. | "https://cdn.mockapi.com/file/mockapi/avatars/avatar-64x64.png" |
Avatar Image 128x128 / image-avatars-128 | Profile pictures on profile headers. A good default for avatar fields. | "https://cdn.mockapi.com/file/mockapi/avatars/avatar-128x128.png" |
Avatar Image 256x256 / image-avatars-256 | Large profile pictures. | "https://cdn.mockapi.com/file/mockapi/avatars/avatar-256x256.png" |
People Image 600x600 / image-people-600 | Photos of people, for team pages and testimonials. | "https://cdn.mockapi.com/file/mockapi/people/people-600x600-1.png" |
Product Image 300x300 / image-products-300 | Product thumbnails. | "https://cdn.mockapi.com/file/mockapi/products/product-300x300.png" |
Product Image 600x600 / image-products-600 | Product pictures in listings. | "https://cdn.mockapi.com/file/mockapi/products/product-600x600.png" |
Product Image 1200x1200 / image-products-1200 | Product detail pictures. | "https://cdn.mockapi.com/file/mockapi/products/product-1200x1200.png" |
Product Image 2400x2400 / image-products-2400 | Zoomable product pictures. | "https://cdn.mockapi.com/file/mockapi/products/product-2400x2400.png" |
Banner Image 640x200 / image-banners-640x200 | Small banners and email headers. | "https://cdn.mockapi.com/file/mockapi/banners/banner-640x200.png" |
Banner Image 1456x180 / image-banners-1456x180 | Wide, short page banners. | "https://cdn.mockapi.com/file/mockapi/banners/banner-1456x180.png" |
Banner Image 2048x1536 / image-banners-2048x1536 | Large hero banners. | "https://cdn.mockapi.com/file/mockapi/banners/banner-2048x1536.png" |
Banner Image 3840x1200 / image-banners-3840x1200 | Full-width cover images. | "https://cdn.mockapi.com/file/mockapi/banners/banner-3840x1200.png" |
Background Image 375x667 / image-backgrounds-375x667 | Phone-sized backgrounds. | "https://cdn.mockapi.com/file/mockapi/backgrounds/background-375x667.png" |
Background Image 768x1024 / image-backgrounds-768x1024 | Tablet-sized backgrounds. | "https://cdn.mockapi.com/file/mockapi/backgrounds/background-768x1024.png" |
Background Image 1920x1080 / image-backgrounds-1920x1080 | Desktop backgrounds. | "https://cdn.mockapi.com/file/mockapi/backgrounds/background-1920x1080.png" |
Background Image 2560x1440 / image-backgrounds-2560x1440 | Large desktop backgrounds. | "https://cdn.mockapi.com/file/mockapi/backgrounds/background-2560x1440.png" |
Placeholder Image 1000x1000 / image-placeholders-1000 | Square placeholders for any picture. | "https://cdn.mockapi.com/file/mockapi/placeholders/placeholder-1000x1000.png" |
Placeholder Image 1440x2560 / image-placeholders-1440x2560 | Portrait placeholders, such as stories. | "https://cdn.mockapi.com/file/mockapi/placeholders/placeholder-1440x2560.png" |
Placeholder Image 2560x1440 / image-placeholders-2560x1440 | Landscape placeholders, such as video thumbnails. | "https://cdn.mockapi.com/file/mockapi/placeholders/placeholder-2560x1440.png" |
Random Image 600x600 / image-random-600 | Any picture, when the subject doesn't matter. | "https://cdn.mockapi.com/file/mockapi/random/random-600x600-2.png" |
Abstract Image 300x300 / image-abstract-300 | Abstract art for covers and decoration. | "https://cdn.mockapi.com/file/mockapi/abstract/abstract-300x300-1.png" |
Animal Image 300x300 / image-animals-300 | Animal photos, such as pet profiles. | "https://cdn.mockapi.com/file/mockapi/animals/animal-300x300-1.png" |
Business Image 600x600 / image-business-600 | Office and business photos. | "https://cdn.mockapi.com/file/mockapi/business/business-600x600-1.png" |
Cat Image 600x600 / image-cats-600 | Cat photos. | "https://cdn.mockapi.com/file/mockapi/cats/cat-600x600-2.png" |
City Image 600x600 / image-city-600 | City photos for places and listings. | "https://cdn.mockapi.com/file/mockapi/city/city-600x600-1.png" |
Fashion Image 600x600 / image-fashion-600 | Clothing and fashion photos. | "https://cdn.mockapi.com/file/mockapi/fashion/fashion-600x600-2.png" |
Food Image 600x600 / image-foods-600 | Food photos for menus and recipes. | "https://cdn.mockapi.com/file/mockapi/foods/food-600x600-1.png" |
Nature Image 300x300 / image-nature-300 | Landscape and nature photos. | "https://cdn.mockapi.com/file/mockapi/nature/nature-300x300-2.png" |
Nightlife Image 600x600 / image-nightlifes-600 | Bars, clubs and event photos. | "https://cdn.mockapi.com/file/mockapi/nightlifes/nightlife-600x600-1.png" |
Sport Image 600x600 / image-sports-600 | Sports photos. | "https://cdn.mockapi.com/file/mockapi/sports/sport-600x600-1.png" |
Transport Image 600x600 / image-transport-600 | Cars, trains and other transport photos. | "https://cdn.mockapi.com/file/mockapi/transport/transport-600x600-2.png" |
Lists
Both types use the values you give them: Custom list items in the dashboard, customListValues through MCP. Values that look like numbers or true and false come back as JSON numbers and booleans.
| Type / Value | Use it for | Sample output |
|---|---|---|
Random From List / randomFromList | One of your values per record: status, role, plan, category, size. Turn on Is array to get several picks. | "pending" |
Custom List / customList | Your whole list, as a JSON array, in every record: fixed tags or a set of options every record shares. | ["active", "pending", "suspended"] |
Patterns
Your own string formats. Set the pattern in the model editor in the dashboard, or through MCP with characterSequence or regexPattern. Without a pattern, these types return a placeholder word.
| Type / Value | Use it for | Sample output |
|---|---|---|
Character Sequence / charSequence | Order numbers, SKUs, codes and other fixed formats, written character by character: # a digit, @ a lowercase letter, ^ an uppercase letter, * a lowercase letter or digit, $ a digit or lowercase letter, % a digit or uppercase letter. Other characters are kept. ORD-#### gives: | "ORD-6150" |
Regular Expression / regex | Formats a character sequence can't express, such as alternatives or repeats. [A-Z]{3}-\d{4} gives: | "VXY-6642" |
Static
| Type / Value | Use it for | Sample output |
|---|---|---|
Static Data / static | The same value in every record: an API version, a fixed type field, a constant flag. Set the value and its type (string, number, boolean or null) in the model editor in the dashboard, or through MCP with staticData and staticDataType. Without a value it returns null. | "v2" |
Files and system
| Type / Value | Use it for | Sample output |
|---|---|---|
File Name / fileName | File names with an extension, for uploads and attachments. | "modest_angrily_pfft.docx" |
File Extension / fileExt | File extensions without the dot. | "tar" |
File Type / fileType | A broad file category: application, audio, image, text or video. | "image" |
MIME Type / mimeType | Media types for content type fields. | "text/csv" |
File Path / filePath | Absolute Unix file paths. | "/usr/lib/ew_reduction.mpeg" |
Directory Path / directoryPath | Unix directory paths. | "/usr/local/bin" |
Cron / cron | Cron expressions for schedules and jobs. | "14 19 ? 9 TUE" |
Database
| Type / Value | Use it for | Sample output |
|---|---|---|
Column / column | Database column names. | "token" |
Collation / collation | Database collations. | "utf8_unicode_ci" |
Engine / engine | MySQL storage engines. | "InnoDB" |
Type / type | Returns a placeholder word today, not a column type. For column types, use randomFromList with values such as varchar, int and boolean. | "aptus" |
Color
| Type / Value | Use it for | Sample output |
|---|---|---|
Human Color / human | Color names people use: product colors, favorite colors. | "fuchsia" |
RGB Color / rbg | A hex color code, the same as color. | "#b8ff4b" |
Vehicle
| Type / Value | Use it for | Sample output |
|---|---|---|
Vehicle / vehicle | A manufacturer and model together. | "Ford Malibu" |
Vehicle Manufacturer / manufacturer | Car makers. | "Porsche" |
Vehicle Model / model | Car model names. | "Prius" |
Vehicle Type / type | Returns a placeholder word today. For body types such as Sedan or SUV, use randomFromList. | "cauda" |
Fuel / fuel | Fuel types, such as Diesel, Electric or Gasoline. | "Electric" |
Bicycle / bicycle | Bicycle types. | "Tandem Bicycle" |
Vehicle Color / color | A hex color code, the same as the Internet color type. For color names, use human. | "#0abf0d" |
Vehicle VIN / vin | 17-character vehicle identification numbers. | "9LXRYVTVRHT668567" |
Vehicle VRM / vrm | UK-style registration plates. | "RJ37VCR" |
Animals
Each type returns names of one kind of animal: breeds for pets and livestock, species for the rest.
| Type / Value | Use it for | Sample output |
|---|---|---|
Dog / dog | Dog breeds. | "Black Russian Terrier" |
Cat / cat | Cat breeds. | "Ocicat" |
Bird / bird | Bird species. | "Song Sparrow" |
Fish / fish | Fish species. | "Bigeye tuna" |
Horse / horse | Horse breeds. | "Warlander" |
Cow / cow | Cattle breeds. | "Randall" |
Rabbit / rabbit | Rabbit breeds. | "Harlequin" |
Bear / bear | Bear species. | "Giant panda" |
Lion / lion | Lion subspecies. | "Masai Lion" |
Cetacean / cetacean | Whales and dolphins. | "Sperm Whale" |
Crocodilia / crocodilia | Crocodiles, alligators and caimans. | "Orinoco Crocodile" |
Snake / snake | Snake species. | "Water adder" |
Insect / insect | Insect species. | "Sweat bee" |
Rodent / rodent | Rodent species. | "Mountain degu" |
Music
| Type / Value | Use it for | Sample output |
|---|---|---|
Music Genre / genre | Music genres. | "Hip Hop" |
Song Name / songName | Song titles. | "Bad Moon Rising" |
Model references
A property can also hold another model of the same project: a post's author, an order's customer. Pick the model in the type list, or set the type to model:: followed by the model's id. Each record gets a nested object generated from that model; turn on Is array for a list of them, such as an order's items.
Nesting stops at 5 levels, and a model that leads back to one already being generated returns null, so models can reference each other safely.
{
"id": "0131833d-0439-4316-be51-33f969f99a8d",
"customer": {
"id": "3c18202c-b160-429a-b5a6-10fc4fac4ad0",
"fullName": "Arne Littel",
"email": "arne.littel@yahoo.com"
},
"total": 85.69
}Settings that change a type's output
These property settings work with the types above. Static data, then a regex pattern, then a character sequence take the place of the type's own value.
| Setting | Works with | What it does | Through MCP |
|---|---|---|---|
| Min value and max value | number, float | Bounds the generated number. With only a min, the max is min plus 1,000; with only a max, the min is 0. | rangeStart, rangeEnd |
| Is array | Every type except customList, model references included | Returns a JSON array of that many values, up to 100. | isRange, range |
| Custom list items | randomFromList, customList | The values to pick from or return. | customListValues |
| Regex pattern | regex, or any type | Returns a string that matches the pattern. | regexPattern, on regex only |
| Character sequence | charSequence, or any type | Returns a string in the pattern's format. | characterSequence, on charSequence only |
| Static data | static, or any type | Returns the same value in every record. | staticData and staticDataType, on static only |
Other values on existing models
Imports and older models can hold values outside the type list. They keep working, and a model can keep them when it's updated, but MCP and the assistant only accept the values above for new properties.
| Value | Generates | Use instead |
|---|---|---|
| integer, int | A whole number, like number | number |
| decimal | A two-decimal number, like float | float |
| date | Today's or yesterday's date without a time, such as 2026-12-04 | past or future for timestamps, or regex for a date string |
| id | A UUID; with Sequential on, 1, 2, 3 in a list | uuid |
| name | A full name, like fullName | fullName |
| phone | A phone number, like phoneNumber | phoneNumber |
| address | A street address, like streetAddress | streetAddress |
| postalCode | A postal code, like zipCode | zipCode |
| domain | A domain name, like domainName | domainName |
| guid | A UUID, like uuid | uuid |
| avatar | An avatar link on an outside host | image-avatars-128 |
| array, object | An empty array or object | A model reference, or Is array on another type |
Types that follow the project locale
The project locale changes names, addresses, phone numbers, company names, country names, currencies and, in some locales such as Japanese, the text types. Numbers, money amounts and timestamps stay locale-independent JSON so clients parse them the same way everywhere. If a locale has no data for a type, MockAPI uses English for that value. See Locale support for the list of locales.