Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
CatalogSearchParams
The CatalogSearchParams data type stores the parameters of a catalog search via AvatarEditorService:SearchCatalogAsync().
When accessing the value of the CatalogSearchParams.BundleTypes or CatalogSearchParams.AssetTypes property the returned table will be read-only to avoid confusion when not directly accessing the CatalogSearchParams instance.
For example, you can use these properties as follows:
local params = CatalogSearchParams.new()
params.SearchKeyword = "Test"
params.MinPrice = 5000
params.MaxPrice = 10000
params.BundleTypes = {Enum.BundleType.Animations, Enum.BundleType.BodyParts}
local types = params.BundleTypes
for _, val in types do
print(val)
end
-- table.insert(types, Enum.BundleType.Animations) -- This would not work because the table is read only Properties
| Name | Type / Returns | Description |
|---|---|---|
| CatalogSearchParams.SearchKeyword | string | The keyword to search for catalog results with. |
| CatalogSearchParams.MinPrice | number | The minimum item price to search for. |
| CatalogSearchParams.MaxPrice | number | The maximum item price to search for. |
| CatalogSearchParams.SortType | CatalogSortType | The order in which to sort the results. |
| CatalogSearchParams.SortAggregation | Enum.CatalogSortAggregation | The time period to use to aggregate the sort results. |
| CatalogSearchParams.CategoryFilter | CatalogCategoryFilter | The category to filter the search by. |
| CatalogSearchParams.SalesTypeFilter | Enum.SalesTypeFilter | The sales type filter the search by. |
| CatalogSearchParams.BundleTypes | Array | An array containing BundleType values to filter the search by. |
| CatalogSearchParams.AssetTypes | Array | An array containing AvatarAssetType values to filter the search by. |
| CatalogSearchParams.IncludeOffSale | bool | Whether off sale items should be included in the results. |
| CatalogSearchParams.CreatorName | string | Search for items with the given creator name. |
| CatalogSearchParams.CreatorType | Enum.CreatorTypeFilter | Search for items created by the given creator type. |
| CatalogSearchParams.CreatorId | number | Search for items created by the given creator ID. |
| CatalogSearchParams.Limit | number | Specifies the number of items to return. Accepts 10, 28, 30, 60, and 120. Defaults to 30. |
CatalogSearchParams.SearchKeyword
The keyword to search for catalog results with.
| Field | Value |
|---|---|
| type | string |
CatalogSearchParams.MinPrice
The minimum item price to search for.
| Field | Value |
|---|---|
| type | number |
| default | 0 |
CatalogSearchParams.MaxPrice
The maximum item price to search for.
| Field | Value |
|---|---|
| type | number |
| default | 2147483647 |
CatalogSearchParams.SortType
The order in which to sort the results, represented by a CatalogSortType.
| Field | Value |
|---|---|
| type | CatalogSortType |
| default | Enum.CatalogSortType.Relevance |
CatalogSearchParams.SortAggregation
The time period to use to aggregate the sort results by, represented by a CatalogSortAggregation. This only applies when the sort type is CatalogSortType.MostFavorited or CatalogSortType.BestSelling. It does not apply for other sort types.
| Field | Value |
|---|---|
| type | Enum.CatalogSortAggregation |
| default | Enum.CatalogSortAggregation.AllTime |
CatalogSearchParams.CategoryFilter
The category to filter the search by, represented by a CatalogCategoryFilter.
| Field | Value |
|---|---|
| type | CatalogCategoryFilter |
| default | Enum.CatalogCategoryFilter.None |
CatalogSearchParams.SalesTypeFilter
The sales type to filter the search by, represented by a SalesTypeFilter. Use SalesTypeFilter.TimedOptions to return only items that have timed options available.
| Field | Value |
|---|---|
| type | Enum.SalesTypeFilter |
| default | Enum.SalesTypeFilter.All |
CatalogSearchParams.BundleTypes
An array containing BundleType values to filter the search by.
| Field | Value |
|---|---|
| type | Array |
| default | {} |
CatalogSearchParams.AssetTypes
An array containing AvatarAssetType values to filter the search by.
| Field | Value |
|---|---|
| type | Array |
CatalogSearchParams.IncludeOffSale
Whether off sale items should be included in the results.
| Field | Value |
|---|---|
| type | bool |
| default | false |
CatalogSearchParams.CreatorName
Search for items with the given creator name. Specify whether to search users, groups, or both with CatalogSearchParams.CreatorType.
| Field | Value |
|---|---|
| type | string |
CatalogSearchParams.CreatorType
Search for items created by the given creator type. When unspecified, it defaults to returning creations from both CreatorTypeFilter.User and CreatorTypeFilter.Group. Searching by CatalogSearchParams.CreatorId with CreatorTypeFilter.All results in a HTTP 400 Bad Request error.
| Field | Value |
|---|---|
| type | Enum.CreatorTypeFilter |
| default | Enum.CreatorTypeFilter.All |
CatalogSearchParams.CreatorId
Search for items created by the single creator ID. Specify user or group with CatalogSearchParams.CreatorType. Searching by creator ID and creator name is not supported; specify one, not both.
| Field | Value |
|---|---|
| type | number |
| default | 0 |
CatalogSearchParams.Limit
Specifies the number of items to return. Accepts 10, 28, 30, 60, and 120. Defaults to 30.
| Field | Value |
|---|---|
| type | number |