Mockzilla Logo
Mockzilla

API Mocking Platform

🚀 Open Source API Mocking Platform

Mock APIs in 30 Seconds

With Mockzilla's Powerful Platform

Chrome Extension for instant interception.
HTTP Server for dynamic mocking.
Two tools, one ecosystem, unlimited possibilities.

Mockzilla HTTP Server
GET /api/users → {"users": [...]}
POST /api/products → {"id": 123}
PUT /api/orders/123 → {"status": "shipped"}
Host your own mock endpoints
Mockzilla Extension
GET /api/users → Mock Response
GET /api/products → Mock Response
POST /api/login → Mock Response
Intercept browser requests

Quick Installation

Get started with Mockzilla in seconds - choose your preferred method

HTTP Server

For hosted endpoints with advanced features

docker run -p 36666:36666 -v mockzilla-data:/data andrecrjr/mockzilla:latest
Deploy Now

Chrome Extension

For real-time request interception in browser

Add to Chrome in one click
Install Now

Your server will be available at http://localhost:36666

Mockzilla HTTP Server

A powerful Next.js application with PostgreSQL database that provides dynamic API mocking with advanced features like stateful workflows and AI integration.

Dynamic Mocks & Stateful Workflows

Generate realistic data using JSON Schema and Faker. Simulate complex user flows with persistent state and logic between requests. Each scenario gets a transient database to push, update, and query items during a session.

Mini-Database

Scenario-based data persistence

MCP Integration

First-class support for AI agents to control your mocks

Workflow Scenarios

Complex stateful scenarios with transitions and conditions

Quick Installation

docker run -p 36666:36666 andrecrjr/mockzilla:latest

Your mock server will be available at http://localhost:36666

Mockzilla HTTP Server UI
{
"users": [
{
"id": 1,
"name": "John Doe",
"email": "john@example.com"
},
]
}
Folders
Organize mocks
Workflows
Stateful scenarios

Mockzilla Chrome Extension

A browser extension that intercepts fetch() and XMLHttpRequest calls in real-time, replacing responses instantly with your mock data.

Mockzilla Extension Popup
Rule #1
Pattern: /api/users
Type: JSON
{"users": []}
Hits: 5
Rule #2
Pattern: /api/products
Type: JSON
{"products": []}
Hits: 2

Real-time Request Interception

The Chrome Extension patches fetch() and XMLHttpRequest in the page context to intercept requests and replace responses with your defined mock data. Perfect for situations where you're working with an existing application but need different responses from external APIs.

Real-time Interception

Intercepts page-level requests instantly

Flexible Matching

Substring or exact URL matching

Cross-device Sync

Rules sync via Chrome storage

Platform Features

Comprehensive mocking capabilities across both tools

Real-time Interception

Intercepts fetch() and XMLHttpRequest calls in real-time as they happen on the page, replacing responses instantly with your mock data.

Flexible Matching

Choose between substring and exact URL matching to target specific API endpoints with precision.

Hit Tracking

Monitor per-tab hit counters and last matched URLs to verify your mocks are working correctly.

JSON & Text Support

Support for both JSON and plain text response bodies with appropriate Content-Type headers.

Stateful Workflows

Create complex user flows with persistent state and database between requests.

MCP Integration

First-class support for AI agents to control your mock endpoints.

How Mockzilla Works

A comprehensive approach to API mocking

1

Choose Your Tool

Select between HTTP Server for hosted endpoints or Extension for in-browser interception

2

Configure Mocks

Define URL patterns, response bodies, and HTTP methods for your mock endpoints

3

Use in Development

Integrate with your development workflow to mock APIs during testing

Mockzilla Workflow
HTTP Server
Chrome Extension
Stateful Workflows