🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
API Write Blocker icon
Slowing down Tested up to 6.8.13

API Write Blocker

API Write Blocker is a security-focused plugin that prevents unauthorized or anonymous users from executing write operations through REST API, XML-RPC, and Admin-Ajax interfaces.

Active installs10+10+ tier
Downloads · 30d57▲ +9.6% vs prev. 30d
Rating—0 reviews
Health score32/100At risk
All-time downloads490Since Oct 2025
Support resolved—No recent threads
RequiresWP 6.8PHP 7.4+
Downloads · 7d14▼ -6.7% week over week
Our verdict

Consider an alternative

API Write Blocker shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in over a year
  • Only tested up to WordPress 6.8 (latest is 7.1)

Daily downloads

134Sep 3Oct 17Dec 1
Yesterday2
Daily average (1y)1
Peak day7May 14, 2026
Last 12 months427

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Version adoption

Share of active sites per release.

  • 1.0100.0%

About API Write Blocker

From the official readme · v1.0

Description

API Write Blocker is a security-focused plugin that prevents unauthorized or anonymous users from executing write operations through REST API, XML-RPC, and Admin-Ajax interfaces.

Unlike generic API blockers, this plugin enables fine-grained control over which HTTP methods (POST, PUT/PATCH, DELETE) are allowed, supports whitelist-based exceptions, and protects core endpoints without interfering with legitimate functionalities such as contact form submissions or plugin integrations.

🔐 Key Features

REST API Method-Level Blocking
* Independently block POST, PUT/PATCH, and DELETE requests.
* Whitelist specific REST routes (prefix match supported) to allow legitimate access (e.g., contact forms).
* Configure a custom HTTP status code and error message per request type.

XML-RPC Write Operation Blocking
* Disable only dangerous write-related XML-RPC methods (e.g., wp.newPost, metaWeblog.editPost) while keeping harmless calls untouched.
* Return a custom status code and error message for blocked XML-RPC operations.

Admin-Ajax Write Protection
* Blocks known sensitive write-related Ajax actions (e.g., save-post, upload-attachment) for unauthenticated users.
* Whitelist specific actions used by safe plugins like Contact Form 7.

Flexible Exceptions
* Authenticated users are always allowed by default.
* IP Whitelist support (including CIDR ranges) for external systems or trusted clients.

Custom Response Messages
* Return custom error messages and HTTP status codes for each interface: REST, XML-RPC, and Admin-Ajax.

This plugin is ideal for hardening your WordPress site without breaking functionality.

Installation

  1. Download the ZIP file and install it from “Plugins” > “Add New” > “Upload Plugin”.
  2. OR, unzip the plugin and upload it to the /wp-content/plugins/ directory.
  3. Activate “API Write Blocker” from “Plugins” in the admin panel.
  4. Go to “Settings” > “API/Write Restriction” to configure the plugin.

Changelog

Initial release. No upgrade concerns.

1.0

  • Initial release.
  • REST API write method blocking (POST, PUT/PATCH, DELETE).
  • XML-RPC method-level write blocking.
  • Admin-Ajax write action blocking with whitelist.
  • IP and route/action whitelists.
  • Custom status code and message per interface.

Full changelog on WordPress.org →

Screenshots

Settings UI under "Settings" > "API/Write Restriction".
Settings UI under "Settings" > "API/Write Restriction".
REST API write method controls and whitelist management.
REST API write method controls and whitelist management.
IP whitelist and Ajax action whitelist settings.
IP whitelist and Ajax action whitelist settings.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

FAQ

API Write Blocker: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is API Write Blocker free?

Yes. API Write Blocker is free to download and use from the official WordPress.org plugin directory.

Is API Write Blocker safe to use in 2026?

API Write Blocker shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 1 year ago, and scores 32/100 on our health check.

How many websites use API Write Blocker?

API Write Blocker is active on 10+ WordPress websites and has been downloaded 490 times since it launched in October 2025. It was downloaded 57 times in the last 30 days.

Does API Write Blocker work with WordPress 7.1?

API Write Blocker is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does API Write Blocker need?

API Write Blocker requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was API Write Blocker last updated?

The latest version, 1.0, was released on October 26, 2025 (1 year ago).

Who makes API Write Blocker?

API Write Blocker is developed and maintained by teamredfox.

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open