Source

This page was generated with Wiki Builder. Do not change the format!

Info

Gets aggregate historical stats organized around each character for a given account.

Parameters

Path Parameters

Name Schema Required Description
destinyMembershipId integer:int64 Yes The Destiny membershipId of the user to retrieve.
membershipType BungieMembershipType:Enum Yes A valid non-BungieNet membership type.

Query String Parameters

Name Schema Required Description
groups DestinyStatsGroupType:Enum[] No Groups of stats to include, otherwise only general stats are returned. Comma separated list is allowed. Values: General, Weapons, Medals.

Example

Request

GET https://www.bungie.net/Platform/Destiny2/{membershipType}/Account/{destinyMembershipId}/Stats/

Response

PlatformErrorCode: 200

{
    // Type: DestinyHistoricalStatsAccountResult
    "Response": {
        // Type: DestinyHistoricalStatsWithMerged
        "mergedDeletedCharacters": {
            // Type: Dictionary<string,DestinyHistoricalStatsByPeriod>
            "results": {
                "{string}": {
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTime": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier1": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier2": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier3": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: DestinyHistoricalStatsPeriodGroup[]
                    "daily": [
                       // Type: DestinyHistoricalStatsPeriodGroup
                        {
                            // Type: string:date-time
                            "period": "",
                            // Type: DestinyHistoricalStatsActivity
                            "activityDetails": {},
                            // Type: Dictionary<string,DestinyHistoricalStatsValue>
                            "values": {
                                "{string}": {
                                    // Type: string
                                    "statId": "",
                                    // Type: DestinyHistoricalStatsValuePair
                                    "basic": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "pga": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "weighted": {},
                                    // Type: integer:int64:nullable
                                    "activityId": 0
                                }
                            }
                        }
                    ],
                    // Type: DestinyHistoricalStatsPeriodGroup[]
                    "monthly": [
                       // Type: DestinyHistoricalStatsPeriodGroup
                        {
                            // Type: string:date-time
                            "period": "",
                            // Type: DestinyHistoricalStatsActivity
                            "activityDetails": {},
                            // Type: Dictionary<string,DestinyHistoricalStatsValue>
                            "values": {
                                "{string}": {
                                    // Type: string
                                    "statId": "",
                                    // Type: DestinyHistoricalStatsValuePair
                                    "basic": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "pga": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "weighted": {},
                                    // Type: integer:int64:nullable
                                    "activityId": 0
                                }
                            }
                        }
                    ]
                }
            },
            // Type: DestinyHistoricalStatsByPeriod
            "merged": {
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTime": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTimeTier1": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTimeTier2": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTimeTier3": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: DestinyHistoricalStatsPeriodGroup[]
                "daily": [
                   // Type: DestinyHistoricalStatsPeriodGroup
                    {
                        // Type: string:date-time
                        "period": "",
                        // Type: DestinyHistoricalStatsActivity
                        "activityDetails": {},
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "values": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        }
                    }
                ],
                // Type: DestinyHistoricalStatsPeriodGroup[]
                "monthly": [
                   // Type: DestinyHistoricalStatsPeriodGroup
                    {
                        // Type: string:date-time
                        "period": "",
                        // Type: DestinyHistoricalStatsActivity
                        "activityDetails": {},
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "values": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        }
                    }
                ]
            }
        },
        // Type: DestinyHistoricalStatsWithMerged
        "mergedAllCharacters": {
            // Type: Dictionary<string,DestinyHistoricalStatsByPeriod>
            "results": {
                "{string}": {
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTime": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier1": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier2": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier3": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: DestinyHistoricalStatsPeriodGroup[]
                    "daily": [
                       // Type: DestinyHistoricalStatsPeriodGroup
                        {
                            // Type: string:date-time
                            "period": "",
                            // Type: DestinyHistoricalStatsActivity
                            "activityDetails": {},
                            // Type: Dictionary<string,DestinyHistoricalStatsValue>
                            "values": {
                                "{string}": {
                                    // Type: string
                                    "statId": "",
                                    // Type: DestinyHistoricalStatsValuePair
                                    "basic": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "pga": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "weighted": {},
                                    // Type: integer:int64:nullable
                                    "activityId": 0
                                }
                            }
                        }
                    ],
                    // Type: DestinyHistoricalStatsPeriodGroup[]
                    "monthly": [
                       // Type: DestinyHistoricalStatsPeriodGroup
                        {
                            // Type: string:date-time
                            "period": "",
                            // Type: DestinyHistoricalStatsActivity
                            "activityDetails": {},
                            // Type: Dictionary<string,DestinyHistoricalStatsValue>
                            "values": {
                                "{string}": {
                                    // Type: string
                                    "statId": "",
                                    // Type: DestinyHistoricalStatsValuePair
                                    "basic": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "pga": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "weighted": {},
                                    // Type: integer:int64:nullable
                                    "activityId": 0
                                }
                            }
                        }
                    ]
                }
            },
            // Type: DestinyHistoricalStatsByPeriod
            "merged": {
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTime": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTimeTier1": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTimeTier2": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                "allTimeTier3": {
                    "{string}": {
                        // Type: string
                        "statId": "",
                        // Type: DestinyHistoricalStatsValuePair
                        "basic": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "pga": {},
                        // Type: DestinyHistoricalStatsValuePair
                        "weighted": {},
                        // Type: integer:int64:nullable
                        "activityId": 0
                    }
                },
                // Type: DestinyHistoricalStatsPeriodGroup[]
                "daily": [
                   // Type: DestinyHistoricalStatsPeriodGroup
                    {
                        // Type: string:date-time
                        "period": "",
                        // Type: DestinyHistoricalStatsActivity
                        "activityDetails": {},
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "values": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        }
                    }
                ],
                // Type: DestinyHistoricalStatsPeriodGroup[]
                "monthly": [
                   // Type: DestinyHistoricalStatsPeriodGroup
                    {
                        // Type: string:date-time
                        "period": "",
                        // Type: DestinyHistoricalStatsActivity
                        "activityDetails": {},
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "values": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        }
                    }
                ]
            }
        },
        // Type: DestinyHistoricalStatsPerCharacter[]
        "characters": [
           // Type: DestinyHistoricalStatsPerCharacter
            {
                // Type: integer:int64
                "characterId": 0,
                // Type: boolean
                "deleted": false,
                // Type: Dictionary<string,DestinyHistoricalStatsByPeriod>
                "results": {
                    "{string}": {
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "allTime": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        },
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "allTimeTier1": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        },
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "allTimeTier2": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        },
                        // Type: Dictionary<string,DestinyHistoricalStatsValue>
                        "allTimeTier3": {
                            "{string}": {
                                // Type: string
                                "statId": "",
                                // Type: DestinyHistoricalStatsValuePair
                                "basic": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "pga": {},
                                // Type: DestinyHistoricalStatsValuePair
                                "weighted": {},
                                // Type: integer:int64:nullable
                                "activityId": 0
                            }
                        },
                        // Type: DestinyHistoricalStatsPeriodGroup[]
                        "daily": [
                           // Type: DestinyHistoricalStatsPeriodGroup
                            {
                                // Type: string:date-time
                                "period": "",
                                // Type: DestinyHistoricalStatsActivity
                                "activityDetails": {},
                                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                                "values": {
                                    "{string}": {
                                        // Type: string
                                        "statId": "",
                                        // Type: DestinyHistoricalStatsValuePair
                                        "basic": {},
                                        // Type: DestinyHistoricalStatsValuePair
                                        "pga": {},
                                        // Type: DestinyHistoricalStatsValuePair
                                        "weighted": {},
                                        // Type: integer:int64:nullable
                                        "activityId": 0
                                    }
                                }
                            }
                        ],
                        // Type: DestinyHistoricalStatsPeriodGroup[]
                        "monthly": [
                           // Type: DestinyHistoricalStatsPeriodGroup
                            {
                                // Type: string:date-time
                                "period": "",
                                // Type: DestinyHistoricalStatsActivity
                                "activityDetails": {},
                                // Type: Dictionary<string,DestinyHistoricalStatsValue>
                                "values": {
                                    "{string}": {
                                        // Type: string
                                        "statId": "",
                                        // Type: DestinyHistoricalStatsValuePair
                                        "basic": {},
                                        // Type: DestinyHistoricalStatsValuePair
                                        "pga": {},
                                        // Type: DestinyHistoricalStatsValuePair
                                        "weighted": {},
                                        // Type: integer:int64:nullable
                                        "activityId": 0
                                    }
                                }
                            }
                        ]
                    }
                },
                // Type: DestinyHistoricalStatsByPeriod
                "merged": {
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTime": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier1": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier2": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: Dictionary<string,DestinyHistoricalStatsValue>
                    "allTimeTier3": {
                        "{string}": {
                            // Type: string
                            "statId": "",
                            // Type: DestinyHistoricalStatsValuePair
                            "basic": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "pga": {},
                            // Type: DestinyHistoricalStatsValuePair
                            "weighted": {},
                            // Type: integer:int64:nullable
                            "activityId": 0
                        }
                    },
                    // Type: DestinyHistoricalStatsPeriodGroup[]
                    "daily": [
                       // Type: DestinyHistoricalStatsPeriodGroup
                        {
                            // Type: string:date-time
                            "period": "",
                            // Type: DestinyHistoricalStatsActivity
                            "activityDetails": {},
                            // Type: Dictionary<string,DestinyHistoricalStatsValue>
                            "values": {
                                "{string}": {
                                    // Type: string
                                    "statId": "",
                                    // Type: DestinyHistoricalStatsValuePair
                                    "basic": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "pga": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "weighted": {},
                                    // Type: integer:int64:nullable
                                    "activityId": 0
                                }
                            }
                        }
                    ],
                    // Type: DestinyHistoricalStatsPeriodGroup[]
                    "monthly": [
                       // Type: DestinyHistoricalStatsPeriodGroup
                        {
                            // Type: string:date-time
                            "period": "",
                            // Type: DestinyHistoricalStatsActivity
                            "activityDetails": {},
                            // Type: Dictionary<string,DestinyHistoricalStatsValue>
                            "values": {
                                "{string}": {
                                    // Type: string
                                    "statId": "",
                                    // Type: DestinyHistoricalStatsValuePair
                                    "basic": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "pga": {},
                                    // Type: DestinyHistoricalStatsValuePair
                                    "weighted": {},
                                    // Type: integer:int64:nullable
                                    "activityId": 0
                                }
                            }
                        }
                    ]
                }
            }
        ]
    },
    // Type: PlatformErrorCodes:Enum
    "ErrorCode": 0,
    // Type: integer:int32
    "ThrottleSeconds": 0,
    // Type: string
    "ErrorStatus": "",
    // Type: string
    "Message": "",
    // Type: Dictionary<string,string>
    "MessageData": {
        "{string}": ""
    },
    // Type: object
}

References

  1. https://bungie-net.github.io/multi/operation_get_Destiny2-GetHistoricalStatsForAccount.html#operation_get_Destiny2-GetHistoricalStatsForAccount