🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Disable REST API for Real icon
Possibly abandoned Tested up to 5.3.28 #44 in api

Disable REST API for Real

Really prevents the REST API from handling requests (default) or require user to be logged in.

Active installs200+100+ tier
Downloads · 30d182▲ +48% vs prev. 30d
Rating5/53 reviews
Health score33/100At risk
All-time downloads6.6KSince Dec 2015
Support resolved—No recent threads
RequiresWP 4.7PHP any
Downloads · 7d58▲ +31.8% week over week
Our verdict

Consider an alternative

Disable REST API for Real shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 7 years ago, and scores 33/100 on our health check.

  • Small user base (200+ active installs)
  • Very few reviews so far
  • No update in 7 years
  • Only tested up to WordPress 5.3 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

51015Sep 4Oct 18Dec 2
Yesterday20
Daily average (1y)2
Peak day20Dec 2, 2026
Last 12 months840

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

Rankings

Where Disable REST API for Real stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
api >100 10,000 Best api plugins →
JSON >100 8,873 Best JSON plugins →
rest >100 10,000 Best rest plugins →
rest-api >100 10,000 Best rest-api plugins →
wp-json >100 7,880 Best wp-json plugins →

Version adoption

Share of active sites per release.

  • 2.195.3%
  • 1.04.7%

Rating breakdown

★★★★★★★★★★ 5 from 3 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Disable REST API for Real

From the official readme · v2.1.1

Description

The WordPress REST API is a great resource, but if you don’t want to use it probably you will want to close this door to your WordPress.

Unlike other popular plugins that aims to disable the REST API but only return an error, processed by the REST API, when a request is received, by default, this plugin removes all filters and actions related to WordPress REST API, and returns a 404 error for requests sent to the REST API URL endpoints, effectively blocking any use of the REST API.

Optionally you can set the REST API setting in Settings -> General page to “Logged In Only” for a less drastical action, to keep REST API access enabled but require the user to be logged in to accept the requests.

If you’re happy with the plugin please don’t forget to give it a good rating, it will motivate me to keep sharing and improving this plugin (and others).

SUPPORT: If you have any support question, please create an issue at the Github repository.

Requirements

  • WordPress 4.7 or higher.

Features

  • Disable WordPress core REST API for real by removing all filters and actions related to it and returning a 404 error for requests sent to REST API URL endpoints (e.g. https://example.com/wp-json/whatever ).
  • Option to require user to be logged in to use the REST API instead of completely disable it.

Usage

To disable the REST API completely simply install the plugin from the Plugins page and enable it.

If you don’t want to disable the REST API but require user to be logged in instead, go to Settings -> General page and set the REST API to option to “Logged In Only”, and click Save Changes.

You can change the option back to “Off” if you want to disable the REST API again.

To return to WordPress default, simply deactivate the plugin.

Changelog

Complete rewrite of the plugin to really disable REST API and removed support for WordPress 4.6.1 and older versions.

2.1.1

  • Fixed typo. Thanks to Mike D for reporting it.

2.1

  • Minor changes to make code 100% WordPress Coding Standards compliant.

2.0

  • Added option in Settings -> General page to choose between completely disable the REST API (default), or “Logged In Only” to keep REST API access enabled but require the user to be logged in to accept the requests.
  • Removed support for WordPress 4.6.1 and older.

1.0

  • Initial release.

Full changelog on WordPress.org →

Screenshots

REST API option in Settings -> General page.
REST API option in Settings -> General page.
Jetpack's settings page confirming REST API is disabled.
Jetpack's settings page confirming REST API is disabled.

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

Best Disable REST API for Real alternatives

All api plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Consent API WP Consent API Simple Consent API to read and register the current consent category. by Rogier Lankhorst 300K+ ★★★★★★★★★★ 5 (2) 2 days ago 76
2 Disable REST API Disable REST API Disable the use of the REST API on your website to site users. Now with User Role support! by Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) 3 years ago 37
3 Mailgun for WordPress Mailgun for WordPress Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP. by Mailgun 70K+ ★★★★★★★★★★ 3.8 (50) 2 months ago 81
4 Make Connector Make Connector Make Connector. Make lets you design, build, and automate by connecting with WordPress in… by Make 70K+ ★★★★★★★★★★ 2.9 (27) 4 weeks ago 70
5 Disable WP REST API Disable WP REST API Disables the WP REST API for visitors not logged into WordPress. by Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) 4 months ago 84
6 WP REST Cache WP REST Cache Enable caching of the WordPress REST API and auto-flush caches upon wp-admin editing. by Acato 10K+ ★★★★★★★★★★ 4.9 (42) 3 days ago 89
7 WPGraphQL for ACF WPGraphQL for ACF WPGraphQL for ACF seamlessly integrates Advanced Custom Fields with WPGraphQL. by Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) 1 week ago 75
8 WPGet API – Connect to any external REST API WPGet API – Connect to any external REST API Connect any REST API to WordPress. WPGet API enables easy API integration, allowing you to… by David Anderson / Team Updraft 10K+ ★★★★★★★★★★ 5 (32) 2 weeks ago 94
9 WordPress REST API (Version 2) WordPress REST API (Version 2) Access your site's data through an easy-to-use HTTP REST API. (Version 2) by Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) 9 years ago 43
10 WP REST API Controller WP REST API Controller Enable a UI to toggle visibility and customize properties in WP REST API requests. by Evan Herman 7K+ ★★★★★★★★★★ 4.3 (12) 4 years ago 38

FAQ

Disable REST API for Real: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Disable REST API for Real free?

Yes. Disable REST API for Real is free to download and use from the official WordPress.org plugin directory.

Is Disable REST API for Real safe to use in 2026?

Disable REST API for Real shows warning signs in 2026 — compare the alternatives below before installing. It runs on 200+ sites, is rated 5/5 and was last updated 7 years ago, and scores 33/100 on our health check.

How many websites use Disable REST API for Real?

Disable REST API for Real is active on 200+ WordPress websites and has been downloaded 6,562 times since it launched in December 2015. It was downloaded 182 times in the last 30 days.

Does Disable REST API for Real work with WordPress 7.1?

Disable REST API for Real is officially tested up to WordPress 5.3.28, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Disable REST API for Real last updated?

The latest version, 2.1.1, was released on November 14, 2019 (7 years ago).

Who makes Disable REST API for Real?

Disable REST API for Real is developed and maintained by Samuel Aguilera.

What are the best alternatives to Disable REST API for Real?

The most popular alternatives to Disable REST API for Real are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ installs).

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