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 likeBecomes
emaila real-looking email address
first_name / last_namean actual name
avatar_url / photoa working image URL
created_at / updated_ata valid date
price / amount / costa decimal number
id / uuida UUID
statusone 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.