> ## Documentation Index
> Fetch the complete documentation index at: https://openwearables.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Historical Data Availability

> How far back you can backfill data per provider: Garmin, Oura, Whoop, Ultrahuman, Strava, Fitbit, Polar, Suunto, Google Health Connect, Google Health API, and more.

This page documents how far back historical data can be backfilled from each provider - the maximum range a historical sync can request.

Use it to compare providers when planning an integration. For the full list of data types per provider, see the [Coverage Matrix](/docs/providers/coverage).

<Info>
  In v0.7 and below, Open Wearables runs a historical sync automatically when a user connects a provider through OAuth (`HISTORICAL_SYNC_ON_CONNECT=true`). If you haven't changed that setting, the range you actually get on connect is **90 days** for pull-based providers, and **30 days** for Garmin, whose webhook-based backfill is capped at 30 days from the user's consent date - no matter how far back the provider itself would let you go. This default is planned to change in a future release.

  To control the range yourself, set `HISTORICAL_SYNC_ON_CONNECT=false` and call `POST /api/v1/providers/{provider}/users/{user_id}/sync/historical` explicitly, where `days` defaults to 90 and is capped at 365. See [Historical Backfill](/docs/dev-guides/integration-guide#step-3-historical-backfill-automatic) in the Integration Guide for the full flow.
</Info>

## Maximum Historical Range

**Max range** is the furthest point in the past from which a provider allows historical data to be backfilled.

| Provider              | Max range | Remarks                                                                                                                                                                                     |
| --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Garmin                | 30 days   | Limited to 30 days before the user's connection (consent) date. Requires the `HISTORICAL_DATA_EXPORT` permission. One backfill request per user per timeframe - reconnect to request again. |
| Oura                  | No limit  |                                                                                                                                                                                             |
| Whoop                 | No limit  |                                                                                                                                                                                             |
| Ultrahuman            | No limit  |                                                                                                                                                                                             |
| Strava                | No limit  |                                                                                                                                                                                             |
| Fitbit                | No limit  |                                                                                                                                                                                             |
| Polar                 | 365 days  | Data is only available from the user's consent date onward.                                                                                                                                 |
| Suunto                | No limit  |                                                                                                                                                                                             |
| Google Health API     | No limit  |                                                                                                                                                                                             |
| Google Health Connect | 30 days   | Health Connect only exposes the last 30 days to apps that lack the `READ_HEALTH_DATA_HISTORY` permission, which the Open Wearables SDK does not currently request.                          |
| Apple Health          | No limit  |                                                                                                                                                                                             |
| Samsung Health        | No limit  |                                                                                                                                                                                             |
