Nextmind

Garmin Just Opened Up Your Data

Every Garmin user can now make their own API key. Here's how to connect it and build your own training dashboard with one prompt.

Kevin Rudd1 min read
Garmin Just Opened Up Your Data

Garmin just gave every user their own personal API key.

This is the official way into your Garmin data. No sharing your password with an unofficial workaround, no third-party app in the middle. You make a key in Garmin Connect, and it reads your whole history straight from Garmin: activities, sleep, HRV, resting heart rate, stress, Body Battery, steps and weight.

Want to go further? Join the Athlete AI Mastery waitlist. Master AI in the fitness world: build the AI agents, workflows and nutrition tools that run on your own training data, step by step. No coding experience required.

How far back it goes

I grabbed mine this morning. It went all the way back to 2021:

  • 1,589 activities

  • 1,894 days of steps, resting heart rate, stress and Body Battery

  • 1,638 nights of sleep

  • Every night of HRV since my watch started recording it

How it works

  1. Go to the Garmin Connect Developer Program and click Personal, then Set Up Now.

  2. Click Create Key and accept the terms.

  3. Choose 1 year as the expiration and click Create.

  4. Copy the key. Garmin only shows it once.

  5. Paste it into a .env.local file on your computer.

  6. Claude Code tests the connection, asks what you're training for and the look you like, pulls your data and builds your own training dashboard.

I wrote one prompt that walks you through every step. I hit a couple of weird limits pulling my own data, so the fixes are baked right into it.

Get the full guide and prompt

FYI: the key is read-only, so it can't push workouts to your watch. Treat it like a password.

What do you want to find in your history? Hit reply and let me know.

Kevin

Join the Athlete AI Community

Build with us

Train with your own data. Build your own AI coach.

Athlete AI helps athletes and coaches take control of their training with AI. No code required. Join the free community for the 7-Day Challenge and the full classroom, or get the news in your inbox every week.

READY TO MASTER AI IN YOUR TRAINING? JOIN THE ATHLETE AI MASTERY WAITLIST →
← ALL POSTS