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.
Alternatives to Disable REST API (wp-json and oembed)
Plugins below are selected for functional relevance and current directory signals. Active-install counts do not affect this ranking.
WordPress plugins with similar use cases
Compatibility and update metadata provide context, not a quality guarantee. Review each plugin’s details for your site.
Disables the WP REST API for visitors not logged into WordPress.
Lock the WordPress REST API for logged-out visitors. Allowlist routes, stop username enumeration, import from Disable REST API.
Add gutenberg blocks data into the post / page REST API endpoints.
Advanced security suite. Blocks REST API, disables XML-RPC, prevents user enumeration, and secures endpoints.
REST API and MCP access control: disable REST API routes for guests, limit AI agents and application passwords, see which plugin opened each door.
Expose Advanced Custom Fields in the WordPress REST API with proper access control.
Import post content from the Wordpress REST API on another Wordpress site
Expose WordPress menus via a custom REST API endpoint for headless and external applications.
Implements JSON feeds following the official JSON feed specification by using the WordPress REST API.