Turn Off REST API
by ksym04 1 (0 reviews)

Turn Off REST API

Disable the WordPress REST API for logged out visitors and lock down your /wp-json endpoints, with a per route allow list so you stay in control.

Turn Off REST API ranks #13,517 among WordPress.org plugins with 100+ active installations, is #827 of 5,058 in the Security category, a 1/5 rating from 0 reviews, and was last updated Sep 24, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.1
v1.1.4 Current Version v1.1.4
Updated 1 month ago Last Update on 24 Sep, 2026
Refreshed 1 week ago Last Refreshed on
#827 of 5,058 in Security Top 25% by installs Downloads +5.6% this week
View on WordPress.org
Rank
#13,517
— No change
Active Installs
100+
-43.5%
KW Avg Position
84
— No change
Downloads
2.5K
+11 today
Support Resolved
0%
— No change
Rating
20%
Review 1 out of 5
1 (0 reviews)

Next Milestone 200

Total Progress 80%
100+ 200+
843
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 20 more installs to reach 200+

Rank Changes

12,841 13,179 13,517 13,855 14,193 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
13,499 13,538 13,578 13,617 13,656 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #13,517
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 10 20 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

1.0
0 reviews
Overall 20%
5
0 (0%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Turn Off REST API. Checked 3 months ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and administrators who want to restrict public access to their site's REST API. It disables the REST API for logged-out visitors while keeping it functional for logged-in users, reducing exposure to user enumeration, content scraping, and REST API based attacks.

  • Blocks unauthenticated REST API requests
  • Per route allow list
  • Stops user enumeration via /wp-json/wp/v2/users
  • Removes REST API discovery links and headers
  • Site Health check integration
  • Keeps block editor working
  • tora_grant_rest_api developer filter

Frequently Asked Questions

Common questions about Turn Off REST API

Log out of your site (or open a private browser window) and visit https://your-site.com/wp-json. You should see an authentication error instead of a list of routes and data. Logged in users will still see the normal response.
No. The block editor runs as a logged in user, so it keeps full REST API access. Only unauthenticated requests are blocked.
Yes. Open Settings, then Turn Off REST API, check the route or namespace you want to keep open, and save. Everything else stays blocked.
These features send REST API requests on behalf of logged out visitors, and the plugin blocks every route for visitors until you allow it. The WooCommerce Cart and Checkout blocks use the routes under /wc/store/v1. Contact Form 7 sends each form submission through its own routes under /contact-form-7/v1. Go to Settings, then Turn Off REST API. Under Allowed REST API Routes, find the /wc/store/v1 heading and check its box. This also checks every route listed under it. The separate /wc/store heading above it is not used by the blocks. For Contact Form 7, find the /contact-form-7/v1 heading and check only the three routes under it that end in /feedback, /feedback/schema, and /refill. Click Save Changes. Only the routes you check are opened, and everything else stays blocked. If a later WooCommerce or Contact Form 7 update adds a new route, come back to this screen and check it as well.
Yes. The plugin works at the WordPress request level and does not depend on any web server configuration files.
Yes. Use the tora_grant_rest_api filter to return true or false based on your own logic. By default it returns whether the current user is logged in.

Sign In / Register

You need to sign in or register to use this feature.