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

# PFProfilesGetProfileAsync

> Retrieves the PlayFab entity profile for a single entity, including display name, avatar, statistics, and objects tied to the specified entity key.

Retrieves the entity's profile.

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFProfilesGetEntityProfileRequest\*](/services/playfab/api-references/c/pfprofilestypes/structs/pfprofilesgetentityprofilerequest)

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. Given an entity type and entity identifier will retrieve the profile from the entity store. If the profile being retrieved is the caller's, then the read operation is consistent, if not it is an inconsistent read. An inconsistent read means that we do not guarantee all committed writes have occurred before reading the profile, allowing for a stale read. If consistency is important the Version Number on the result can be used to compare which version of the profile any reader has. When the asynchronous task is complete, call [PFProfilesGetProfileGetResultSize](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilegetresultsize) and [PFProfilesGetProfileGetResult](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilegetresult) to get the result.

## Requirements

**Header:** PFProfiles.h

## See also

[PFProfiles members](/services/playfab/api-references/c/pfprofiles/pfprofiles_members)


## Related topics

- [PFProfilesGetProfileGetResult](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilegetresult.md)
- [Services C API overview - PFProfiles.h](/services/playfab/api-references/c/pfprofiles/pfprofiles_members.md)
- [Making Async Calls](/services/playfab/sdks/c/async.md)
- [Making async calls in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/async-model.md)
- [PFProfilesGetProfilesAsync](/services/playfab/api-references/c/pfprofiles/functions/pfprofilesgetprofilesasync.md)
