Access Activities Streams via API

Hi everyone,

I’m using the Intervals.icu API to successfully retrieve activities via GET /api/v1/activities. In the response, I can see a stream_types array (e.g. "heartrate", "watts", "cadence"), which suggests that Intervals.icu does have access to time-series data for those streams.

However, I haven’t been able to find a way to retrieve the actual stream values (e.g. heart rate over time, power over time, etc.) via the API. I tried calling endpoints like GET /api/v1/activities/{id}/streams, but only received a 404 error.

My questions:

  1. Is there any official or unofficial way to access the full time-series stream data of an activity via the API?
  2. If not, are these streams used only internally for charts and not available externally?
  3. If yes: what endpoint(s) should I use to retrieve, for example, heart rate or power values at second-by-second resolution?

Thanks a lot in advance!

Best regards,
Timo

Use for alle streams:

/api/v1/activity/{id}/streams.json

Or e.g. for watts (power) only:

/api/v1/activity/{id}/streams.json?types=watts

(You can use anything instead of “.json”, but at least one character. Only if you use “.csv” it will download a csv file instead of json response)

1 Like

Great it works. thanks. Just a typo in the endpoint.