# API MOCK

> 修改http请求的响应体

Canonical page: [https://chrome-stats.com/d/api-mock](https://chrome-stats.com/d/api-mock)

## Overview

- **ID:** `api-mock`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** yasewang
- **Category:** web-development
- **Version:** 0.1.0
- **Last updated:** 2023-06-30
- **First published:** 2023-06-16
- **Size:** 1.05 MB
- **Data as of:** 2026-09-07
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/api-mock/)

## Description

API MOCK is a powerful Firefox add-on that allows users to modify HTTP responses for API requests. Users can customize response data based on the requested API path or button code. The add-on supports regex matching, local persistent storage, and the ability to collapse, expand, or disable the mock functionality.

## Rankings

- #147,264 — Overall

## Permissions and access

### Permissions

- `storage`
- `tabs`

### Host permissions

- `http://*/*`
- `https://*/*`

### Content script matches

- `*`

## Safety

- **Risk impact:** High risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Mock Express](https://chrome-stats.com/d/mock-express) — 60 users
- [Moq - Mock API Requests](https://chrome-stats.com/d/moq-mock-api-requests) — 14 users
- [API Response Mocker](https://chrome-stats.com/d/api-response-mocker)
- [Ajax Proxy](https://chrome-stats.com/d/ajaxproxy) — 22 users
- [Colibri: modify Ajax response](https://chrome-stats.com/d/colibri-modify-ajax-response) — 3 users
- [tweak: mock and modify HTTP requests](https://chrome-stats.com/d/tweak-extension) — 1,578 users, 4.14 / 5
- [Apifox Browser Extension](https://chrome-stats.com/d/apifox-browser-extension) — 24 users
- [ModResponse Mock replay API](https://chrome-stats.com/d/modresponse-mock-replay-api) — 33 users
- [API Mock Generator](https://chrome-stats.com/d/api-mock-generator) — 1 users
- [API Request Interceptor Mock](https://chrome-stats.com/d/api-request-interceptor-mock) — 1 users
- [BreakingBadRequest](https://chrome-stats.com/d/breakingbadrequest) — 1 users
- [Network Interceptor](https://chrome-stats.com/d/network-interceptor) — 6 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/api-mock)
