This adds the missing functionality of Search into the WordPress REST API.
As of April 2026, REST API Search is a WordPress search plugin with 20 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.9K+ times in total. Requires WordPress 4.4+ and PHP false+. Available on WordPress.org since 2016. Last updated 9 years ago — may have compatibility concerns. Top alternative: String locator.
REST API Search
This adds the missing functionality of Search into the WordPress REST API.
The issue being with the current REST API Version 2, you can only search on a per post_type basis.
/wp-json/wp/v2/posts?filter[s]=apples
/wp-json/wp/v2/pages?filter[s]=apples
Adds the search functionality for all posts types except revisions and types with ‘exclude_from_search’ set to true.
/wp-json/wp/v2/search/apples
In case of a multi word string, just replaces the spaces with plus signs.
/wp-json/wp/v2/search/apples+pears
Also adds easy paging
page 2:
/wp-json/wp/v2/search/apples+pears/2
page 3:
/wp-json/wp/v2/search/apples+pears/3
| WordPress | 4.4+ requiredTested up to 4.5.33 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.