Mock any REST API.
On your own terms.
Mokkify is a self-hosted API mocking platform that streamlines your development workflow. Craft mock endpoints with dynamic response templates, simulate server behavior, test webhooks, and fine-tune your applications — without ever sending data to a third party.
git clone https://github.com/Wavix/Mokkify.git{
"id": "@uuid",
"status": "delivered",
"recipient": "@request.to",
"timestamp": "@date",
"trace": "@path.param"
}
Everything you need to mock with confidence
A complete mocking toolkit with an intuitive admin interface — no SaaS subscription, no vendor lock-in, no data leaving your infrastructure.
Built for speed
In-memory endpoint caching serves 2,500+ requests per second on a single node. Your mocks never become the bottleneck.
Path params & wildcards
Match real-world routes with path parameters and wildcard patterns — /users/:id, /files/*, and anything in between.
Dynamic response templates
Inject variables resolved per request: random UUIDs, timestamps, request body and query values, and path parameters.
Any content type
Respond with JSON, XML, plain text, HTML, or CSV. Add custom headers and built-in CORS support with a click.
Webhook relay
Relay requests to external hooks to simulate complex scenarios like delivery and loss reports (DLR) end to end.
Latency simulation
Emulate slow upstreams and flaky networks with configurable response delays — test how your app really behaves.
OpenAPI import
Generate mock endpoints straight from your OpenAPI / Swagger specs instead of clicking them together by hand.
Auth & access control
Built-in authentication and authorization keep your mock infrastructure private to you and your team.
Backup & restore
Export your full configuration and restore it anywhere. Metrics and request visualization are built in.
Maximize your development efficiency
Mokkify is a versatile tool designed to streamline your web development process and give you back your time. Ship faster, test deeper, and keep every byte of test traffic inside your perimeter.
Effortless endpoint mocking
Save time and resources by simulating API endpoints and responses in just a few clicks. Focus on developing and fine-tuning your application without setting up real infrastructure first.
Self-hosted by design
Increased privacy and full control. Run Mokkify on your own servers, behind your own authentication, without sharing sensitive payloads with third-party providers. Secure and customizable for your needs.
Rapid development & iteration
Accelerate your development loop with immediate feedback. Adjust response configurations on the fly and watch your application react — no redeploys, no waiting on backend teams.
Template variables
Resolved per request, right inside your response body
@uuidrandom UUID v4@datecurrent date / time@unixunix timestamp@request.fieldrequest body & query values@response.fieldrelay response values@path.parampath parameters
Up and running in minutes
All you need is Node.js 20+, pnpm, and SQLite. No external databases, no cloud accounts, no license keys.
Clone & install
$ git clone https://github.com/Wavix/Mokkify.git
$ cd Mokkify && pnpm install
Initialize
$ pnpm cli dbcreate
$ pnpm cli useradd <login> <password>
Run
$ pnpm build && pnpm start
# → http://localhost:3000
Ready to mock your first endpoint?
Explore the live demo, or grab the source and deploy Mokkify on your own infrastructure today. Free for personal and commercial use under the MIT license.
Contributors
Mokkify is built and maintained in the open. Say hi, open an issue, or send a pull request.