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

# PFStatisticsGetStatisticsRequest

> Reference for the PFStatisticsGetStatisticsRequest struct in the PlayFab Services C API, specifying the entity and statistic names to retrieve.

PFStatisticsGetStatisticsRequest data model.

## Syntax

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

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

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

(Optional) The optional entity to perform this action on. Defaults to the currently logged in entity.

**`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

- [PFStatisticsGetStatisticsAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticsasync.md)
- [Services C API overview - PFStatisticsTypes.h](/services/playfab/api-references/c/pfstatisticstypes/pfstatisticstypes_members.md)
- [PFStatisticsGetStatisticsForEntitiesRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticsforentitiesrequest.md)
- [PFStatisticsGetStatisticDefinitionRequest](/services/playfab/api-references/c/pfstatisticstypes/structs/pfstatisticsgetstatisticdefinitionrequest.md)
- [PFStatisticsGetStatisticDefinitionAsync](/services/playfab/api-references/c/pfstatistics/functions/pfstatisticsgetstatisticdefinitionasync.md)
