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
Params
Body Parameters
JS_API_KEY
required
String
Your public Klevu JS API Key.
Curl
curl --location --request GET 'https://js.klevu.com/klevu-js-v1/klevu-js-api/klevu-14551849541532921.json'
Responses
200
{
"klevu_showBannerAds": true,
"klevu_multiSelectFilters": true,
"klevu_abTestActive": false,
"klevu_userAnalyticsDomain": "stats.klevu.com",
"klevu_uc_userOptions": {
"showRolloverImage": false,
"showProductSwatches": false,
"enablePersonalisationInCatNav": false,
"showRatingsCountOnCategoryPage": false,
"outOfStockCaption": "Sold-Out",
"noResultsOptions": {
"showPopularProducts": true,
"productsHeading": "You may like...",
"showPopularKeywords": true,
"messages": [
{
"showForTerms": [
"jsbueruru"
],
"message": "<a href="http://klevu.com">Klevu</a>"
},
{
"showForTerms": null,
"message": "Oh no! We can't find <B>#</B> </br>Please visit our website <a href="https://klevu.com"> Klevu.com </a>"
}
],
"banners": [
{
"showForTerms": [
"teeees"
],
"showOnLandingPage": true,
"redirectUrl": "https://demo.ksearchmisc.com/klevusearch/men/shirts/plaid-cotton-shirt-452.html",
"showOnQuickSearch": true,
"bannerImageUrl": "https://demo.ksearchmisc.com/klevusearch/media/wysiwyg/homepage-three-column-promo-03.png",
"bannerRef": 1187
},
{
"showForTerms": null,
"showOnLandingPage": true,
"redirectUrl": "https://demo.ksearchmisc.com/klevusearch/men/shirts.html",
"showOnQuickSearch": true,
"bannerImageUrl": "https://demo.ksearchmisc.com/klevusearch/skin/frontend/base/default/images/klevubanner/klevu-banner-ad-shirt-new.jpg",
"bannerRef": 993
}
]
},
"noImageUrl": "/klevu-js-v1/img-1-1/place-holder.jpg",
"showRatingsOnCategoryPage": true,
"showTrendingProductsCaption": "Trending Products",
"enablePersonalisationInSearch": false,
"isFullImageUrlProvided": false,
"showSearchBoxOnLandingPage": false,
"showRecentlyViewedItemsCaption": "Recently Viewed",
"priceInterval": "500",
"priceFormatter": {
"thousandSeparator": ",",
"decimalPlaces": "0",
"decimalSeparator": ".",
"appendCurrencyAtLast": false,
"currencySymbol": "$"
},
"showRatingsCountOnSearchResultsLandingPage": false,
"showRecentlyViewedItems": true,
"showTrendingProducts": true,
"showRatingsOnQuickSearches": true,
"showRatingsCountOnQuickSearches": false,
"showRatingsOnSearchResultsLandingPage": true,
"showFiltersInMobile": false
},
"klevu_cmsAnalyticsDomain": "stats.klevu.com",
"klevu_showOutOfStock": true,
"klevu_logoFreeSearch": true,
"klevu_layoutView": "grid",
"klevu_showPopuralTerms": false,
"klevu_showProductCode": true,
"klevu_showPopularSearches": true,
"klevu_cmsApiKey": "klevu-14551849541532921",
"klevu_categorySearchEnabled": true,
"klevu_showPriceSlider": true,
"klevu_addToCartEnabled": false,
"klevu_productsToShowInSlimLayout": "4",
"klevu_cmsEnabled": true,
"klevu_filtersOnLeft": true,
"klevu_showPrices": true,
"klevu_isSearchActive": true,
"klevu_filtersEnabled": true,
"klevu_fluidLayoutEnabled": true,
"klevu_webstorePopularTerms": [
"jeans",
"denims",
"dresss",
"dresses",
"pall"
],
"klevu_cmsSearchDomain": "eucs2.klevu.com",
"klevu_lookForDataInSameFeed": true,
"klevu_popularProductsOfSite": [
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/w/s/wsd013t_1.jpg",
"name": "Lafayette Convertible Dress",
"id": "425-310",
"url": "https://demo.ksearchmisc.com/klevusearch/lafayette-convertible-dress.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/a/b/abl005a_1.jpg",
"name": "Roller Suitcase",
"id": "375",
"url": "https://demo.ksearchmisc.com/klevusearch/roller-suitcase.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/w/s/wsd008t_1.jpg",
"name": "Ludlow Sheath Dress",
"id": "424-309",
"url": "https://demo.ksearchmisc.com/klevusearch/ludlow-sheath-dress.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/4/1/41cwpqsxuil.jpg",
"name": "Apple iPad Mini 2 Tablet (7.9 inch, 32 GB, Wi-Fi Only), Silver",
"id": "898",
"url": "https://demo.ksearchmisc.com/klevusearch/apple-ipad-mini-2-tablet-7-9-inch-32-gb-wi-fi-only-silver.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/a/b/abl0006a_4.jpg",
"name": "Classic Hardshell Suitcase",
"id": "436-541",
"url": "https://demo.ksearchmisc.com/klevusearch/classic-hardshell-suitcase-591.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/p/m/pmo000a_5.jpg",
"name": "Thomas Overcoat",
"id": "808-570",
"url": "https://demo.ksearchmisc.com/klevusearch/thomas-overcoat.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/a/b/abl003b_1.jpg",
"name": "Broad St. Flapover Briefcase",
"id": "373",
"url": "https://demo.ksearchmisc.com/klevusearch/flapover-briefcase.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/p/w/pwt001a_1.jpg",
"name": "Gans Trench Coat",
"id": "832-713",
"url": "https://demo.ksearchmisc.com/klevusearch/gans-trench-coat.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/s/h/shm003a_5.jpg",
"name": "Lenox Boot",
"id": "867-767",
"url": "https://demo.ksearchmisc.com/klevusearch/lenox-boot.html"
},
{
"imageUrl": "https://demo.ksearchmisc.com/klevusearch/media/klevu_images/m/s/msj009t_3.jpg",
"name": "Sullivan Sport Coat",
"id": "405-242",
"url": "https://demo.ksearchmisc.com/klevusearch/oxford-sport-coat-456.html"
}
],
"klevuLayoutVersion": "-1-1",
"klevu_loadMapFile": true,
"klevu_layoutType": "slim",
"klevu_apiDomain": "api.ksearchnet.com",
"klevu_userSearchDomain": "eucs2.klevu.com",
"klevu_showRecentSerches": true,
"klevu_userJavascriptDomain": "js.klevu.com"
}