Mock any API response in your browser

Override, block or redirect requests with simple URL rules, for any HTTP method. Test error states and build before the backend is ready. Your rules stay on your device unless you choose to sync or share them.

Free to use. 6 rules with a free account, no credit card.

The Placebo API rules page: rules in folders that override, block and redirect requests
Why developers use it

Change what the browser receives, not the backend.

01

Test every error state

Return a 500, 401 or 429, an empty list or a broken payload, and see how your UI copes. Failed saves too: POST, PUT and DELETE.

02

Build before the API exists

Mock the endpoint you need with the JSON you expect and keep working while the backend catches up.

03

Reproduce bugs exactly

Paste the payload from a bug report and replay it on your local or staging app, as often as you like.

04

Swap or silence scripts

Point a production script at your local build, or block analytics and third-party widgets while you develop.

Features

Everything you need to fake an API. Nothing you don't.

No proxy to install, no certificates, no API client. Just rules that run inside Chrome.

Override any response

Replace the body and status code of fetch and XHR calls, for GET, POST, PUT, PATCH, DELETE and more.

Mock without a server

Serve the response without sending the request at all, or let the real request go and only change what comes back.

Block and redirect

Block requests or redirect them to another URL. Works for scripts, CSS, images, frames and workers too.

Folders and priority

Group rules into folders, switch a whole folder on or off, and drag to reorder. The first matching rule wins.

Contains or regex

Match URLs by a simple substring or a regular expression, optionally only for the methods you choose.

Import from Requestly

Switching tools? Import your existing response rules in one click: groups become folders and priority is kept.

The rule editor: a URL pattern, method filter, status code and JSON response body

Set up in under a minute

  1. Add a rule. Paste part of the URL you want to change, or a regex.
  2. Choose what happens. Override the response, block the request or redirect it.
  3. Use your app. Changes apply to open tabs at once. No reload, no proxy, no certificates.
Private by design

Your rules stay on your device.

Rules and response bodies live in your browser's extension storage. The server knows your email address and your plan, so it can tell the extension which limits apply. Sync between browsers and Team Rules are opt-in: only then is a copy stored on our EU server, encrypted, for your account or your team alone.

Read the Privacy Policy
  • storage keeps your rules and settings in your browser.
  • declarativeNetRequest blocks and redirects requests inside Chrome.
  • alarms refreshes your plan in the background, about once a day.
  • Access to http and https pages lets rules apply to the sites you test. The extension doesn't read or record what you browse.
Pricing

Simple plans. Fair prices.

Start free. Upgrade when you need more rules running at once.

Launch offer · limited

40% off for the first 50 customers only

The first 50 subscribers become Innovators. Your launch price is yours for as long as you stay subscribed, even when regular prices apply to everyone else. Once the 50 spots are taken, the offer is gone.

Innovator
  • Launch price locked in for as long as you stay subscribed
  • Early access to new features
  • A say in the roadmap: your feedback shapes what we build next

Free

For trying it out and the odd mock.

$0 / month No card needed
  • 6 rules
  • 3 active at once

Free needs a free account (email code, no password). Without one: 3 rules, 1 active at once.

Basic

For everyday frontend work.

$1.50 / month $18 billed yearly Launch price. Regular $2.50 / month ($30 a year) after the first 50 customers.
$2.99 / month Billed monthly, cancel anytime Launch price. Regular $4.99 / month after the first 50 customers.
  • 15 rules
  • 8 active at once
  • Sync between your browsers (opt-in, encrypted)

Install the extension, sign in, then Account → See Plans & Upgrade.

Team

Pro for everyone on your team, on one bill. From 3 seats.

  • Unlimited rules and active rules for every seat
  • Team tab: give seats by email, change them anytime
  • Your seat included; teammates just sign in, nothing to accept
  • Team Rules shared with everyone automatically, next to each person's own
$9.00 / month $108 billed yearly, $3.00 per seat / month Launch price. Regular $15.00 / month ($180 a year) after the first 50 customers.
$17.97 / month $5.99 per seat / month, cancel anytime Launch price. Regular $29.97 a month ($9.99 per seat) after the first 50 customers.

Install the extension, sign in, then Account → See Plans & Upgrade → Team. You pick the seats there; more than 100? Contact us.

Every plan includes

  • Override responses for any HTTP method
  • Block and redirect requests
  • Folders, priority and regex
  • Import from other tools
  • JSON import and export
  • Rules stay on your device unless you sync

Prices in US dollars (euro prices use the same numbers) and include VAT or sales tax where it applies. Payments are handled by our reseller, Paddle.com. See the Refund Policy.

FAQ

Questions, answered.

Is it safe? What data does it collect?

Your rules are stored in your browser. They reach our server only if you turn on sync (paid plans) or add them to Team Rules, and then they're stored encrypted, only for your account or your team. Your account holds your email address and your plan. The extension doesn't read or collect your browsing history, and it contains no ads or trackers. The Privacy Policy lists everything.

Which requests can it change?

Override rules change fetch and XMLHttpRequest calls made by the page and its frames. Block and redirect rules work in Chrome's network stack, so they also cover scripts, CSS, images, frames and workers. Page navigations aren't changed.

Does it work on localhost and staging?

Yes. Rules apply to any http or https page, including localhost, staging servers and production sites.

Why does DevTools still show the original response?

The extension changes the response the page's code receives, after Chrome has recorded the request. Every override is logged to the page console as [Placebo API] so you can check it.

Why would I need an account?

You don't, to try it: without an account you get 3 rules with 1 active. A free account (an email and a 6-digit code, no password) raises that to 6 rules with 3 active and is how paid plans are unlocked. Your rules still stay on your device unless you turn on sync.

Which browsers are supported?

Chrome 111 or newer, and Chromium browsers that install from the Chrome Web Store, such as Edge, Brave and Arc. Firefox isn't supported yet.

Can I cancel a paid plan?

Yes, any time. You keep the plan until the end of the period you paid for, and your rules are never deleted when a plan ends. See the Refund Policy for refunds.

Something else? Write to support@placeboapi.com.

Stop waiting for the backend.

Install Placebo API and mock your first response in under a minute.

Add to Chrome, It's Free