Skip to main content
Question

[Help] How to get step count information during walking or running activities?

  • May 16, 2025
  • 6 replies
  • 116 views

sheva
Forum|alt.badge.img+1

I couldn't find any relevant field in the API request for "/activities/{id}", but cycling activities have cadence information. How can I display the step count? (My Strava app shows this information)

6 replies

Vincenzo
Superuser
Forum|alt.badge.img+27
  • Superuser
  • May 17, 2025

Ciao ​@sheva. Do you want to export or highlight the steps done during the activities that Strava shows?


Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • May 17, 2025

Walking and running have the average_cadence information too, you can use that (one rpm are two steps) and the moving time to calculate the step count.


Jana_S
Superuser
Forum|alt.badge.img+29
  • Superuser
  • May 17, 2025

@Jan_Mantau just to clarify, for foot sports, the cadence is actually spm - step (vs. full circle/rotation on a bike). I mean… with a running cadence of 180, which is fairly fast, it's 3 steps per second - tbh I can't imagine that 6 steps per second would be doable, even Usain Bolt kept it under 5 steps per second 😀


Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • May 17, 2025

@Jana_S For foot sports Strava uses two steps for one unit of cadence in the API and that unit is meant per minute. In that way it’s similar to cycling. Strictly speaking it’s neither rpm nor spm in the API because it’s not a “round” and because you have to double the number to get the spm. What you see as running cadence of 180 in the Strava app would translate to a cadence of 90 in the Strava API calls.


Jana_S
Superuser
Forum|alt.badge.img+29
  • Superuser
  • May 17, 2025

Oh okay - thanks for the explanation, that makes sense! 👍 I haven't expected that the values used by the API would be different from the UI, good to know. (Now if only Strava didn't ignore cadence data from AW… 🫠 but that's another story)


sheva
Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • May 22, 2025

Ciao ​@sheva. Do you want to export or highlight the steps done during the activities that Strava shows?

yes! How can I obtain this information?