This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Rest Api V2 Multiple PostTypes


Multiple Content type Query API for WordPress Rest Api V2

Extension of wp/v2/posts api to allow query multiple post types


Want to get your site’s posts, pages, articles, events?

Use the Endpoint: ‘/wp-json/wp/v2/multiple-post-type’


GET request to `/wp-json/wp/v2/multiple-post-type?&type[]=post&type[]=page`

Get the page with slug “about-me”:

GET /wp-json/wp/v2/multiple-post-type?slug=about-me&type[]=post&type[]=page

Search term “awesome”:

GET /wp-json/wp/v2/multiple-post-type?search=awesome&type[]=post&type[]=page&type[]=articles<h3>Credits</h3>

Build using the code shared by Ruben Vreeken, (
on stackoverflow (



Contributors & Developers

“WP Rest Api V2 Multiple PostTypes” is open source software. The following people have contributed to this plugin.