Most Popular Items

Prev Next

The Most Popular Items algorithm recommends items by analyzing the most popular products by page views. It generates recommendations based on the page view counts during the last 30 days. The Most Popular Items algorithm works best on main, category, and product pages.

Endpoint

GET https://recommendation.api.useinsider.com/v2/most-popular

Query Parameters

ParameterSample ValueDescriptionData TypeRequired
partnerNamemybrandPartner Identifier assigned by Insider. You can use PartnerID as well.StringYes
localeus_USLocale of requested product catalog.StringYes
platformwebRequested platform. Web comes by default.EnumNo
currencyUSDRequested currency of the products. If no value is set, the default currency in your settings is used.StringYes
size50Required number of items in response. Valid values are 0 to 100.IntegerNo
categoryList[“Clothes”, “Skirts”]Category filter of the productsArray (of string)No
filter
Smart Recommender filtering. There can be more than one filter parameter.StringNo
detailstrueAdds details to the products of the response.BooleanNo
shufflefalseShuffles the products of the response.BooleanNo
getGroupProductsfalseShows variant products under the products of the response.BooleanNo
groupProductsFields
Adds these fields to the variant products’ details.StringNo
excludeVariantstrueExclude variants from the response.BooleanNo
userIda1b2c3d4User identifier which is assigned by Insider.StringNo
excludeViewDay30After how many days should viewed products be excluded.IntegerNo (Can be used only with userId)
excludeViewItem100How many viewed products should be excluded.IntegerNo (Can be used only with userId)
excludePurchaseDay30After how many days should purchased products be excluded.IntegerNo (Can be used only with userId)
excludePurchaseItem100How many purchased products should be excluded.IntegerNo (Can be used only with userId)
hpfalseMakes affinities affect products of the response.BooleanNo
productIdABC123CBACurrent product IDStringNo

Sample Request

The sample below displays a request to Most Popular Items, an algorithm that recommends products with the highest overall engagement based on page views.

GET https://recommendation.api.useinsider.com/v2/most-popular?locale={Locale}&partnerName={PartnerName}&currency={Currency}

Sample Response

{
    "success": true,
    "total": 10,
    "types": {
        "mvop": 10
    },
    "data": [
        "QAZ-7890",
        "XYZ-1234",
        "QAZ-7899",
        "XYZ-1233",
        "QAZ-7898",
        "XYZ-1243",
        "QAZ-7891",
        "XYZ-1223",
        "QAZ-7892",
        "XYZ-1342"
    ]
}

Fallback Algorithms

If the products come from Most Popular Items are not enough to fill the response data, some fallback algorithms below fill it:

  • Most viewed items of the category, including the rightmost item in the categoryList.