v1.0.0 · Chrome · MV3 · 23 KB

MockHero

Mock API responses directly in the browser with zero configuration. Perfect for frontend development and testing.

Mock Any API in Seconds

URL Pattern
https://api.example.com/users/*
200 OK
{ "id": 1, "name": "MockHero", "active": true }
Intercepts matching requests and returns your mock response. No proxy, no server, no setup.

URL Pattern Matching

Match API endpoints with wildcard patterns. Supports path wildcards so you can mock entire endpoint families with a single rule.

FREE

Status Code + JSON Body

Set any HTTP status code and return custom JSON response bodies. Full control over what your frontend receives.

FREE

Quick Templates

One-click templates for common scenarios: 200 OK, 404 Not Found, 500 Server Error, and CORS preflight responses.

FREE

Global On/Off Toggle

Enable or disable all mock rules instantly with a single toggle. Switch between real and mocked APIs without deleting rules.

FREE

Request Log Viewer

See every intercepted request in real time. Verify your mocks are matching the right endpoints and returning expected data.

FREE

Unlimited Rules

Free plan includes 5 mock rules. Upgrade to Pro for unlimited rules to mock complex API surfaces across multiple projects.

PRO

Delay Simulation

Add configurable latency to mock responses. Test loading states, timeouts, and slow network conditions realistically.

PRO

Custom Response Headers

Set custom response headers on mocked endpoints. Test CORS, caching, content-type handling, and auth header flows.

PRO

Import / Export Rules

Export mock rules as JSON and share with your team. Import on another machine to replicate the exact same mock environment.

PRO

Conditional Matching

Match requests by method, headers, or query parameters. Return different responses for GET vs POST on the same endpoint.

PRO