JSON Mock API Generator

Create shareable mock REST APIs from JSON with inferred CRUD routes, local draft editing, simulation controls, and a built-in tester.

Hosted publishing is not configured in this environment, so the tool runs in local draft mode only.

Turn JSON into a real shareable mock REST API with inferred CRUD routes, a live tester, exportable config, and hosted runtime state. Drafts stay local until you publish.
0 resources344 B
Hosted publishing is disabled because Upstash Redis is not configured on the server. You can still edit the draft, infer routes, and export mock API files locally.
Paste JSON, review the inferred routes, and publish when you are ready.

Draft JSON

Paste a root array or object. We infer collection and singleton routes automatically.

Generated resources

Edit paths, method access, id fields, and per-resource behavior before you publish.

0 collections0 singletons
Add valid JSON above and we will infer the mock API resources here.

How to Use

  1. Paste or upload JSON, or import a generated payload from Mock JSON Generator.
  2. Review the inferred collection and singleton resources, then adjust route paths, methods, and simulation settings.
  3. Publish the API to create a shareable URL, then test live requests with the built-in request builder and snippets.
  4. Reset, republish, export, or delete the hosted mock project without losing your local draft.

Related Tools

Frequently Asked Questions

Does this tool create real shareable API URLs?

Yes. When hosted publishing is enabled, the tool turns your JSON draft into a live mock API under /api/mock/{projectId}/... and keeps the project state in Upstash Redis.

Do POST, PUT, PATCH, and DELETE requests change the mock API state?

Yes. Published APIs are mutable during the project session. You can reset them back to the original snapshot or republish the draft when you need a fresh baseline.

What happens if hosted storage is unavailable?

You can still use the tool in local draft mode. Route inference, exports, and configuration still work, but publish and share controls stay disabled with a clear notice.

Can I import data directly from Mock JSON Generator?

Yes. The mock data builder can hand its current output into this tool using a local browser handoff so you can go from generated payload to hosted mock API in one step.