Description
Mocktail is a self-hosted mock API server with a built-in dashboard, shipped as a single binary of about 25 MB. You define endpoints and their responses, and your app calls them as if they were a real API. The dashboard lets you edit and validate JSON responses, generate fresh values for fields such as uuid, email, name and price on every request, and add delays or error responses such as a flaky 401. Each request appears in a live stream with its method, status, latency and the response and headers served, and you can filter by path or status. Real fields can be swapped for fake data to anonymize a response, and mocks can be exported as JSON to commit or share. You install it with Homebrew or Docker, and the dashboard opens at localhost:6625. Data is stored in a single SQLite file on your own machine, and the site says there is no telemetry. The project is open source on GitHub and needs no sign-up.…
Highlights
- Single-binary mock API server with a dashboard
- Live request stream with status, latency and headers
- Generated fake data and error or latency simulation
- Install with Homebrew or Docker, data stays local
Ratings & Reviews
No ratings yet
Be the first to rate Mocktail.
People also visit
Mocktail FAQ
What is Mocktail?
A self-hosted mock API server with a built-in dashboard, shipped as a single binary. You define endpoints and responses and call them from your app like a real API.
Is Mocktail free and open source?
Yes. The site says it is free and open source on GitHub, with no sign-up or paid tier required.
How do I install it?
With Homebrew, with Docker, or by downloading the binary. Local installs open the dashboard at localhost:6625. The site says a native desktop app is coming soon.
Where does my data live?
On the machine or Docker volume where you run Mocktail, in a single SQLite file. The site says nothing is sent to Mocktail and there is no telemetry.
Can I share my mocks?
Yes. Mocks can be exported as JSON to commit to a repository or share with others.
What are the best Mocktail alternatives?
Popular alternatives to Mocktail include Mockfly, Mockerito and Mockd. See all Mocktail alternatives






