Bungienetplatform Wiki
Advertisement
GetHistoricalStats
Accessibility Public
Method GET
URI /Destiny/Stats/{membershipType}/{destinyMembershipId}/{characterId}

Summary[]

Returns historical stat information about a given Destiny character.[1]

Path Parameters[]

Name Description

membershipType

A valid non-BungieNet membership type.

destinyMembershipId

Destiny membership ID.

characterId

A valid characterId that is associated with the given account.

Query String Parameters[]

Name Description

periodtype

Indicates a specific period type to return.

modes

Game modes to return. Comma separated.

groups

Group of stats to include, otherwise only general stats are returned. Comma separated.

monthstart

First month to return when monthly stats are requested. Use the format YYYY-MM.

monthend

Last month to return when monthly stats are requested. Use the format YYYY-MM.

daystart

First day to return when daily stats are requested. Use the format YYYY-MM-DD.

dayend

Last day to return when daily stats are requested. Use the format YYYY-MM-DD.

JSON POST Parameters[]

Name Description

Example[]

Request[]

https://www.bungie.net/Platform/Destiny/Stats/2/4611686018428939884/2305843009214854213/

Response[]

This response has been truncated to make it easier to see the full structure.

{
    "Response": {
        "story": {
            "allTime": { // Note this is an associative array
                "weaponKillsSuper": {
                    "statId": "weaponKillsSuper",
                    "basic": {
                        "value": 1609,
                        "displayValue": "1609"
                    },
                    "pga": {
                        "value": 2.59935379645,
                        "displayValue": "2.6"
                    }
                }
            }
        },
        "raid": {
            "allTime": {
            }
        },
        "patrol": {
            "allTime": {
            }
        },
        "allPvP": {
            "allTime": {
            }
        },
        "allStrikes": {
            "allTime": {
            }
        }
    },
    "ErrorCode": 1,
    "ThrottleSeconds": 0,
    "ErrorStatus": "Success",
    "Message": "Ok",
    "MessageData": {

    }
}

References[]

Advertisement