REST API Guard
by Sean Fisher 5 (2 reviews)

REST API Guard

Restrict and control anonymous access to the WordPress REST API, with optional JSON Web Token (JWT) authentication.

REST API Guard ranks #12,512 among WordPress.org plugins with 200+ active installations, is #293 of 1,659 in the Authentication category, a 5/5 rating from 2 reviews, and was last updated Oct 13, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.1.4
v1.5.0 Current Version v1.5.0
Updated 3 weeks ago Last Update on 13 Oct, 2026
Refreshed 1 week ago Last Refreshed on
#293 of 1,659 in Authentication Top 25% by installs Downloads -23.7% this week Actively maintained
View on WordPress.org
Rank
#12,512
— No change
Active Installs
200+
+6.4%
KW Avg Position
69.3
34.3 worse
Downloads
4.8K
+7 today
Support Resolved
0%
— No change
Rating
100%
Review 5 out of 5
5 (2 reviews)

Next Milestone 300

Total Progress 30%
200+ 300+
1,526
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 70 more installs to reach 300+

Rank Changes

11,886 12,199 12,512 12,825 13,138 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
12,421 12,618 12,816 13,014 13,211 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 #12,512
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 30 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 30 40 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

5.0
2 reviews
Overall 100%
5
2 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

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

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site administrators who want to control access to their site's REST API. It solves the problem of the REST API being open to anonymous users by default, letting them restrict, allowlist, denylist, or require authentication (including JWT) for API requests.

  • Disable anonymous REST API access
  • Restrict access by namespace or path
  • Block anonymous user info access
  • Restrict index and namespace browsing
  • Allowlist specific namespaces/routes
  • Denylist specific namespaces/routes
  • JWT authentication support
  • CLI command to generate JWTs

Frequently Asked Questions

Common questions about REST API Guard

No. The restrictions only apply to anonymous requests. Logged-in users have the same REST API access WordPress normally gives them.
The block editor makes REST API requests as the logged-in user, so it isn't affected by the anonymous access rules.
Yes. Configure the plugin in code and disable the settings page: add_filter( 'rest_api_guard_disable_admin_settings', '__return_true' );
Not by default, since browsers send them as CORS preflight requests without credentials. To check them too: add_filter( 'rest_api_guard_check_options_requests', '__return_true' );

More plugins by Sean Fisher

Sign In / Register

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