MyFitnessPal Historical Data Query Limitations

SilkyCrab5 days ago

The MyFitnessPal documentation says you can query historic data using start and end dates, I imagine there are limitations though, it doesn't say how many rows you can return, or if there is a limit to how far back in time you can query.

Thank you!

terra

Vanessaadmin4 days ago

Hi there!

When making historical data requests through Terra's API, you use start_date (required) and end_date (optional) parameters. For requests spanning longer time ranges (over 28 days), Terra handles them as "large requests".

For large requests, Terra will:

  • Send you a "Large request processing" event immediately
  • Organize the data into chunks
  • Send a "Large request sending" payload indicating the number of payloads to expect

Some providers do have specific time range limits, I've listed them here:

  • Garmin: 5 years into the past
  • Polar: 30 days into the past, but not prior to user authentication
  • Coros: 3 months into the past, or 24 hours prior to authentication (whichever limit is hit first)
  • Health Connect: 30 days into the past, but not prior to user authentication

Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.