v1.0 Released — Now 24x Faster

Mock APIs
in Seconds

The fastest way to mock REST, GraphQL, WebSocket, and gRPC. Zero dependencies. One binary.

Launching Soon on NextGen Tools MockAPI - Lightweight Local API Mock Server One binary Full-featured. | Product Hunt
MockAPI Main Interface
24x
Faster Routing
94%
Less Memory
0
Dependencies
12+
Templates

See It In Action

A beautiful dark-themed Web UI for managing all your mock endpoints

Routes Dashboard

Routes Dashboard

View and manage all your mock routes

Add Route Modal

Add Route Modal

Create routes with path parameters

Quick Templates

Quick Templates

12+ pre-built templates

Everything You Need

Full-featured mock server in a single binary

REST Mock

Dynamic routes, path parameters, wildcards, conditional responses

📜

JavaScript Engine

Write dynamic responses with full JS access to request context

📥

Swagger Import

Import OpenAPI 2.0/3.x specs, auto-generate mock routes

🔌

WebSocket

Mock WebSocket endpoints with auto-reply or JS handlers

GraphQL

Mock queries and mutations with operation-based matching

🔄

gRPC-Web

gRPC-Web compatible HTTP endpoints with proto import

🎨

Web UI

Dark theme interface, manage routes without config files

🔀

Proxy Mode

Forward unmatched requests to real backend

🚀

Zero Deps

Single Go binary, no Node.js, no runtime dependencies

Get Started in 30 Seconds

terminal
# Install via Go
$ go install github.com/fynntang/MockAPI@latest
# Start the server
$ mockapi serve
✓ Server running at http://localhost:8088
✓ Web UI available at http://localhost:8088/_ui

Download Now

Available for all platforms

🐹 Go Install

go install github.com/fynntang/MockAPI@latest
enzh-hans