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.
Consider an alternative
REST API Search shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 10 years ago, and scores 31/100 on our health check.
- Small user base (20+ active installs)
- Very few reviews so far
- No update in 10 years
- Only tested up to WordPress 4.5 (latest is 7.1)
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where REST API Search stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| API Search | >100 |
| REST API Search | >100 |
| rest-api | >100 |
| search | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About REST API Search
From the official readme · v1.4Description
REST API Search
This is only for Version 2 of the REST API Plugin
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
What this plugin does.
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
Installation
This section describes how to install the plugin and get it working.
e.g.
- Upload the plugin files to the
/wp-content/plugins/rest-api-searchdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
Changelog
1.0
- Initial Version
- Fully working version which searches all post types except revisions and types with ‘exclude_from_search’ set to true.
1.1
- Restructured code to allow for custom fields added in by other plugins
1.2
- Bug Fix – namespace variable of class needs to be protected.
1.3
- Now allows for encoded characters and numbers in the url
1.4
- WordPress’s posts per page settings now are used.
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.
FAQ
REST API Search: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is REST API Search free?
Yes. REST API Search is free to download and use from the official WordPress.org plugin directory.
Is REST API Search safe to use in 2026?
REST API Search shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 10 years ago, and scores 31/100 on our health check.
How many websites use REST API Search?
REST API Search is active on 20+ WordPress websites and has been downloaded 3,192 times since it launched in April 2016. It was downloaded 61 times in the last 30 days.
Does REST API Search work with WordPress 7.1?
REST API Search is officially tested up to WordPress 4.5.33, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was REST API Search last updated?
The latest version, 1.4, was released on June 20, 2016 (10 years ago).
Who makes REST API Search?
REST API Search is developed and maintained by KCPT.
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
