---
schema_version: "1"
id: 2e145202d7ba8cb7ace3f66031eb7b47583738f9ebd80fc87a05f2a7fcd58cce
title: ConnectApi.SearchCategory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_search_category.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_search_category.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 498465d0b93be5442467cebdf6113b7d3d959e62bbfff5afd67b5dc56ff97387
description: Search category.
---
# ConnectApi.SearchCategory

Search category.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| category | [ConnectApi.​ProductCategoryData](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_category.htm "Product category.") | Information about the category. | 52.0 |
| children | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​SearchCategory](# "Search category.")\> | First-level child categories of the category searched with non-empty search results. | 52.0 |
| productCount | Long | Number of products in the search results that belong to the category. | 52.0 |

#### See Also

- [ConnectApi.ProductSearchResults](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_search_results.htm "Product search results.")