{"id":22691,"date":"2026-05-29T10:22:53","date_gmt":"2026-05-29T10:22:53","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=22691"},"modified":"2026-05-29T10:22:54","modified_gmt":"2026-05-29T10:22:54","slug":"jetengine-query-builder-rest-api-query-type","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/","title":{"rendered":"Query Builder REST API Query Type"},"content":{"rendered":"\n<p>JetEngine <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> functionality, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-tables-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Tables<\/strong><\/a>, and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-charts-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Charts<\/strong><\/a> Builders allow you to display the items received via the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-how-to-display-custom-content-type-items-using-rest-api\/#title2\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>REST API Endpoint<\/strong><\/a> on the front end. However, it doesn\u2019t allow you to query the results. <strong>Query Builder<\/strong> fixes that issue. The <strong>REST API Query Type<\/strong> gives you the opportunity to create a query of items obtained via the <strong>REST API Endpoint<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Filter WordPress Listings based on REST API Query\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/FND1acMnHo8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-set-up-rest-api-query-type\"><strong>How to Set Up REST API Query Type<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>For example, we got the REST API Endpoint from the <strong>Custom Content Type<\/strong> with items containing information about movies.<\/p>\n\n\n\n<p>Proceed to <strong><em>JetEngine &gt; Query Builder <\/em><\/strong>and click on the <strong>\u201cAdd New<\/strong>\u201d button. Name a new query and select the \u201cREST API Query\u201d <strong>Query Type<\/strong>. <\/p>\n\n\n\n<p>After that, you will see two features of the <strong>REST API Query<\/strong>: <\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/rest-api-query-2.png\" alt=\"rest api query settings\">\n\n\n\n<ul>\n<li><strong>From Endpoint.<\/strong> In this drop-down menu, you will see the list of all Endpoints you created for the website. Choose the one you need;<\/li>\n\n\n\n<li><strong>Query.<\/strong> This is the section that allows you to create a query. Insert the name of the meta field into the <strong>Key<\/strong> bar, and afterward, type the value into the <strong>Value<\/strong> text area. If the value of the key meta field is equal to the value in the <strong>Value<\/strong> bar, the item will be added to the list.<\/li>\n<\/ul>\n\n\n\n<p>As a <strong>Value,<\/strong> you can also select one of the <strong>macros<\/strong> from the list. Learn more about them from our <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-macros-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\">Macros Guide<\/a><\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/macros-1.png\" alt=\"rest api query macros\">\n\n\n\n<p>For an instant, you could enter the author ID meta field name as the <strong>Key <\/strong>and \u201cCurrent user ID\u201d<strong> <\/strong>macros<strong> <\/strong>as the <strong>Value<\/strong>.<strong> <\/strong>So the user will see only the items of his authorship on the page.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/macros-example-1.png\" alt=\"using of macros in query example\">\n\n\n\n<p>For a start, we have created a query without keys and values.&nbsp;<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/query-without-keys-and-values-1.png\" alt=\"query without keys and values\">\n\n\n\n<p><strong>Dynamic Table<\/strong> based on this query shows all items.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/table-all-items-2.png\" alt=\"dynamic table created with the query\">\n\n\n\n<p>Open the <strong>API Endpoint URL <\/strong>in your browser. You could use any code editor to organize items like that.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/items-tree-editor-1.png\" alt=\"code editor\">\n\n\n\n<p>In this screenshot, the black text areas are <strong>keys<\/strong> that are meta fields. The green text areas are <strong>values.<\/strong><\/p>\n\n\n\n<p>For example, we have chosen the \u201ccontentRating\u201d key and the \u201cR\u201d<strong> <\/strong>value.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/key-and-value-for-query-1.png\" alt=\"adding new key and value to the query\">\n\n\n\n<p>Then, we created the Dynamic Table with this query. As we have set up the query, it shows only movies with the <strong>R <\/strong>content rating.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/table-only-r-1.png\" alt=\"table preview\">\n\n\n\n<p>If you add a new <strong>Key<\/strong> and <strong>Value <\/strong>to the query, you can narrow down the result. E. g., we have entered the \u201cgenres\u201d<strong> <\/strong>key and the \u201cHorror\u201d value.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/query-r-and-horror-1.png\" alt=\"narrowing query with new key and value\">\n\n\n\n<p>And now, the table shows only two items with the <strong>Horror<\/strong> and <strong>R<\/strong> values.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/table-r-horror-1.png\" alt=\"dynamic table with the final result\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"rest-api-query-with-3rd-party-api\"><strong>REST API Query with 3rd Party API<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>There should be no problem querying <strong>REST API Endpoint<\/strong>, which has been gotten from <strong>JetEngine Custom Content Type<\/strong>, such as one with movies we have queried before. But <strong>REST API Query<\/strong> doesn\u2019t work with all APIs.<\/p>\n\n\n\n<p>We have a <a href=\"https:\/\/demo.crocoblock.com\/jetengine-addons\/tables-and-charts-demo\/#rest-api-table\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>REST API data table<\/strong><\/a><strong> <\/strong>demo based on <strong>IMDb<\/strong> API. You can create a similar table with the same API gotten from the <strong>IMDb<\/strong> API <a href=\"https:\/\/imdb-api.com\/api\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>documentation<\/strong><\/a>, but you won\u2019t be able to query it.<\/p>\n\n\n\n<p>That\u2019s because when you add <strong>keys<\/strong> and <strong>values<\/strong> to the query, they appear after a question mark \u201c?\u201d in the endpoint. In other words, IMDb API has a <strong>path<\/strong> parameters type. <strong>Query string<\/strong> parameters type for APIs is required for the <strong>Query Builder.<\/strong><\/p>\n\n\n\n<p>However, you can query <strong>IMDb<\/strong> items directly on the IMDb API documentation page.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/how-to-query-imdb-api-1.png\" alt=\"imdb api documentation page\">\n<\/div><\/div>\n\n\n\n<p>That\u2019s all. You now learned how to configure REST API Query, use keys and values, and what 3rd party APIs are suitable for the JetEngine Query Builder.&nbsp;  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This overview will describe all the Query Builder\u2019s REST API Query type settings, which is part of the JetEngine plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[405],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>REST API Query Type Overview \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Discover all the details about REST API Query settings of JetEngine\u2019s Query Builder and learn how to create lists of items, obtained through the Endpoint.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"REST API Query Type Overview \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Discover all the details about REST API Query settings of JetEngine\u2019s Query Builder and learn how to create lists of items, obtained through the Endpoint.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-29T10:22:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/rest-api-query-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/\",\"name\":\"REST API Query Type Overview \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2026-05-29T10:22:53+00:00\",\"dateModified\":\"2026-05-29T10:22:54+00:00\",\"description\":\"Discover all the details about REST API Query settings of JetEngine\u2019s Query Builder and learn how to create lists of items, obtained through the Endpoint.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Query Builder REST API Query Type\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"REST API Query Type Overview \u2014 JetEngine | Crocoblock","description":"Discover all the details about REST API Query settings of JetEngine\u2019s Query Builder and learn how to create lists of items, obtained through the Endpoint.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/","og_locale":"en_US","og_type":"article","og_title":"REST API Query Type Overview \u2014 JetEngine | Crocoblock","og_description":"Discover all the details about REST API Query settings of JetEngine\u2019s Query Builder and learn how to create lists of items, obtained through the Endpoint.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/","og_site_name":"Help Center","article_modified_time":"2026-05-29T10:22:54+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/rest-api-query-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/","name":"REST API Query Type Overview \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2026-05-29T10:22:53+00:00","dateModified":"2026-05-29T10:22:54+00:00","description":"Discover all the details about REST API Query settings of JetEngine\u2019s Query Builder and learn how to create lists of items, obtained through the Endpoint.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-query-builder-rest-api-query-type\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"Query Builder REST API Query Type"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/22691"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=22691"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=22691"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=22691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}