Guide
Dashboard/KMC Settings
No Results Customisations
1min
This API call will retrieve the Klevu site-specific data which also include the popular products. The popular products can be found in the field klevu_popularProductsOfSite.
GET
Request
Body Parameters
JS_API_KEY
required
String
Your public Klevu JS API Key.
Curl
1curl --location --request GET 'https://js.klevu.com/klevu-js-v1/klevu-js-api/klevu-14551849541532921.json'
Responses
200
1{
2 "klevu_showBannerAds": true,
3 "klevu_multiSelectFilters": true,
4 "klevu_abTestActive": false,
5 "klevu_userAnalyticsDomain": "stats.klevu.com",
6 "klevu_uc_userOptions": {
7 "showRolloverImage": false,
8 "showProductSwatches": false,
9 "enablePersonalisationInCatNav": false,
10 "showRatingsCountOnCategoryPage": false,
11 "outOfStockCaption": "Sold-Out",
12 "noResultsOptions": {
13 "showPopularProducts": true,
14 "productsHeading": "You may like...",
15 "showPopularKeywords": true,
16 "messages": [
17 {
18 "showForTerms": [
19 "jsbueruru"
20 ],
21 "message": "<a href="http://klevu.com">Klevu</a>"
22 },
23 {
24 "showForTerms": null,
25 "message": "Oh no! We can't find <B>#</B> </br>Please visit our website <a href="https://klevu.com"> Klevu.com </a>"
26 }
27 ],
28 "banners": [
29 {
30 "showForTerms": [
31 "teeees"
32 ],
33 "showOnLandingPage": true,
34 "redirectUrl": "https://demo.ksearchmisc.com/klevusearch/men/shirts/plaid-cotton-shirt-452.html",
35 "showOnQuickSearch": true,
36 "bannerImageUrl": "https://demo.ksearchmisc.com/klevusearch/media/wysiwyg/homepage-three-column-promo-03.png",
37 "bannerRef": 1187
38 },
39 {
40 "showForTerms": null,
41 "showOnLandingPage": true,
42 "redirectUrl": "https://demo.ksearchmisc.com/klevusearch/men/shirts.html",
43 "showOnQuickSearch": true,
44 "bannerImageUrl": "https://demo.ksearchmisc.com/klevusearch/skin/frontend/base/default/images/klevubanner/klevu-banner-ad-shirt-new.jpg",
45 "bannerRef": 993
46 }
47 ]
48 },
49 "noImageUrl": "/klevu-js-v1/img-1-1/place-holder.jpg",
50 "showRatingsOnCategoryPage": true,
51 "showTrendingProductsCaption": "Trending Products",
52 "enablePersonalisationInSearch": false,
53 "isFullImageUrlProvided": false,
54 "showSearchBoxOnLandingPage": false,
55 "showRecentlyViewedItemsCaption": "Recently Viewed",
56 "priceInterval": "500",
57 "priceFormatter": {
58 "thousandSeparator": ",",
59 "decimalPlaces": "0",
60 "decimalSeparator": ".",
61 "appendCurrencyAtLast": false,
62 "currencySymbol": "$"
63 },
64 "showRatingsCountOnSearchResultsLandingPage": false,
65 "showRecentlyViewedItems": true,
66 "showTrendingProducts": true,
67 "showRatingsOnQuickSearches": true,
68 "showRatingsCountOnQuickSearches": false,
69 "showRatingsOnSearchResultsLandingPage": true,
70 "showFiltersInMobile": false
71 },
72 "klevu_cmsAnalyticsDomain": "stats.klevu.com",
73 "klevu_showOutOfStock": true,
74 "klevu_logoFreeSearch": true,
75 "klevu_layoutView": "grid",
76 "klevu_showPopuralTerms": false,
77 "klevu_showProductCode": true,
78 "klevu_showPopularSearches": true,
79 "klevu_cmsApiKey": "klevu-14551849541532921",
80 "klevu_categorySearchEnabled": true,
81 "klevu_showPriceSlider": true,
82 "klevu_addToCartEnabled": false,
83 "klevu_productsToShowInSlimLayout": "4",
84 "klevu_cmsEnabled": true,
85 "klevu_filtersOnLeft": true,
86 "klevu_showPrices": true,
87 "klevu_isSearchActive": true,
88 "klevu_filtersEnabled": true,
89 "klevu_fluidLayoutEnabled": true,
90 "klevu_webstorePopularTerms": [
91 "jeans",
92 "denims",
93 "dresss",
94 "dresses",
95 "pall"
96 ],
97 "klevu_cmsSearchDomain": "eucs2.klevu.com",
98 "klevu_lookForDataInSameFeed": true,
99 "klevu_popularProductsOfSite": [
100 {
101 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/w/s/wsd013t_1.jpg",
102 "name": "Lafayette Convertible Dress",
103 "id": "425-310",
104 "url": "https://demo.ksearchmisc.com/klevusearch/lafayette-convertible-dress.html"
105 },
106 {
107 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/a/b/abl005a_1.jpg",
108 "name": "Roller Suitcase",
109 "id": "375",
110 "url": "https://demo.ksearchmisc.com/klevusearch/roller-suitcase.html"
111 },
112 {
113 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/w/s/wsd008t_1.jpg",
114 "name": "Ludlow Sheath Dress",
115 "id": "424-309",
116 "url": "https://demo.ksearchmisc.com/klevusearch/ludlow-sheath-dress.html"
117 },
118 {
119 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/4/1/41cwpqsxuil.jpg",
120 "name": "Apple iPad Mini 2 Tablet (7.9 inch, 32 GB, Wi-Fi Only), Silver",
121 "id": "898",
122 "url": "https://demo.ksearchmisc.com/klevusearch/apple-ipad-mini-2-tablet-7-9-inch-32-gb-wi-fi-only-silver.html"
123 },
124 {
125 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/a/b/abl0006a_4.jpg",
126 "name": "Classic Hardshell Suitcase",
127 "id": "436-541",
128 "url": "https://demo.ksearchmisc.com/klevusearch/classic-hardshell-suitcase-591.html"
129 },
130 {
131 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/p/m/pmo000a_5.jpg",
132 "name": "Thomas Overcoat",
133 "id": "808-570",
134 "url": "https://demo.ksearchmisc.com/klevusearch/thomas-overcoat.html"
135 },
136 {
137 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/a/b/abl003b_1.jpg",
138 "name": "Broad St. Flapover Briefcase",
139 "id": "373",
140 "url": "https://demo.ksearchmisc.com/klevusearch/flapover-briefcase.html"
141 },
142 {
143 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/p/w/pwt001a_1.jpg",
144 "name": "Gans Trench Coat",
145 "id": "832-713",
146 "url": "https://demo.ksearchmisc.com/klevusearch/gans-trench-coat.html"
147 },
148 {
149 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/s/h/shm003a_5.jpg",
150 "name": "Lenox Boot",
151 "id": "867-767",
152 "url": "https://demo.ksearchmisc.com/klevusearch/lenox-boot.html"
153 },
154 {
155 "imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/m/s/msj009t_3.jpg",
156 "name": "Sullivan Sport Coat",
157 "id": "405-242",
158 "url": "https://demo.ksearchmisc.com/klevusearch/oxford-sport-coat-456.html"
159 }
160 ],
161 "klevuLayoutVersion": "-1-1",
162 "klevu_loadMapFile": true,
163 "klevu_layoutType": "slim",
164 "klevu_apiDomain": "api.ksearchnet.com",
165 "klevu_userSearchDomain": "eucs2.klevu.com",
166 "klevu_showRecentSerches": true,
167 "klevu_userJavascriptDomain": "js.klevu.com"
168}