AI Body Composition APIs and Healthcare Providers: What Wellness Tools Can and Can't Do
If you work in healthcare and have come across camera-based body scanning, this guide explains what the WorkoutX Body Scan API is, why it is a wellness tool rather than a clinical one, and what it must not be used for.
verified Published by the WorkoutX team — builders of the exercise API used by fitness app developers. Learn more
Scope: WorkoutX Body Scan is a general wellness and fitness tracking tool. Its results are estimates, not measurements. It is not a medical device, it has not been validated against DXA or any other reference method, and it must not be used for diagnosis, treatment or medical monitoring.
What a Camera-Based Estimate Is
Body Scan combines pose landmarks from a photo with published body fat equations, and a vision model writes short notes. The person's height, weight, age and gender go in; a body fat percentage estimate, fat and lean mass derived from weight, a body type, muscle, fitness and symmetry scores, and waist, hip and shoulder estimates come out.
Those outputs are made for general fitness and wellness tracking in apps for gyms, coaches and wellness programmes.
DXA and Body Scan Are Different Things
DXA is a measurement device. Body Scan is an estimate that has not been validated against it or against any other reference method. We publish no accuracy figure, and the two must not be treated as interchangeable.
A Wellness Integration Example
Body Scan results belong in a wellness or fitness feature, not in a medical record. We don't offer an integration with electronic record systems, and estimates should not be stored as if they were clinical measurements. A wellness app might save a result like this:
import requests
def track_wellness_progress(user_id, image_path, profile):
url = "https://amused-mercy-production-aeaa.up.railway.app/v1/analyze"
headers = {"X-BodyScan-Key": "bsk_your_key_here"}
payload = {
"height_cm": profile['height'],
"weight_kg": profile['weight'],
"age": profile['age'],
"gender": profile['gender']
}
with open(image_path, "rb") as img:
response = requests.post(url, headers=headers, data=payload, files={"front_photo": img})
if response.status_code == 200:
result = response.json()
# Save to your own wellness progress table
save_progress_estimate(user_id, {
"body_fat_estimate": result['body_composition']['body_fat_percentage'],
"muscle_score": result['scores']['muscle_score'],
"waist_estimate_cm": result['estimated_measurements']['waist_circumference_cm']
})
What It Must Not Be Used For
Body Scan is not a medical device. Our Terms forbid using it to diagnose, treat or monitor any medical condition. That rules out screening, risk assessment, tracking a medication or surgery, and informing treatment decisions. Where body composition matters for someone's care, use a method intended for that purpose and your own professional judgement.
If people in an optional lifestyle programme want to follow their general fitness trend, that is a wellness use. Keep it separate from their care.
What Happens to a Photo
- Photos are processed only during analysis and not stored by us. A large upload may briefly sit in a temporary file while it is processed.
- Photos are sent to Anthropic for analysis.
- We keep the height, weight, age and gender sent with a scan and the numeric results. These are deleted automatically 90 days after the scan, so store anything you want to show for longer in your own database.
- You don't need to send names or emails. If you use
external_user_id, use a random id. - You are responsible for telling people how their photos are used and for having a legal basis, such as their consent. Body Scan must only be used with adults (18+).
Using Body Scan does not by itself make your product compliant with any privacy or health law. See our Privacy Policy for details.
Technical Details
The Body Scan API is built for wellness and fitness products. If that's what you're building, start with what a body composition API returns.