There is no export function for the sleep data, but you can export it by using the URL shown below, in JSON format. Replace the XXXXXXXXXXXXX with your User ID as found at the end of the address line of your…
Is there any chance for something similar for heart rate data?
There is everything, it is enough to look it up with DevTools in any browser. If you do not know how, there is the link in this…
I'm using google chrome, i've found the cog icon, but there are no options under it to even download one day's worth of data. It would really be great to be able to get this data and work with it.
There is no export function for the sleep data, but you can export it by using the URL shown below, in JSON format. Replace the XXXXXXXXXXXXX with your User ID as found at the end of the address line of your public profile (after clicking your avatar in Garmin Connect Web). And replace the date, with the date of your interest. The last parameter has some impact on the granularity of the data.
connect.garmin.com/modern/proxy/wellness-service/wellness/dailySleepData/XXXXXXXXXXXX?date=2020-07-16&nonSleepBufferMinutes=60
If you have no JSON enabled editor, you can make the data better readable by copying and pasting it for example into the JSON viewer at https://codebeautify.org/jsonviewer, or you can convert it to CSV or Excel files for example at http://convertcsv.com/json-to-csv.htm
When I using the URL you mentioned I get the following error:
{"message":"Requester not authorized to view data for another user.","error":"ForbiddenException"}
If I try to get another data (for example
dailyHeartRate - connect.garmin.com/.../XXXXX it's work.
Any idea what is the problem?
This worked for me and was able to view and download to excel, very nice. Is there something similar for Activities? I know one can manually export each activity individually in Connect but is there a URL I can go to like the sleep one you provided that has activity data?
I got the same error message but I copied my user ID and pasted in again and it worked. If you recently reset your device that may have caused the problem. I tried the DailyHeartRate and it also worked for me. Any way to get Activity data this way?
Do you know any links for detailed activity data?