Skip to content

6MWT Calculator API

Calculate expected 6-minute walk test (6MWT) distance and performance assessment based on profile attributes and actual walked distance.

Endpoint

  • GET /api/v1/6mwt-calculator
  • POST /api/v1/6mwt-calculator/post

Parameters

Name Type Required In Description
sex string (male,female) Yes Query/Body Biological sex.
age number Yes Query/Body Age in years.
height number Yes Query/Body Height (cm metric, in imperial).
weight number Yes Query/Body Weight (kg metric, lb imperial).
unit string (metric,imperial) Yes Query/Body Input unit mode.
walked_distance number Yes Query/Body Distance walked in meters during the 6-minute test.
lang string No Query Response language (en,es,de,fr,pt,ja,hi,ar).

Why Use This Endpoint

  • Assess functional exercise capacity in clinical and fitness settings.
  • Track rehabilitation progress and cardiovascular fitness improvements.
  • Enable data-driven decisions for training and recovery protocols.

Get Started

Request Example

curl -X GET "https://api.hefitapi.com/api/v1/6mwt-calculator?sex=male&age=31&height=178&weight=82&unit=metric&walked_distance=550&lang=en" \
  -H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/6mwt-calculator/post?lang=en" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"sex":"male","age":31,"height":178,"weight":82,"unit":"metric","walked_distance":550}'

Response Example

Info

The response example below is for demonstration purposes only. Make a live request to this endpoint to receive the full, real-time, and potentially richer JSON structure.

{
  "sex": "male",
  "age": 31.0,
  "height_cm": 178.0,
  "weight_kg": 82.0,
  "unit": "metric",
  "walked_distance_m": 550.0,
  "wd_vs_6mwd_%": 85.32,
  "performance_band": "moderate",
  "performance_label": "Moderate",
  "distance_gap_m": 94.68,
  "expected_6mwd": {
    "6mwd_m": 644.68,
    "norm_limit_m": 491.68
  },
  "clinical_priority": "Monitor progress",
  "functional_status": "Below expected norm",
  "action_plan": ["Implement graded exercise program", "Reassess in 4-6 weeks"],
  "training_guidance": ["Focus on aerobic endurance", "Include interval training"],
  "retest_plan": "Retest in 4-6 weeks",
  "escalation_flags": ["Consider cardiac evaluation if symptoms present"],
  "_enterprise": {
    "client": "Acme Health",
    "plan": "pro",
    "request_id": "2c8d9bd88b6f2f19",
    "quota": 120,
    "usage_tracking": true
  },
  "_api_metadata_": {
    "endpoint_name": "six_mwt_calculator",
    "response_language": "en"
  }
}

Product Value

Ideal for rehabilitation platforms, cardiac fitness assessment tools, and clinical exercise physiology applications.

Note

walked_distance must be provided in meters regardless of unit system. unit parameter affects height/weight interpretation only.