06-11-2017 19:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-11-2017 19:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I wanted to show 7day steps count in total. Then, I want to show the steps counts by hour (similar to Fitbit iOS App) in a given date. How do I do that?
I tried the end point below
Answered! Go to the Best Answer.

- Labels:
-
JavaScript
Accepted Solutions
09-28-2023 11:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-28-2023 11:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi, where is the documentation for the steps API please? I cant seem to locate it.
06-12-2017 17:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-12-2017 17:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@RajaTamil Here's examples of what you're looking for (taken from Fitbit Explorer😞
Last 7 days:
https://api.fitbit.com/1/user/-/activities/tracker/steps/date/2017-06-06/today.json
{ "activities-tracker-steps": [ { "dateTime": "2017-06-06", "value": "11911" }, { "dateTime": "2017-06-07", "value": "9146" }, { "dateTime": "2017-06-08", "value": "10026" }, { "dateTime": "2017-06-09", "value": "14233" }, { "dateTime": "2017-06-10", "value": "2804" }, { "dateTime": "2017-06-11", "value": "1759" }, { "dateTime": "2017-06-12", "value": "971" } ] }
Step count for a single day in 15 min intervals:
https://api.fitbit.com/1/user/-/activities/steps/date/today/1d/15min.json
{ "activities-steps": [ { "dateTime": "2017-06-12", "value": "7731" } ], "activities-steps-intraday": { "dataset": [ { "time": "00:00:00", "value": 0 }, { "time": "00:15:00", "value": 0 }, { "time": "00:30:00", "value": 0 }, { "time": "00:45:00", "value": 0 }, { "time": "01:00:00", "value": 0 }, {. . .}, { "time": "17:15:00", "value": 0 }, { "time": "17:30:00", "value": 0 } ], "datasetInterval": 15, "datasetType": "minute" } }

06-12-2017 19:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-12-2017 19:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
https://api.fitbit.com/1/user/-/activities/steps/date/today/1d/15min.json
The above endpoint does not return all the data like you mentioned. "activities-steps-intraday" missing :(.
This is what I got back from that endpoint.
{ "activities-steps": [ { "dateTime": "2017-06-12", "value": "7731" } ] }
Thanks in advance.

06-20-2017 08:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-20-2017 08:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@RajaTamil Your app needs to have access to Intraday Time Series data, which can be achieved from using a "personal" app type, or by submitting a request for access.

01-06-2020 04:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-06-2020 04:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi bro I'm need help from you to setup web Apis. I'm trying since last month to setup web api wiht php but still have not make a single request successfully . I'm search a lot to resolve it but have not find any solution?
Please i need your help
contact me sadbox50@gmail.com if possible

01-06-2020 04:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-06-2020 04:22
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
hi bro I'm need your help to setup web Apis

01-06-2020 17:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



01-06-2020 17:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @DDNPLO ,
I recommend checking out our Community Resources for using PHP as your client library.
If you need additional assistance regarding the Web API, let me know and I'll be happy to help.

09-28-2023 11:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-28-2023 11:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi, where is the documentation for the steps API please? I cant seem to locate it.
