> ## 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.

# PFStatisticsGetStatisticsForEntitiesRequest

> Reference for the PFStatisticsGetStatisticsForEntitiesRequest struct in the PlayFab Services C API, listing entities whose statistics to fetch.

PFStatisticsGetStatisticsForEntitiesRequest data model.

## Syntax

```cpp theme={null}
typedef struct PFStatisticsGetStatisticsForEntitiesRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entities;  
    uint32_t entitiesCount;  
    const char* const* statisticNames;  
    uint32_t statisticNamesCount;  
} PFStatisticsGetStatisticsForEntitiesRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`entities`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

Collection of Entity IDs to retrieve statistics for.

**`entitiesCount`**   uint32\_t

Count of entities

**`statisticNames`**   const char\* const\*<br />*may be nullptr*

(Optional) The list of statistics to return for the user. If set to null, the current version of all statistics are returned.

**`statisticNamesCount`**   uint32\_t

Count of statisticNames

## Requirements

**Header:** PFStatisticsTypes.h

## See also

[PFStatisticsTypes members](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members)


## Related topics

- [PFStatisticsGetStatisticsForEntitiesAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsforentitiesasync.md)
- [Services C API overview - PFStatisticsTypes.h](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)
- [PFStatisticsGetStatisticsRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsrequest.md)
- [PFStatisticsGetStatisticsForEntitiesResponse](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsforentitiesresponse.md)
- [PFStatisticsGetStatisticDefinitionRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticdefinitionrequest.md)
