Terra

Integration

API
Unified API
SDK
SDK
Authentication
Authentication
Streaming
Streaming
Blood
Blood Report API
Planned Workout
Planned Workout
AI Interface
AI Interface

User engagement

Graph API
Graph API
Scores
Health Scores
Rewards
Health Rewards

Use cases

Enterprise
Enterprise
Insurance
Insurance

Developers

Wearable Data
Wearable Data
Community
Community
Documentation
Documentation

Learn

Blog
Blog
Podcast
Podcast
Events
Events
Reports
Reports

Company

Customers
Customers
Careers
Careers
Partners
Partners
Support
Support
Become an integration
Become an integration


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.

zap

Latest

zap

Popular

API

Unified API

SDK

Phone SDK

Authentication

Widget

Streaming

Streaming

Graph API

Graph API

MyFitnessPal Historical Data Query Limitations

All

SilkyCrab5 months 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

Vanessaadmin5 months 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