Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. Nothing beyond essential cookies runs until you choose. You can change your mind any time in our Cookie Policy.

  • Unified API
  • Mobile SDK
  • Connection Widget
  • Streaming
  • Lab Reports API
  • Graph API
  • Health Scores
  • Health Rewards
  • Workouts & Routes
  • Predictions
  • Lab Testing
  • DNA Testing
  • AI Interface
  • Enterprise
  • Insurance
  • Integrations
  • Research
  • Podcast
  • Blog
  • Reports
  • Events
  • Documentation
  • Community
  • Example apps
  • Wearable Data
  • About
  • Customers
  • Partners
  • Startup Accelerator
  • Careers
  • Support
  • Pricing
Terra
Pricing
Become an integrationGet started


zap

Latest

zap

Popular

API

Unified API

SDK

Phone SDK

Authentication

Widget

Streaming

Streaming

Graph API

Graph API

How far back can I request for health data through Terra API

All

MonthlyChimpanzee31 months ago

Is there a limit to how far back in time I can request for health data. Can I request data before a user is connected to the Terra API and is there a limit to how many times I can request for the same data.

terra

Alexadmin31 months ago

Hey

Terra API itself does not restrict how far back you can perform a request, however some providers do impose restrictions:

  • Polar: you cannot make a request before the user connects to Terra
  • Garmin: activity payloads can only be queried for the last 5 years, other payloads for the last 2 years
  • Samsung: payloads can only be queried for the last 30 days

Some providers prevent the same data being retrieved multiple times from their servers. Fortunately, as long as the data is available, Terra intelligently caches payloads that would be otherwise lost, so that you can repeatedly request the same data without worrying about these restrictions.