{}
jsonmock.in
Free · No sign-up · Dynamic mock APIs from your JSON

Your JSON. Your mock API. Instant.

Paste any JSON, pick a status code, add a delay — get a live, shareable endpoint in seconds. With dynamic tokens like {{uuid}} and {{name}} for fresh data on every request.

Try it live

Paste JSON. Hit generate. Done.

Edit the payload below — you'll get a real, working endpoint before you finish reading this sentence.

payload.json
try it live

Your live endpoint

Click Generate endpoint to create a real, shareable URL — no sign-up required.

Or skip to ready-made endpoints

Pre-built datasets with pagination, search, and field selection. Hit them from anywhere with zero setup.

Explore all templates

Or straight from your terminal

Copy, paste, ship. Works from any language, framework, or CI pipeline.

~/terminal
# Create a mock endpoint with your own JSON
curl -X POST https://jsonmock.in/api/mocks \
-H "Content-Type: application/json" \
-d '{"response": {"user": "Ada", "status": "active"}}'
 
# → { "slug": "abc1234567", "url": "https://jsonmock.in/mock/abc1234567" }
 
# Call your endpoint from anywhere
curl https://jsonmock.in/mock/abc1234567

Everything you need

The small things that make mocking actually pleasant.

Instant endpoint

Paste JSON and get a live URL in under a second. No config, no sign-up.

Custom status codes

Return 200, 404, 500 — whatever your frontend needs to handle.

Simulated delay

Add artificial latency to test loading states and timeouts realistically.

CORS ready

Every endpoint ships with permissive CORS headers so browsers just work.

Dashboard

View, copy, and delete all your generated endpoints in one place.

No sign-up

Start using it immediately. Your endpoints are public and shareable.

Ready to build faster?

No account. No credit card. No friction. Just a URL.

Generate your first mock API