API Mock Server

Create a temporary fake REST API in seconds: routes with :params, any status code, JSON/text/XML/CSV answers, delays and a live request log. CORS enabled.

Tool

Was this tool useful?

About this tool

About API Mock Server

Building a front end before the back end is ready, or testing how your app handles errors and slow answers? Define routes such as GET /users/:id or POST /orders with the status code, response body, content type and delay, and get a public mock API URL that works from any app or tool for 24 hours. Answers can use {{params.id}}, {{query.x}}, {{body.name}}, {{now}} and {{uuid}}, and every request is logged live.

How it works

Routes match method + path (:name = one path part, * = the rest; an ANY route is the fallback). Mocks expire after 24 hours, allow 25 routes of up to 64 KB, 120 requests a minute, and only answer as JSON, text, XML or CSV with a sandbox security policy.

Example

GET /users/7 on the demo mock answers { "id": "7", "name": "User 7" } after a 300 ms delay; DELETE /users/7 answers 204.

How to use this tool

  1. Edit the routes (method, path, status, type, delay, body).
  2. Click Create mock API and copy the base URL.
  3. Call it from your app or curl and watch the request log.

Frequently asked questions

Can other people call my mock?

Anyone with the long random URL can. Do not put real personal data in mock answers.

Can I change routes later?

Yes – click Save changes; the URL stays the same. Only the browser that created it can edit it.

Does it use your server?

Yes, only to load the public web pages you ask for. Our server fetches them with strict safety checks (public addresses only, every redirect checked, time and size limits) and does not keep them.