Getting Started
Smart Mock
Writing realistic example JSON by hand gets tedious fast — "email": "test" doesn't look like real data, and typing out a believable name, date, and price for every field adds up. Smart mock does it for you.
How it works
In the response body editor, click Smart mock. MockBase looks at each field's name and fills it with matching realistic fake data:
| Field name looks like | Becomes |
|---|---|
email | a real-looking email address |
first_name / last_name | an actual name |
avatar_url / photo | a working image URL |
created_at / updated_at | a valid date |
price / amount / cost | a decimal number |
id / uuid | a UUID |
status | one of active, pending, inactive |
A field whose name doesn't match anything specific still gets a value of the right type — a random word for a string field, a number for a numeric one, true/false for a boolean — so the shape of your JSON is always preserved, only the values change.
Keys and structure stay put
Smart mock only replaces values. Your field names, nesting, and array lengths are untouched, so it's safe to run on a response body you've already started shaping — it just fills in the parts you haven't written real example data for yet.