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

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

All

MonthlyChimpanzee25 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

Alexadmin25 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.