Title: Multiple Meta Query
Last modified: August 5, 2018

---

# Multiple Meta Query

 *  Resolved [tjb1187](https://wordpress.org/support/users/tjb1187/)
 * (@tjb1187)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multiple-meta-query/)
 * Hi, just started working with your app, great work! Very useful.
 * Could you please provide some instruction on how to complete multiple meta queries
   in one http request? I tried your example and cannot get it to work. What is 
   the format for each query?
 * Thanks,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [sk8tech](https://wordpress.org/support/users/sk8tech/)
 * (@sk8tech)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multiple-meta-query/#post-10565211)
 * [@tjb1187](https://wordpress.org/support/users/tjb1187/)
 * Thank you for downloading the plugin. What have you tried that does not work?
 * Please provide a detail description.
 *  Plugin Author [sk8tech](https://wordpress.org/support/users/sk8tech/)
 * (@sk8tech)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multiple-meta-query/#post-10577602)
 * Since we haven’t heard back from you in over 3 days, I’m marking this ticket 
   as resolved. If you need further assistance, please feel free to reopen the ticket.
 *  Thread Starter [tjb1187](https://wordpress.org/support/users/tjb1187/)
 * (@tjb1187)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multiple-meta-query/#post-10608734)
 * Hi sorry for the delayed response, I was off line for a while. I’m trying to 
   filter results by multiple fields.
 * I have a post type named ‘boats’ and I would like to fetch results based a field
   named ‘length’ and ‘make’. I have tailored the example code you provided on the
   plugin page. Lets say I was looking for a boat that length=58 and make=viking,
   I am doing the following:
 * `fetch( 'https://domain.com/wp-json/wp/v2/boats?filter[meta_query][0][key]=length&
   filter[meta_query][0][value]=58&filter[meta_query][1][key]=make&filter[meta_query][
   1][value]=Viking')`
 * But this returns nothing. Could you please help? Is there something I’m missing.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple Meta Query’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rest-filter.svg)
 * [WP REST Filter](https://wordpress.org/plugins/wp-rest-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rest-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-filter/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [tjb1187](https://wordpress.org/support/users/tjb1187/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/multiple-meta-query/#post-10608734)
 * Status: resolved