Activities are specific types of physical activities that occur during a given period of time.

Returns a list of activity segments
GET https://api.humanapi.co/v1/human/activities

Returns a single activity segment
GET https://api.humanapi.co/v1/human/activities/{id}

Response Properties

Property

Type

Description

id

String

The id of the resource.

userId

String

[deprecated - use humanId]

humanId

String

Unique user identifier

startTime

Date

The start time of the activity in UTC time

endTime

Date

The end time of the activity in UTC time

tzOffset

String

The offset from UTC time in +/-hh:mm (e.g. -04:00)

type

String

The type of activity, such as walking, running, cycling

source

String

The id of the originating service

duration

Number

The duration (in seconds)

distance

Number

The distance (in meters)

steps

Number

The number of steps taken during the activity

calories

Number

The number of estimated calories burned during the activity

sourceData

Object

Additional data from the source that does not fit into the Human API model

updatedAt

Date

The time the measurement was updated on the Human API server

createdAt

Date

The time the measurement was created on the Human API server

Language
Response
Click Try It! to start a request and see the response here!