v1

latestSwagger 2.0BSD License 2.02026-07-131358281.6 MB
Destiny2

Gets historical stats for indicated character.

get/Destiny2/{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Stats/

Path parameters

characterIdinteger required

The id of the character to retrieve. You can omit this character ID or set it to 0 to get aggregate stats across all characters.

destinyMembershipIdinteger required

The Destiny membershipId of the user to retrieve.

membershipTypeinteger required

A valid non-BungieNet membership type.

Query parameters

dayendstring date-time

Last day to return when daily stats are requested. Use the format YYYY-MM-DD. Currently, we cannot allow more than 31 days of daily data to be requested in a single request.

daystartstring date-time

First day to return when daily stats are requested. Use the format YYYY-MM-DD. Currently, we cannot allow more than 31 days of daily data to be requested in a single request.

groupsinteger[]

Group of stats to include, otherwise only general stats are returned. Comma separated list is allowed. Values: General, Weapons, Medals

modesinteger[]

Game modes to return. See the documentation for DestinyActivityModeType for valid values, and pass in string representation, comma delimited.

periodTypeinteger

Indicates a specific period type to return. Optional. May be: Daily, AllTime, or Activity

Response

Look at the Response property for more information about the nature of this response