Thermal is the WordPress plugin that gives you the power of WP_Query in a RESTful API.