> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFCatalogSearchItemsAsync

> Executes a search against the public catalog using the provided search parameters and returns a set of paginated results. SearchItems uses a cache of the.

Executes a search against the public catalog using the provided search parameters and returns a set of paginated results. SearchItems uses a cache of the catalog with item updates taking up to a few minutes to propagate. You should use the GetItem API for when trying to immediately get recent item updates. More information about the Search API can be found here: [/services/playfab/economy-monetization/economy-v2/catalog/search](/services/playfab/economy-monetization/economy-v2/catalog/search)

## Syntax

```cpp theme={null}
HRESULT PFCatalogSearchItemsAsync(  
    PFEntityHandle entityHandle,  
    const PFCatalogSearchItemsRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFCatalogSearchItemsRequest\*](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogsearchitemsrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. When the asynchronous task is complete, call [PFCatalogSearchItemsGetResultSize](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogsearchitemsgetresultsize) and [PFCatalogSearchItemsGetResult](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogsearchitemsgetresult) to get the result.

## Requirements

**Header:** PFCatalog.h

## See also

[PFCatalog members](/services/playfab/api-references/c/pfcatalog/pfcatalog_members)


## Related topics

- [PFCatalogSearchItemsGetResult](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogsearchitemsgetresult.md)
- [Services C API overview - PFCatalog.h](/services/playfab/api-references/c/pfcatalog/pfcatalog_members.md)
- [PFCatalogSearchItemsGetResultSize](/services/playfab/api-references/c/pfcatalog/functions/pfcatalogsearchitemsgetresultsize.md)
- [PFCatalogGetItemContainersAsync](/services/playfab/api-references/c/pfcatalog/functions/pfcataloggetitemcontainersasync.md)
- [PFCatalogSearchItemsRequest](/services/playfab/api-references/c/pfcatalogtypes/structs/pfcatalogsearchitemsrequest.md)
