03-20-2024 04:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-20-2024 04:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Using this call
curl -X GET "https://api.fitbit.com/1/user/-/ecg/list.json?afterDate=<valid_date>&sort=desc&limit=10&offset=0" -H "accept: application/json" -H "authorization: Bearer <valid_token>
on a valid and attached to a device user I receive this response:
{"ecgReadings":[],"pagination":{"afterDate":"<valid_date>","limit":10,"next":"","offset":0,"previous":"","sort":"DESC"}}
No data inside ecgReadings.
Someone knows why and how to solve?

03-25-2024 18:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



03-25-2024 18:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @baldodavi,
Welcome to the forums!
Can you confirm if the user you're pulling ECG data from had physically initiated an ECG reading on the days you specified? Unlike steps and heart rate data, ECG is not recorded on an all day basis. This means that you won't be able to pull the data at any given time unless a reading was actively taken that day. The Fitbit user needs to open the ECG app on their supported Fitbit device and initiate an ECG session. See "What is the Fitbit ECG app?"
When an an ECG reading is taken by the user, only then will the data be available to pull.

