Fitbit Charge 2
The following examples are generated by the Fitbit Charge2.
{
"data": [
{
"category": "daily",
"checksum": "109221fed9dc128f6e56955e6a0d9987",
"created_at": "2017-10-16T13:45:20.606Z",
"deleted_at": null,
"end_time": "2017-10-17T03:59:59Z",
"id": "05ba0a3e51b0ef0b2c573d1741d153cc",
"log_id": "2017-10-16",
"metrics": [
{
"type": "active_energy_burned",
"origin": "device",
"unit": "kcal",
"value": 60
},
{
"type": "basal_energy_burned",
"origin": "device",
"unit": "kcal",
"value": 576
},
{
"type": "distance",
"origin": "device",
"unit": "m",
"value": 370
},
{
"type": "energy_burned",
"origin": "device",
"unit": "kcal",
"value": 617
},
{
"type": "steps",
"origin": "device",
"unit": "count",
"value": 550
}
],
"offset_origin": "profile",
"segments": [],
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-10-16T04:00:00Z",
"type": "summary",
"user": {
"organization_id": "59b969SAMPLE8800001c29206",
"user_id": "59ba7cf0164f2500019790b7",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
}
]
}
{
"data": [
{
"checksum": "a2d2c994386bfb28b6707f9ccdedda99",
"created_at": "2017-10-09T12:24:21.524Z",
"deleted_at": null,
"end_time": "2017-10-06T09:36:30Z",
"id": "432d9f09b0c501031b3f528e633f20cb",
"log_id": "16007902051",
"metrics": [
{
"type": "awake_count",
"origin": "unknown",
"unit": "count",
"value": 4
},
{
"type": "awake_duration",
"origin": "unknown",
"unit": "s",
"value": 1020
},
{
"type": "sleep_score",
"origin": "unknown",
"unit": "percent",
"value": 95
},
{
"type": "time_to_fall_asleep",
"origin": "unknown",
"unit": "s",
"value": 0
},
{
"type": "restless_count",
"origin": "unknown",
"unit": "count",
"value": 8
},
{
"type": "in_bed_duration",
"origin": "unknown",
"unit": "s",
"value": 21180
},
{
"type": "sleep_duration",
"origin": "unknown",
"unit": "s",
"value": 20160
}
],
"offset_origin": "profile",
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-10-06T03:43:30Z",
"type": "sleep",
"user": {
"organization_id": "59ba7cdaf758800001c29216",
"user_id": "59ba7cf0164f2500019790b7",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
}
]
}
{
"data": [
{
"category": "walking",
"checksum": "bedb56a2d3ee836f81fb40f440f5be45",
"created_at": "2017-10-16T13:38:37.851Z",
"deleted_at": null,
"end_time": "2017-10-15T12:22:04Z",
"id": "08524d84125ebafa94fe6ca15c460b3b",
"log_id": "10441738540",
"metrics": [
{
"type": "active_duration",
"origin": "device",
"unit": "s",
"value": 1178
},
{
"type": "steps",
"origin": "device",
"unit": "count",
"value": 1395
},
{
"type": "energy_burned",
"origin": "device",
"unit": "kcal",
"value": 99
}
],
"name": "Walk",
"offset_origin": "profile",
"segments": [],
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-10-15T12:02:26Z",
"type": "workout",
"user": {
"organization_id": "59b969SAMPLE8800001c29206",
"user_id": "59ba7cf0164f2500019790b7",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
},
{
"category": "walking",
"checksum": "b45e7a6f7ad778d777d05193b089acde",
"created_at": "2017-10-16T13:38:37.892Z",
"deleted_at": null,
"end_time": "2017-10-16T00:13:45Z",
"id": "65151b7673fd45a979d039a81b816dc2",
"log_id": "10441738549",
"metrics": [
{
"type": "active_duration",
"origin": "device",
"unit": "s",
"value": 2202
},
{
"type": "steps",
"origin": "device",
"unit": "count",
"value": 2343
},
{
"type": "energy_burned",
"origin": "device",
"unit": "kcal",
"value": 167
}
],
"name": "Walk",
"offset_origin": "profile",
"segments": [],
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-10-15T23:37:03Z",
"type": "workout",
"user": {
"organization_id": "59b969SAMPLE8800001c29206",
"user_id": "59ba7cf0164f2500019790b7",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
}
]
}
Data Origin
Data returned in Measurements and Nutrition often originate from the mobile application. The exception is when the device supports measurement of heart rate. The following samples depict manual entries using the mobile application.
{
"data": [
{
"category": "other",
"checksum": "98e1aae062b75917a5ff682bdca6fcbf",
"created_at": "2017-09-20T18:54:06.769Z",
"deleted_at": null,
"end_time": "2017-09-21T03:59:59Z",
"id": "17c3dbe5fa5b75d8791e6d71722960c2",
"log_id": "2017-09-20",
"metrics": [
{
"type": "energy_consumed",
"origin": "unknown",
"unit": "kcal",
"value": 180
},
{
"type": "dietary_fiber",
"origin": "unknown",
"unit": "g",
"value": 0.25
},
{
"type": "water",
"origin": "unknown",
"unit": "mL",
"value": 0
},
{
"type": "carbohydrate",
"origin": "unknown",
"unit": "g",
"value": 13
},
{
"type": "fat",
"origin": "unknown",
"unit": "g",
"value": 4.5
},
{
"type": "protein",
"origin": "unknown",
"unit": "g",
"value": 1
},
{
"type": "sodium",
"origin": "unknown",
"unit": "mg",
"value": 67.5
}
],
"name": "Unknown",
"offset_origin": "profile",
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-09-20T04:00:00Z",
"type": "nutrition",
"user": {
"organization_id": "59b969SAMPLE8800001c29206",
"user_id": "59b973f8f758800001c29211",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
}
]
}
{
"data": [
{
"checksum": "94b5ddf1379010ca69da2abdb3e28037",
"created_at": "2017-09-13T18:09:21.670Z",
"deleted_at": null,
"end_time": "2017-09-08T03:59:59Z",
"id": "75a05c2339f52702405dfc1270dae284",
"log_id": "1504828799000",
"metrics": [
{
"type": "body_weight",
"origin": "unknown",
"unit": "kg",
"value": 81.3
},
{
"type": "bmi",
"origin": "unknown",
"unit": "kg/m2",
"value": 27.25
}
],
"offset_origin": "profile",
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-09-08T03:59:59Z",
"type": "measurement",
"user": {
"organization_id": "59b969SAMPLE8800001c29206",
"user_id": "59b973f8f758800001c29211",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
},
{
"checksum": "66b2b46d82faa89679a65ff6b367fc5b",
"created_at": "2017-09-13T18:09:21.128Z",
"deleted_at": null,
"end_time": "2017-09-11T03:59:59Z",
"id": "1255eff1ca212347e27785e2deac26bd",
"log_id": "1505087999000",
"metrics": [
{
"type": "body_weight",
"origin": "unknown",
"unit": "kg",
"value": 80.8
},
{
"type": "bmi",
"origin": "unknown",
"unit": "kg/m2",
"value": 27.07
}
],
"offset_origin": "profile",
"source": {
"type": "fitbit",
"device": null
},
"start_time": "2017-09-11T03:59:59Z",
"type": "measurement",
"user": {
"organization_id": "59b969SAMPLE8800001c29206",
"user_id": "59b973f8f758800001c29211",
"uid": "user1"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
}
]
}
Updated 4 months ago