Fitbit · Capability

Fitbit Heart Rate API — Heart Rate

Fitbit Heart Rate API. Read heart rate time series for the authorized user.

Fitbit Heart Rate API — Heart Rate is a Naftiko capability published by Fitbit, one of 8 capabilities the APIs.io network indexes for this provider. It bundles 1 operation.

The capability includes 1 read-only operation. Lead operation: Fetch heart rate time series for the authenticated user. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Fitbit, Heart Rate, and Wearable.

Run with Naftiko FitbitHeart RateWearable

MCP Tools

fitbit-get-heart-rate-time-series

Fetch heart rate time series for the authenticated user.

read-only idempotent

Capability Spec

heart-rate-heart-rate.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fitbit Heart Rate API — Heart Rate
  description: Fitbit Heart Rate API. Read heart rate time series for the authorized user.
  tags:
  - Fitbit
  - Heart Rate
  - Wearable
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    FITBIT_ACCESS_TOKEN: FITBIT_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: heart-rate-heart-rate
    baseUri: https://api.fitbit.com
    description: Fitbit Heart Rate API.
    resources:
    - name: heart-rate-time-series
      path: /1/user/-/activities/heart/date/{date}/{period}.json
      operations:
      - name: getHeartRateTimeSeries
        method: GET
        description: Get heart rate time series with resting heart rate and zone minutes.
        outputRawFormat: json
        inputParameters:
        - name: date
          in: path
          type: string
          required: true
        - name: period
          in: path
          type: string
          required: true
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      value: '{{env.FITBIT_ACCESS_TOKEN}}'
      placement: header
  exposes:
  - type: mcp
    namespace: heart-rate-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fitbit Heart Rate API.
    tools:
    - name: fitbit-get-heart-rate-time-series
      description: Fetch heart rate time series for the authenticated user.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: heart-rate-heart-rate.getHeartRateTimeSeries
      with:
        date: tools.date
        period: tools.period
      outputParameters:
      - type: object
        mapping: $.