Hevy Measurements API

The Measurements API from Hevy — 2 operation(s) for measurements.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Consumer Health, Fitness & Nutrition AE-130

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/body_measurements List body measurements · Get a paginated list of body measurements for the authenticated user #
Ask an LLM
“How do I see my body measurements across several dates?”
“Can I page through body measurements with a page size limit?”
Tell an agent
List my body measurements.
Show body measurements, {pageSize} per page.
POST /v1/body_measurements Record a body measurement for a date · Create a body measurement entry for a given date. #
Ask an LLM
“How do I log my weight and body fat for today?”
“Can I record neck, waist and hip measurements in one entry?”
Tell an agent
Record a body measurement for {date}.
Log {weight_kg} kg weight, {fat_percent} percent body fat and {waist} waist for {date}.
GET /v1/body_measurements/{date} Get a body measurement for a date · Get a single body measurement by date #
Ask an LLM
“What was my weight on a specific date?”
“Did I have a body measurement recorded for a past date?”
Tell an agent
Get my body measurement for {date}.
Show the body measurement recorded on {date}.
PUT /v1/body_measurements/{date} Update a body measurement for a date · Update an existing body measurement entry for a given date. #
Ask an LLM
“How do I correct a body measurement I recorded for the wrong date?”
“Can I change my waist measurement for a past date?”
Tell an agent
Update the body measurement for {date}.
Change the waist measurement on {date} to {waist}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hevy:hevy-measurements-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hevy-measurements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hevy API Docs Measurements API
  description: 'Welcome to Hevy''s public API! We''re just starting to roll this out and depending on your

    feedback, we''ll be adding more features and endpoints. Also, we make no guarantees that

    we won''t completely change the structure or abandon the project entirely so use it at

    your own risk. Currently, this API is only available to Hevy Pro users. You can get your

    key on our web app at https://hevy.com/settings?developer. If you have any questions,

    please reach out to pavel@hevyapp.com 🤝.'
  version: 0.0.1
tags:
- name: Measurements
paths:
  /v1/body_measurements:
    get:
      summary: Get a paginated list of body measurements for the authenticated user
      tags:
      - Measurements
      parameters:
      - in: header
        name: api-key
        schema:
          type: string
          format: uuid
        required: true
      - in: query
        name: page
        schema:
          type: integer
          default: 1
        description: Page number (Must be 1 or greater)
      - in: query
        name: pageSize
        schema:
          type: integer
          default: 10
        description: Number of items per page (Max 10)
      responses:
        '200':
          description: A paginated list of body measurements
          content:
            application/json:
              schema:
                type: object
                properties:
                  page:
                    type: integer
                    example: 1
                  page_count:
                    type: integer
                    example: 5
                  body_measurements:
                    type: array
                    items:
                      $ref: '#/components/schemas/BodyMeasurement'
        '400':
          description: Invalid page or pageSize
        '404':
          description: Page not found
      operationId: getV1BodyMeasurements
      x-operation-id-source: derived
    post:
      summary: Create a body measurement entry for a given date.
      tags:
      - Measurements
      parameters:
      - in: header
        name: api-key
        schema:
          type: string
          format: uuid
        required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BodyMeasurement'
      responses:
        '200':
          description: The measurement was successfully created
        '400':
          description: Invalid request body
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '409':
          description: A measurement for this date already exists
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: postV1BodyMeasurements
      x-operation-id-source: derived
  /v1/body_measurements/{date}:
    get:
      summary: Get a single body measurement by date
      tags:
      - Measurements
      parameters:
      - in: header
        name: api-key
        schema:
          type: string
          format: uuid
        required: true
      - in: path
        name: date
        required: true
        schema:
          type: string
          format: date
          example: '2024-01-15'
        description: The date of the body measurement (YYYY-MM-DD)
      responses:
        '200':
          description: The body measurement for the given date
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BodyMeasurement'
        '404':
          description: Body measurement not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: getV1BodyMeasurementsByDate
      x-operation-id-source: derived
    put:
      summary: Update an existing body measurement entry for a given date.
      tags:
      - Measurements
      parameters:
      - in: header
        name: api-key
        schema:
          type: string
          format: uuid
        required: true
      - in: path
        name: date
        required: true
        schema:
          type: string
          format: date
          example: '2024-01-15'
        description: The date of the measurement to update (YYYY-MM-DD)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutBodyMeasurement'
      responses:
        '200':
          description: The measurement was successfully updated
        '400':
          description: Invalid request body
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '404':
          description: No measurement found for the given date
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: putV1BodyMeasurementsByDate
      x-operation-id-source: derived
components:
  schemas:
    PutBodyMeasurement:
      type: object
      properties:
        weight_kg:
          type:
          - number
          - 'null'
          example: 80.5
        lean_mass_kg:
          type:
          - number
          - 'null'
          example: 65
        fat_percent:
          type:
          - number
          - 'null'
          example: 18.5
        neck_cm:
          type:
          - number
          - 'null'
          example: 38
        shoulder_cm:
          type:
          - number
          - 'null'
          example: 115
        chest_cm:
          type:
          - number
          - 'null'
          example: 95
        left_bicep_cm:
          type:
          - number
          - 'null'
          example: 35
        right_bicep_cm:
          type:
          - number
          - 'null'
          example: 35.5
        left_forearm_cm:
          type:
          - number
          - 'null'
          example: 28
        right_forearm_cm:
          type:
          - number
          - 'null'
          example: 28.5
        abdomen:
          type:
          - number
          - 'null'
          example: 85
        waist:
          type:
          - number
          - 'null'
          example: 80
        hips:
          type:
          - number
          - 'null'
          example: 95
        left_thigh:
          type:
          - number
          - 'null'
          example: 55
        right_thigh:
          type:
          - number
          - 'null'
          example: 55.5
        left_calf:
          type:
          - number
          - 'null'
          example: 37
        right_calf:
          type:
          - number
          - 'null'
          example: 37.5
    BodyMeasurement:
      type: object
      required:
      - date
      properties:
        date:
          type: string
          format: date
          example: '2024-08-14'
        weight_kg:
          type:
          - number
          - 'null'
          example: 80.5
        lean_mass_kg:
          type:
          - number
          - 'null'
          example: 65
        fat_percent:
          type:
          - number
          - 'null'
          example: 18.5
        neck_cm:
          type:
          - number
          - 'null'
          example: 38
        shoulder_cm:
          type:
          - number
          - 'null'
          example: 115
        chest_cm:
          type:
          - number
          - 'null'
          example: 95
        left_bicep_cm:
          type:
          - number
          - 'null'
          example: 35
        right_bicep_cm:
          type:
          - number
          - 'null'
          example: 35.5
        left_forearm_cm:
          type:
          - number
          - 'null'
          example: 28
        right_forearm_cm:
          type:
          - number
          - 'null'
          example: 28.5
        abdomen:
          type:
          - number
          - 'null'
          example: 85
        waist:
          type:
          - number
          - 'null'
          example: 80
        hips:
          type:
          - number
          - 'null'
          example: 95
        left_thigh:
          type:
          - number
          - 'null'
          example: 55
        right_thigh:
          type:
          - number
          - 'null'
          example: 55.5
        left_calf:
          type:
          - number
          - 'null'
          example: 37
        right_calf:
          type:
          - number
          - 'null'
          example: 37.5