A GUI-based utility for creating, managing, and running mock APIs. Design realistic mock endpoints without writing code.
- Create & Store Endpoints – Define mock endpoints with custom responses via the GUI
- Activate/Deactivate – Toggle which endpoints are active in your mock server
- Mock Server – Run a fully functional mock API server from your stored endpoints
- Response Delay – Simulate slow responses to test loading states and timeouts
npm install -g mock-api-studio
mock-api-studioThe app starts a local Node server with a web-based GUI where you can create and manage your mock API endpoints.
Options:
-p, --port <port> Port to run the server on (default: "3000")
-m, --mock-port <number> Port for the mock server (default: "4000")
--no-open Do not automatically open the browser
-h, --help Display help for command
Prerequisites: Node.js v20+ and npm
Setup:
git clone https://github.com/talevv/mock-api-studio
cd mock-api-studio
npm ciRun development server:
npm run devBuild:
npm run build
npm startBuild the project and link it globally:
npm run build
npm linkNow you can run mock-api-studio from any directory as if it were installed from npm.
To unlink when done:
npm unlink -g mock-api-studio- Collections/Projects – Organize endpoints into logical groups
- HTTP Interceptor – Capture and analyze requests to your mock API
Start mocking APIs instantly without any setup.