Skip to main content

Garmin Activities - Heart Rate Data

This document describes how to retrieve heart rate data from Garmin activities.

Overview

After authenticating via the Garmin OAuth flow, you can access detailed information about a user’s heart rate during various activities.

Steps to Retrieve Heart Rate Data

  1. Authenticate
    Use Garmin OAuth to obtain an access token.

  2. Query the Heart Rate Endpoint
    Make a GET request to the designated Garmin endpoint for heart rate data.

  3. Process the Data
    Parse the returned JSON data and integrate it into your application.

Example API Request

curl --request GET \
--url https://api.garmin.com/wellness-api/rest/heartRate \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

Further Resources