{"id":37218,"date":"2023-03-06T08:52:39","date_gmt":"2023-03-06T08:52:39","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=troubleshooting&#038;p=37218"},"modified":"2024-02-23T13:43:59","modified_gmt":"2024-02-23T13:43:59","slug":"getting-the-right-item-path-for-rest-api","status":"publish","type":"troubleshooting","link":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/","title":{"rendered":"Getting the Right Item Path for REST API"},"content":{"rendered":"\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/path-option-2.png\" alt=\"path option\">\n\n\n\n<p>That error occurs because the&nbsp;<strong>Items path&nbsp;<\/strong>has been pointed incorrectly.&nbsp;<\/p>\n\n\n\n<p>To show how to find the correct item path in the REST API documentation, we will analyze several free APIs from the&nbsp;<a href=\"https:\/\/rapidapi.com\/hub\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>RapidAPI<\/strong><\/a>&nbsp;website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-the-rapidapi-endpoint\"><strong>Setting the RapidAPI Endpoint<\/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>To use the&nbsp;<a href=\"https:\/\/rapidapi.com\/hub\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>RapidAPI<\/strong><\/a>&nbsp;Endpoint, navigate to&nbsp;<strong><em>JetEngine dashboard &gt; REST API Endpoints<\/em><\/strong>&nbsp;and click on the&nbsp;<strong>\u201c+ New Endpoint\u201d&nbsp;<\/strong>button.<\/p>\n\n\n\n<p>At the same time, click on the link and go to the&nbsp;<a href=\"https:\/\/rapidapi.com\/community\/api\/urban-dictionary\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Urban Dictionary<\/strong><\/a>&nbsp;API. Sign up or log in to the RapidAPI website if you haven\u2019t done it yet.<\/p>\n\n\n\n<p>Copy the&nbsp;<strong>URL<\/strong>&nbsp;in the&nbsp;<strong>Code Snippets<\/strong>&nbsp;tab in the right column.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/api-endpoint-url-2.png\" alt=\"api endpoint url\">\n\n\n\n<p>Paste the URL in the&nbsp;<strong>API Endpoint URL<\/strong>&nbsp;field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/jetengine-api-endpoint-url-2.png\" alt=\"jetengine api endpoint url\">\n\n\n\n<p>Skip the&nbsp;<strong>Items path&nbsp;<\/strong>field; we will describe its settings further.<\/p>\n\n\n\n<p>Toggle on the<strong>&nbsp;Authorization&nbsp;<\/strong>option and select the \u201cRapidAPI\u201d&nbsp;<strong>Authorization type.<\/strong><\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/rapidapi-authorization-type-2.png\" alt=\"rapidapi authorization type\">\n\n\n\n<p>From the RapidAPI website, copy the&nbsp;<strong>RapidAPI key<\/strong>&nbsp;and&nbsp;<strong>RapidAPI host<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/rapidapi-host-and-rapidapi-key-2.png\" alt=\"rapidapi host and rapidapi key\">\n\n\n\n<p>Paste them into the&nbsp;<strong>RapidAPI Key<\/strong>&nbsp;and&nbsp;<strong>RapidAPI Host<\/strong>&nbsp;fields, respectively.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/jetengine-rapidapi-key-and-rapidapi-host-2.png\" alt=\"jetengine rapidapi key and rapidapi host\">\n\n\n\n<p>Finally, from the RapidAPI website, copy the params (<strong>term: \u2018wat\u2019<\/strong>&nbsp;in our case).<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/api-term-2.png\" alt=\"api term\">\n\n\n\n<p>Paste it into the&nbsp;<strong>Query String<\/strong>&nbsp;field and change the colon to the equal sign (<strong>term=\u2019wat\u2019<\/strong>, for example).<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/query-string-2.png\" alt=\"query string\">\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">Be aware that this field is optional, and not all API endpoints require the Query String to be filled.<\/p><\/div><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-the-items-path\"><strong>Setting the Items Path<\/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>Proceed to the&nbsp;<a href=\"https:\/\/rapidapi.com\/community\/api\/urban-dictionary\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Urban Dictionary<\/strong><\/a>&nbsp;link and click on the&nbsp;<strong>\u201cTest Endpoint\u201d&nbsp;<\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/test-endpoint-2.png\" alt=\"test endpoint\">\n\n\n\n<p>In the&nbsp;<strong>Results<\/strong>&nbsp;tab in the right column, you can see that the items are nested.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/api-results-1.png\" alt=\"api results\">\n\n\n\n<p>Enter&nbsp;<strong>\/list<\/strong>&nbsp;into the&nbsp;<strong>Item path&nbsp;<\/strong>field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/item-path-2.png\" alt=\"item path\">\n\n\n\n<p>Click on the&nbsp;<strong>\u201cSend Request\u201d&nbsp;<\/strong>button to check the API endpoint connection. The&nbsp;<strong>Connected<\/strong>&nbsp;status shows that all settings are correct. After you finish, hit the&nbsp;<strong>\u201cSave\u201d&nbsp;<\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/endpoint-connection-status-2.png\" alt=\"enddpoint connection status\">\n\n\n\n<p>Let\u2019s have a look at other RapidAPI endpoints.<\/p>\n\n\n\n<p>For the other&nbsp;<a href=\"https:\/\/rapidapi.com\/theapiguy\/api\/free-nba\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>NBA<\/strong><\/a><strong>&nbsp;<\/strong>API endpoint, you need to enter the&nbsp;<strong>\/data<\/strong>&nbsp;items path.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Free-NBA-API-Documentation-1.png\" alt=\"free nba api documentation\">\n<\/div><\/div>\n\n\n\n<p>That\u2019s all. You know now how to set the correct items path for the API endpoints.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If the REST API is not working or the item path shows as incorrect or nonexistent, follow this tutorial to get it. <\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","troubleshoot-tags":[376],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Getting Right Item Path for REST API with JetEngine WordPress Plugin | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to get the correct item path in the REST API endpoint with free APIs from the RapidAPI website and set it with the JetEngine WordPress plugin.\" \/>\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\/troubleshooting\/getting-the-right-item-path-for-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Right Item Path for REST API with JetEngine WordPress Plugin | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to get the correct item path in the REST API endpoint with free APIs from the RapidAPI website and set it with the JetEngine WordPress plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-23T13:43:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/path-option-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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/\",\"name\":\"Getting Right Item Path for REST API with JetEngine WordPress Plugin | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-03-06T08:52:39+00:00\",\"dateModified\":\"2024-02-23T13:43:59+00:00\",\"description\":\"Learn how to get the correct item path in the REST API endpoint with free APIs from the RapidAPI website and set it with the JetEngine WordPress plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Getting the Right Item Path for REST API\"}]},{\"@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":"Getting Right Item Path for REST API with JetEngine WordPress Plugin | Crocoblock","description":"Learn how to get the correct item path in the REST API endpoint with free APIs from the RapidAPI website and set it with the JetEngine WordPress plugin.","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\/troubleshooting\/getting-the-right-item-path-for-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Getting Right Item Path for REST API with JetEngine WordPress Plugin | Crocoblock","og_description":"Learn how to get the correct item path in the REST API endpoint with free APIs from the RapidAPI website and set it with the JetEngine WordPress plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/","og_site_name":"Help Center","article_modified_time":"2024-02-23T13:43:59+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/path-option-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/","url":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/","name":"Getting Right Item Path for REST API with JetEngine WordPress Plugin | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-03-06T08:52:39+00:00","dateModified":"2024-02-23T13:43:59+00:00","description":"Learn how to get the correct item path in the REST API endpoint with free APIs from the RapidAPI website and set it with the JetEngine WordPress plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/getting-the-right-item-path-for-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting","item":"https:\/\/crocoblock.com\/knowledge-base\/troubleshooting\/"},{"@type":"ListItem","position":3,"name":"Getting the Right Item Path for REST API"}]},{"@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\/troubleshooting\/37218"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshooting"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/troubleshooting"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/9"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=37218"}],"wp:term":[{"taxonomy":"troubleshoot-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/troubleshoot-tags?post=37218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}