List Activities

The /me/sport/activities endpoint provides details of the user's activities, beginning with the most recent, as a paginated list. Activity details include the type of activity, its time and duration, calories burned, NikeFuel earned, and the Nike+ device on which the activity was recorded.

Note: This endpoint does not return GPS data, which can (only) be retrieved for one activity at a time by calling the /me/sport/activities/{activityId}/gps endpoint.


Query Parameters
Name Type Required? Description
access_token String Y User's access token
offset Integer N Pagination – first record to retrieve (starts at 1)
count Integer N Pagination – number of records to retrieve (default 5)
startDate String N The Activity list's start date in ISO8601 standard format, 'yyyy-mm-dd'
endDate String N The activity list's end date in ISO8601 standard format, 'yyyy-mm-dd'

Response Fields

Distances and weights are returned in metric units. Dates and times are returned in UTC following ISO8601 standard formats.

Name Type Description
data Array The list of the User's Activities
activityId String The sport activity unique identifier
calories Number Number of calories burned during the Activity
fuel Number Amount of fuel gained during the Activity
distance Number Distance traveled during the Activity
steps Number Number of steps taken during the Activity
duration Number The amount of time the Activity lasted in standard ISO8601 format
type String Type of tag
startTime String The Activity's start time in UTC, standard ISO8601 format
activityTimeZone String Timezone the Activity was captured in
status String The status of the activity. IE: IN_PROGRESS, COMPLETED
deviceType String Device the activity was done with
tags Array Extra detail User entered about the Activity
value String The value or detail of the tag
paging Object Paging details of the list
next String The URI and query parameters for the next page of results in the list
previous String The URI and query parameters for the previous page of results in the list

Sample Request

Sample Response
{ "data": [ { "activityId": "91b501dc-4a38-44aa-b537-6095418713d8", "calories": 2475, "fuel": 7500, "distance": 19.665315, "steps": 24975, "duration": "0:01:00.0000", "activityType": "ALL_DAY", "startTime": "2012-02-26T08:00:00Z", "activityTimeZone": "America/Los_Angeles", "status": "COMPLETE", "deviceType": "FUELBAND", "tags": [], "streams": [] }, { "activityId": "8554c3bb-f985-4700-a52d-6235475a10f0", "calories": 1848, "fuel": 5555, "distance": 14.6834352, "steps": 18648, "duration": "0:01:00.0000", "activityType": "ALL_DAY", "startTime": "2012-02-25T08:00:00Z", "activityTimeZone": "America/Los_Angeles", "status": "COMPLETE", "deviceType": "FUELBAND", "tags": [], "streams": [] }, { "activityId": "b7511567-9414-429a-9b7b-40ebc15af985", "calories": 396, "fuel": 1200, "distance": 3.1464504, "steps": 3996, "duration": "0:01:00.0000", "activityType": "ALL_DAY", "startTime": "2012-02-24T08:00:00Z", "activityTimeZone": "America/Los_Angeles", "status": "COMPLETE", "deviceType": "FUELBAND", "tags": [], "streams": [] }, { "activityId": "b87bb409-a618-47ee-a75e-1bb5f8daf9a6", "calories": 300, "fuel": 900, "distance": 2.3621999999999996, "steps": 3000, "duration": "0:01:00.0000", "activityType": "ALL_DAY", "startTime": "2012-02-23T08:00:00Z", "activityTimeZone": "America/Los_Angeles", "status": "COMPLETE", "deviceType": "FUELBAND", "tags": [], "streams": [] }, { "activityId": "6c6eb89c-fa42-49a6-8b04-2596297a7c3a", "calories": 200, "fuel": 600, "distance": 1.5748, "steps": 2000, "duration": "0:01:00.0000", "activityType": "ALL_DAY", "startTime": "2012-02-22T08:00:00Z", "activityTimeZone": "America/Los_Angeles", "status": "COMPLETE", "deviceType": "FUELBAND", "tags": [], "streams": [] } ], "paging": { "next": "/me/sport/activities?access_token=68d1b7f5ec3e6a1ad3b349cd73983b34&offset=6" } }

Error Codes
Error Code Message
0x00000013 User authentication is invalid
0x00000014 Start Date has invalid format
0x00000015 End Date has invalid format

Try it out
Get My Access Token
« Back