Create a mock API in 30 seconds
Paste a response. Pick a status code. Get a URL. No signup.
🔒 No trackers · No analytics · No accounts
How to create a mock API in 30 seconds
Quickmock is an online mock API and REST endpoint generator: paste a JSON (or any) response body, pick an HTTP method and status code, and get a public URL you can call from anywhere — no signup, no install.
- 1Fill out the form below — method, response body, status code.
- 2Click "Create Mock" and you'll get a public URL like /m/abc123def456.
- 3Use the URL in your code. Open the mock page to watch requests live.
Example: create and call a mock with curl
Create a mock that returns 200 with a JSON body:
curl -X POST https://quickmock.dev/api/mocks \
-H 'Content-Type: application/json' \
-d '{
"method": "GET",
"response_status": 200,
"content_type": "application/json",
"response_body": "{\"hello\":\"world\"}",
"ttl_seconds": 604800
}'
Then call your new mock:
curl https://quickmock.dev/m/abc123def456
# => {"hello":"world"}
What can you use a mock API for?
Not sure where to start? See ready-to-run recipes for retry testing, flaky APIs, webhooks, and more.
Ready-made mock templates
Reproduce the shape of a Stripe, GitHub, Slack, or OAuth2 response without writing the payload yourself — pick a template and create the mock in one click.
Mock API FAQ
What is Quickmock?
Quickmock is a free online tool that creates a public HTTP mock endpoint in 30 seconds. You paste a response body, pick a method and status code, and get a URL you can call from any client — curl, Postman, your frontend, a CI test, anywhere.
Do I need to sign up or pay?
No. There is no account, no email, no credit card. Mocks are limited per IP and expire after the TTL you pick (up to 30 days). The service is free and open source.
What can I use Quickmock for?
Frontend prototyping while the backend is not ready, webhook testing, integration and contract tests, reproducing edge cases like 500 errors or slow responses, API demos, and teaching examples.
Can I see who calls my mock?
Yes. Every mock has a private live inspector for incoming method, path, headers, query, and body. Unlock it with the mock's admin token; body and sender-IP capture can be disabled.
Can mocks return dynamic data?
Yes. Drop tokens like {{faker.uuid}}, {{faker.name}}, {{faker.email}}, or {{now.iso8601}} into the response body — the mock stores the template as-is and substitutes fresh values on every hit. request.* tokens echo the incoming request back: {{request.query.id}}, {{request.header.x-request-id}}, {{request.body.user.name}}. The full list (people, IDs, network, text, time, request echo) is in the form under "Dynamic tokens".
Mock API glossary: endpoint, TTL, faker tokens
- Mock API
- A fake HTTP endpoint that returns a response you control — used to develop against an API before the real one exists, or to reproduce specific responses in tests.
- Endpoint
- A single addressable URL on a server that accepts requests of a given method (GET, POST, …) and returns a response. Quickmock gives you one per mock.
- TTL
- Time-to-live — how long a mock stays alive before Quickmock deletes it. Pick 1 hour, 24 hours, 7 days, or 30 days at creation.
- Faker token
- A placeholder like `{{faker.email}}` or `{{now.iso8601}}` that Quickmock substitutes with a fresh random value on every request, so the same mock can return different data each call.
- Content-Type
- The HTTP header that tells the client how to parse the response body — `application/json`, `application/xml`, `text/plain`, `text/html`.
Why another free mock API tool?
Every team I've worked on has spent hours of dev time on the same problem: the frontend needs an endpoint that the backend hasn't built yet, or QA needs to reproduce a flaky 500, or someone wants to demo an API contract without spinning up a whole service. I kept reaching for hosted mock-API tools that demand a signup, a paid tier for anything past three endpoints, and a privacy policy I'd rather not read. Quickmock is what I wanted instead: a public URL in 30 seconds, no account, no tracking, real request inspector, fully open source.
No signup, no tracking, no accounts
No third-party analytics. No tracking pixels. No fingerprinting. No external JS or fonts. No ads. No accounts, no email, no data sold or shared.
What I do log (and why)
- Your IP for rate limiting — kept for 8 hours in Redis, then dropped.
- The IP that created a mock — to enforce the 50-mocks-per-IP limit. Never shown in the UI.
- Requests to your mocks — that's the private inspector. Body and sender-IP capture can be disabled; retained requests disappear with the mock.
- Language preference and, after admin-token verification, a path-scoped HttpOnly inspector session.
Last updated: 2026-09-08