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

# XblMatchmakingGetHopperStatisticsAsync

> XblMatchmakingGetHopperStatisticsAsync

Gets statistics about a hopper such as how many players are in it.

## Syntax

```cpp theme={null}
HRESULT XblMatchmakingGetHopperStatisticsAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         const char* hopperName,  
         XAsyncBlock* asyncBlock  
)  
```

### Parameters

*xboxLiveContext*   \_In\_\
Type: [XblContextHandle](https://docs.xbox.com/reference/live/xsapi-c/types_c/handles/xblcontexthandle.md)

XBOX live context for the local user.

*serviceConfigurationId*   \_In\_\
Type: char\*

The Service Configuration ID (SCID) for the title. The SCID is considered case sensitive so paste it directly from the Partner Center.

*hopperName*   \_In\_\
Type: char\*

The name of the hopper to query stats for.

*asyncBlock*   \_In\_\
Type: XAsyncBlock\*

The AsyncBlock for this operation.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## REST Call

Calls V103 GET `/serviceconfigs/{serviceConfigId}/hoppers/{hopperName}/stats`

## Requirements

**Header:** matchmaking\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[matchmaking\_c](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)


## Related topics

- [XblMatchmakingGetHopperStatisticsResult](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresult.md)
- [XblMatchmakingGetHopperStatisticsResultSize](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggethopperstatisticsresultsize.md)
- [matchmaking_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/matchmaking_c_members.md)
- [XblMatchmakingGetMatchTicketDetailsAsync](https://docs.xbox.com/reference/live/xsapi-c/matchmaking_c/functions/xblmatchmakinggetmatchticketdetailsasync.md)
- [XblUserStatisticsGetSingleUserStatisticAsync](https://docs.xbox.com/reference/live/xsapi-c/user_statistics_c/functions/xbluserstatisticsgetsingleuserstatisticasync.md)
