Aggregate Sport Data

get

The Aggregate Sport Data (GET v1/me/sport) endpoint returns an aggregated collection of a user's data grouped by Experience Type. The response lists the Experience Types for a user and the aggregation of the user's data for each Experience Type as a collection of records. See Experience Types for a complete list of Experience Types currently supported.

Each record (see Record Types for a complete list) is an aggregate described by a recordType, which is the descriptive name of the record, and a recordValue, which is typically a distance, weight, or duration.

Records under the ALL Experience Type belong to a user's overall activity, e.g., lifetime total NikeFuel. 

Note:  Experience Type has been deprecated.

Test Console

Request

GEThttps://api.nike.com/v1/me/sport

QUERY PARAMETERS

Name Type Required Description
access_token String Yes User's access token

Response

Response Body JSON Schema

RESPONSE BODY FIELDS

Distances and weights are returned in metric units (see Metric Types for more information). Dates and times are returned in UTC following ISO8601 standard formats.
Name Type Description
links Array List of links to related resources (see the HATEOAS page for more information)
experienceTypes Array of Strings
Experience Types represented in the summaries array, excluding the ALL Experience Type
summaries
Array of Objects
List of record summaries by Experience Type
summaries[n].experienceType
String
Experience Type associated with the records for this summary (FUELBAND or RUNNING)
summaries[n].records Array of Objects The records associated with the Experience Type of this summary
records[n].recordType String Type of record, e.g., LIFETIMEFUEL
records[n].recordValue String Record value

Sample Response Body

{
    "links": [
        {
            "rel": "self",
            "href": "https://api.nike.com/v1/me/sport"
        },
        {
            "rel": "activities",
            "href": "https://api.nike.com/v1/me/sport/activities"
        }
    ],
    "experienceTypes": [
        "FUELBAND",
        "RUNNING"
    ],
    "summaries": [
        {
            "experienceType": "ALL",
            "records": [
                {
                    "recordType": "LIFETIMEFUEL",
                    "recordValue": "3045"
                }
            ]
        },
        {
            "experienceType": "FUELBAND",
            "records": [
                {
                    "recordType": "LIFETIMEAVERAGEFUELDAY",
                    "recordValue": "100"
                },
                {
                    "recordType": "LIFETIMEAVERAGEFUELWEEK",
                    "recordValue": "100"
                },
                {
                    "recordType": "LIFETIMEAVERAGEFUELMONTH",
                    "recordValue": "100"
                },
                {
                    "recordType": "TOTALDAILYGOALSACHIEVED",
                    "recordValue": "0"
                }
            ]
        },
        {
            "experienceType": "RUNNING",
            "records": [
                {
                    "recordType": "LEVEL",
                    "recordValue": "0"
                },
                {
                    "recordType": "LIFETIMEAVERAGEPACE",
                    "recordValue": "162802.7495575481"
                }
            ]
        }
    ]
}

Error Codes

Please refer to Error Code and Responses