{}
jsonmock.in

Generate mock API

Paste your JSON, configure the endpoint, and get a live URL instantly.

Quick start — choose a sample

payload.json
✨ Dynamic values — embed tokens like {{uuid}} or {{int:1-100}} for fresh data every request

Every GET to your endpoint replaces these tokens with new values. A token alone in a string preserves its native type (e.g. "{{int:1-100}}" returns a number, not a string).

{{uuid}}Random UUID v4
{{id}}Random integer id
{{name}}Full name
{{firstName}}First name only
{{lastName}}Last name only
{{username}}Username-style handle
{{email}}Random email address
{{phone}}US phone number
{{int:1-100}}Random integer in range
{{float:0-10}}Random decimal in range
{{price}}Price-like decimal (1–999)
{{bool}}Random true/false
{{date}}Current ISO timestamp
{{date:past}}Random past date
{{date:future}}Random future date
{{word}}Single lorem word
{{words:5}}N space-separated words
{{sentence}}Lorem sentence
{{paragraph}}Lorem paragraph
{{company}}Company name
{{city}}City name
{{country}}Country name
{{color}}Random hex color
{{image}}Random picsum image URL
{{url}}Random URL

0 – 30,000 ms