Title: [Plugin: JSON API] Using get_search_results controller
Last modified: August 20, 2016

---

# [Plugin: JSON API] Using get_search_results controller

 *  Resolved [ahalls](https://wordpress.org/support/users/ahalls/)
 * (@ahalls)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-json-api-using-get_search_results-controller/)
 * I’ve been looking around and I can’t find an example or instructions on how to
   use the get_search_results controller. What is the format of the search argument
   or how do I dynamically construct a search results page?
 * I would like to return the posts where the title contains a given string or keywords
   contain the same string.
 * Help for a newbie would be appreciated.
 * [http://wordpress.org/extend/plugins/json-api/](http://wordpress.org/extend/plugins/json-api/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [ahalls](https://wordpress.org/support/users/ahalls/)
 * (@ahalls)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-json-api-using-get_search_results-controller/#post-2805147)
 * Found that the search argument passes the words off to the standard search which
   returns the blog posts with that search term in the title (might search more 
   but that was all I tested)
 * The following will return all blog posts with ‘house’ in the title.
 *     ```
       http://myserver.com/myblog/?json=get_search_request&search=house
       ```
   
 * I then added the plugin [“Search Tags”](http://wordpress.org/extend/plugins/search-tags/)
   so the standard search also includes searching the tags for the supplied phrase.
 * I’m happy … love the WorldPress eco-system!
 * — A

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: JSON API] Using get_search_results controller’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-api.svg)
 * [JSON API](https://wordpress.org/plugins/json-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api/reviews/)

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)

 * 1 reply
 * 1 participant
 * Last reply from: [ahalls](https://wordpress.org/support/users/ahalls/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-json-api-using-get_search_results-controller/#post-2805147)
 * Status: resolved