--- title: "Similar Products" slug: "similar-products" description: "Documents the GET /v2/similar endpoint, recommending products by comparing name, category, and up to five textual attributes to the currently viewed item." tags: ["recommendation algorithms"] updated: 2026-09-09T15:06:59Z published: 2026-09-09T15:06:59Z canonical: "academy.insiderone.com/similar-products" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Similar Products The Similar Products algorithm surfaces products that share descriptive characteristics with the product a shopper is currently viewing. It compares the product name, category, and textual metadata such as material_type, tags, gender, or any custom attribute you define. You can include and configure up to 5 additional attributes on the [Product Attributes](/v1/docs/product-attributes-overview) page. It performs optimally on product detail and cart pages where the written description carries most of the decision weight (electronics, books, grocery, health, cosmetics, accessories). ## Endpoint > **GET** https://recommendation.api.useinsider.com/v2/similar[](https://developers.insiderone.com/#3eca9519-16cd-42ec-b1e6-20bbbfc13d00) ## Query Parameters | Parameter | Sample Value | Description | Data Type | Required | | --- | --- | --- | --- | --- | | partnerName | mybrand | Partner Identifier assigned by Insider One. You can use PartnerID as well. | String | Yes | | locale | us_US | Locale of requested product catalog | String | Yes | | productId | 1068 | The reference product for which the complement is computed | String | Yes | | currency | USD | Product currency. If no value is set, the default currency in your settings is used. | String | No | | size | 10 | Response items. Valid values are 0 to 100. | Integer | No | | categoryList | [“Clothes”] | Category filter of the products | Array | No | | userId | a1b2c3d4 | User identifier; enables personalization boosts when provided | String | No | | platform | web | Requested platform (default: web) | Enum | No | | details | true | Adds details to the products of the response | Boolean | No | | excludeVariants | true | Hides color/size variants of the same base product | Boolean | No | | shuffle | false | Shuffles the products of the response | Boolean | No | | filter | [in_stock][=][true] | Restricts results by fields such as price, brand, color, gender, in_stock, or category | String | No | | hp | true | Hyper-personalization flag. Re-ranks results using the shopper's attribute preferences | Boolean | No | | getGroupProducts | true | Returns all color/size variants grouped under each recommended product | Boolean | No | | groupProductsFields | product_attributes.color,price | Comma-separated list of fields to include in the grouped variants; products missing any listed field are dropped | String | No | | getAllGroupProductsFields | true | Returns all variant fields without dropping products for missing fields; automatically enables getGroupProducts | Boolean | No | | excludeViewDay | 30 | Days before excluding previously viewed products | Integer | No | | excludeViewItem | 100 | Number of viewed products to exclude | Integer | No | | excludePurchaseDay | 30 | Days before excluding previously purchased products | Integer | No | | excludePurchaseItem | 100 | Number of purchased products to exclude | Integer | No | ## Sample Request The sample below shows a request to Similar Products, the algorithm that suggests items frequently bought or viewed alongside the anchor product. ```http https://recommendation.api.useinsider.com/v2/similar?partnerName={PartnerName}&locale={Locale}&productId={ABC123}&size=3 ``` ## Sample Response ```json {  "success": true,  "total": 3,  "types": { "sim": 3 },  "data": [    "649517_49890",    "568334_49053",    "639714_49677"  ] } ``` ## Fallback Algorithms When not enough products can be matched by their textual fields (additional product attributes can be activated from **Product Catalog Management** > **Product Attributes** > **Similarity**; by default, name and category are used), the system falls back to: - Viewed Together - Most Popular Items in Category - Most Popular Items