---
updatedAt: 2025-09-25T18:09:46.000Z
agentTools:
  projectIndex: https://docs.constructor.com/llms.txt
---

# Implement Related Categories

Once your company enables Related Search, Constructor generates related categories using historical clickstream data and previous searches in one (1) business day.

Constructor’s [Search API](https://docs.constructor.com/reference/v1-search-get-search-results) will then return related categories as part of the API response using this format:

```javascript
"related_browse_pages": [  
      {  
        "filter_name": "string",  
        "filter_value": "string",  
        "display_name": "string",  
        "image_url": "string"  
      }  
    ]
```

Your team will be responsible for parsing the API response and deciding how related search terms will appear on a search results page. If you choose to display a category image (`image_url`), Constructor will return the item image for the first item in the category.

# Displaying related categories

Your team is responsible for designing and rendering related categories on the search results page.

Below are results pages from different companies that show how those companies have chosen to display related categories.

<Image alt="Displaying related categories alongside the search results" align="center" width="750px" border={true} src="https://files.readme.io/051006bfc9b2f8c892821d0a1e29337bfe8f835fe7a6d92270bbb365bd5c0c0f-RelatedCat_Ex1.png">
  Displaying related categories alongside the search results
</Image>

<Image alt="Displaying related categories with images at the top of the search results page" align="center" width="750px" border={true} src="https://files.readme.io/d195b432bd52d1cecd38082579798e31570487a86829768d0d522bcabf171682-RelatedCat_Ex2.png">
  Displaying related categories with images at the top of the search results page
</Image>