WIMSTA Formula Registry & Calculation API API

A machine-readable registry of published body-composition and energy-expenditure formulas (body fat, BMI, waist-to-height ratio, maximum heart rate, basal metabolic rate). Each record gives the equation, coefficients, units, inputs, derivation sample, reported error, limitations and the primary sour

GitHub OpenAPI

Operations 23

GET /api/registry.json Get the full formula registry #
GET /api/formulas.json List formula ids #
GET /api/formulas/{id}.json Get one formula by id #
GET /api/formulas Query the registry by id or category #
GET /api/calc List calculators and their parameters #
GET /api/calc/bmi bmi #
GET /api/calc/body-fat body-fat #
GET /api/calc/bmr bmr #
GET /api/calc/tdee tdee #
GET /api/calc/max-heart-rate max-heart-rate #
GET /api/calc/waist-to-height waist-to-height #
GET /api/calc/ideal-weight ideal-weight #
GET /api/calc/ffmi ffmi #
GET /api/calc/bsa bsa #
GET /api/calc/body-shape body-shape #
GET /api/calc/body-frame body-frame #
GET /api/calc/protein protein #
GET /api/calc/water water #
GET /api/calc/creatine creatine #
GET /api/calc/one-rep-max one-rep-max #
GET /api/calc/vo2max vo2max #
GET /api/calc/running-pace running-pace #
POST /api/calc/batch batch #

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/wimsta-com:wimsta-formula-registry-calculation-api-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

wimsta-com-api-openapi.json Raw ↑
{
  "openapi": "3.0.3",
  "info": {
    "title": "WIMSTA Formula Registry & Calculation API",
    "version": "2026.08.11",
    "description": "A machine-readable registry of published body-composition and energy-expenditure formulas (body fat, BMI, waist-to-height ratio, maximum heart rate, basal metabolic rate). Each record gives the equation, coefficients, units, inputs, derivation sample, reported error, limitations and the primary source. Query it by URL parameter (/api/formulas?id=…, ?category=…) or download it whole (/api/registry.json). The Calculation API (/api/calc/{calculator}) returns the honest range for your own measurements, computed with the same functions as the wimsta.com calculators. No authentication, no API key, open CORS. Results are estimates for general information, not medical advice. Data licensed CC BY 4.0 - credit \"WIMSTA (wimsta.com)\" with a link.",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    },
    "contact": {
      "name": "WIMSTA",
      "url": "https://wimsta.com/registry/",
      "email": "hello@wimsta.com"
    },
    "x-logo": {
      "url": "https://wimsta.com/wimsta-icon-512.png"
    }
  },
  "externalDocs": {
    "description": "Registry documentation",
    "url": "https://wimsta.com/registry/"
  },
  "servers": [
    {
      "url": "https://wimsta.com"
    }
  ],
  "paths": {
    "/api/registry.json": {
      "get": {
        "operationId": "getRegistry",
        "summary": "Get the full formula registry",
        "description": "Returns every formula with its coefficients and primary source. Static and cacheable (Cache-Control: max-age=3600).",
        "responses": {
          "200": {
            "description": "The formula registry",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Registry"
                }
              }
            }
          }
        },
        "tags": [
          "Registry"
        ]
      }
    },
    "/api/formulas.json": {
      "get": {
        "operationId": "listFormulas",
        "summary": "List formula ids",
        "description": "Every formula's id, name, category and the URL of its record.",
        "responses": {
          "200": {
            "description": "Formula index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "registry_version": {
                      "type": "string"
                    },
                    "license": {
                      "type": "string"
                    },
                    "attribution_notice": {
                      "type": "string"
                    },
                    "formula_count": {
                      "type": "integer"
                    },
                    "formulas": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Registry"
        ]
      }
    },
    "/api/formulas/{id}.json": {
      "get": {
        "operationId": "getFormula",
        "summary": "Get one formula by id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Formula id from /api/formulas.json",
            "schema": {
              "type": "string",
              "example": "cun-bae"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One formula",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "registry_version": {
                      "type": "string"
                    },
                    "license": {
                      "type": "string"
                    },
                    "attribution_notice": {
                      "type": "string"
                    },
                    "formula": {
                      "$ref": "#/components/schemas/Formula"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Unknown id"
          }
        },
        "tags": [
          "Registry"
        ]
      }
    },
    "/api/formulas": {
      "get": {
        "operationId": "queryFormulas",
        "summary": "Query the registry by id or category",
        "description": "With `id` — one formula (same body as /api/formulas/{id}.json). With `category` — all formulas of that category. Without parameters — the index of ids.",
        "tags": [
          "Registry"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": false,
            "description": "Formula id",
            "schema": {
              "type": "string",
              "example": "cun-bae"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Category id",
            "schema": {
              "type": "string",
              "enum": [
                "body-fat",
                "body-fat-ranges",
                "bmi",
                "waist-to-height",
                "max-heart-rate",
                "bmr"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One formula, a category, or the index",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "registry_version": {
                      "type": "string"
                    },
                    "license": {
                      "type": "string"
                    },
                    "attribution_notice": {
                      "type": "string"
                    },
                    "formula": {
                      "$ref": "#/components/schemas/Formula"
                    },
                    "formulas": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc": {
      "get": {
        "operationId": "listCalculators",
        "summary": "List calculators and their parameters",
        "tags": [
          "Calculation"
        ],
        "responses": {
          "200": {
            "description": "Calculators",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/bmi": {
      "get": {
        "operationId": "calcBmi",
        "summary": "bmi",
        "description": "Body Mass Index as a range: classic (Quetelet) and Trefethen \"new BMI\", with the WHO band. Human-readable page: https://wimsta.com/bmi-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "weight_kg",
            "in": "query",
            "required": true,
            "description": "required, 20–350",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 350,
              "example": 80
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 180
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/body-fat": {
      "get": {
        "operationId": "calcBodyFat",
        "summary": "body-fat",
        "description": "Body-fat % as a range across every validated formula your measurements allow (Deurenberg, CUN-BAE, US Navy, RFM, Covert Bailey), with the Gallagher category. Human-readable page: https://wimsta.com/body-fat-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "female"
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 165
            }
          },
          {
            "name": "weight_kg",
            "in": "query",
            "required": false,
            "description": "optional, 20–350 (Deurenberg, CUN-BAE)",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 350,
              "example": 62
            }
          },
          {
            "name": "age",
            "in": "query",
            "required": false,
            "description": "optional, 18–100 (Deurenberg, CUN-BAE, Covert Bailey; age-aware category)",
            "schema": {
              "type": "number",
              "minimum": 18,
              "maximum": 100,
              "example": 35
            }
          },
          {
            "name": "waist_cm",
            "in": "query",
            "required": false,
            "description": "optional, 45–160 — natural waist (RFM; US Navy women; Covert Bailey men)",
            "schema": {
              "type": "number",
              "minimum": 45,
              "maximum": 160,
              "example": 72
            }
          },
          {
            "name": "abdomen_cm",
            "in": "query",
            "required": false,
            "description": "optional, 50–170 — at the navel (US Navy men; if absent, waist_cm is used, as on the site)",
            "schema": {
              "type": "number",
              "minimum": 50,
              "maximum": 170
            }
          },
          {
            "name": "neck_cm",
            "in": "query",
            "required": false,
            "description": "optional, 20–60 (US Navy)",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 60,
              "example": 32
            }
          },
          {
            "name": "hip_cm",
            "in": "query",
            "required": false,
            "description": "optional, 60–180 (US Navy women; Covert Bailey)",
            "schema": {
              "type": "number",
              "minimum": 60,
              "maximum": 180,
              "example": 98
            }
          },
          {
            "name": "wrist_cm",
            "in": "query",
            "required": false,
            "description": "optional, 10–25 (Covert Bailey)",
            "schema": {
              "type": "number",
              "minimum": 10,
              "maximum": 25
            }
          },
          {
            "name": "forearm_cm",
            "in": "query",
            "required": false,
            "description": "optional, 15–45 (Covert Bailey men)",
            "schema": {
              "type": "number",
              "minimum": 15,
              "maximum": 45
            }
          },
          {
            "name": "thigh_cm",
            "in": "query",
            "required": false,
            "description": "optional, 30–90 (Covert Bailey women)",
            "schema": {
              "type": "number",
              "minimum": 30,
              "maximum": 90
            }
          },
          {
            "name": "calf_cm",
            "in": "query",
            "required": false,
            "description": "optional, 20–60 (Covert Bailey women)",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 60
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/bmr": {
      "get": {
        "operationId": "calcBmr",
        "summary": "bmr",
        "description": "Basal metabolic rate (kcal/day) as a range: Mifflin–St Jeor, Harris–Benedict 1984 and 1919, WHO/FAO, plus Katch–McArdle when body_fat_pct is given. Human-readable page: https://wimsta.com/bmr-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "male"
            }
          },
          {
            "name": "weight_kg",
            "in": "query",
            "required": true,
            "description": "required, 20–350",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 350,
              "example": 80
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 180
            }
          },
          {
            "name": "age",
            "in": "query",
            "required": true,
            "description": "required, 18–100",
            "schema": {
              "type": "number",
              "minimum": 18,
              "maximum": 100,
              "example": 40
            }
          },
          {
            "name": "body_fat_pct",
            "in": "query",
            "required": false,
            "description": "optional, 3–65 (adds Katch–McArdle)",
            "schema": {
              "type": "number",
              "minimum": 3,
              "maximum": 65
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/tdee": {
      "get": {
        "operationId": "calcTdee",
        "summary": "tdee",
        "description": "Total daily energy expenditure (kcal/day) = the BMR range × an activity multiplier — a range, never one number. Human-readable page: https://wimsta.com/tdee-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "female"
            }
          },
          {
            "name": "weight_kg",
            "in": "query",
            "required": true,
            "description": "required, 20–350",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 350,
              "example": 65
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 168
            }
          },
          {
            "name": "age",
            "in": "query",
            "required": true,
            "description": "required, 18–100",
            "schema": {
              "type": "number",
              "minimum": 18,
              "maximum": 100,
              "example": 35
            }
          },
          {
            "name": "activity",
            "in": "query",
            "required": true,
            "description": "required, sedentary | light | moderate | extra | extreme",
            "schema": {
              "type": "string",
              "enum": [
                "sedentary",
                "light",
                "moderate",
                "extra",
                "extreme"
              ],
              "example": "moderate"
            }
          },
          {
            "name": "body_fat_pct",
            "in": "query",
            "required": false,
            "description": "optional, 3–65 (adds Katch–McArdle)",
            "schema": {
              "type": "number",
              "minimum": 3,
              "maximum": 65
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/max-heart-rate": {
      "get": {
        "operationId": "calcMaxHeartRate",
        "summary": "max-heart-rate",
        "description": "Maximum heart rate (bpm) as a range across nine published formulas, plus five training zones (% of HRmax) from the population anchor (Gulati for women, Tanaka otherwise). Human-readable page: https://wimsta.com/target-heart-rate-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "age",
            "in": "query",
            "required": true,
            "description": "required, 18–100",
            "schema": {
              "type": "number",
              "minimum": 18,
              "maximum": 100,
              "example": 40
            }
          },
          {
            "name": "sex",
            "in": "query",
            "required": false,
            "description": "optional, female | male (default female; Gulati is women-only)",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "female"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/waist-to-height": {
      "get": {
        "operationId": "calcWaistToHeight",
        "summary": "waist-to-height",
        "description": "Waist-to-height ratio (a measurement, not an estimate) with the Ashwell zone and the healthy waist range for your height. Human-readable page: https://wimsta.com/waist-to-height-ratio-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "waist_cm",
            "in": "query",
            "required": true,
            "description": "required, 45–160",
            "schema": {
              "type": "number",
              "minimum": 45,
              "maximum": 160,
              "example": 80
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 170
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/ideal-weight": {
      "get": {
        "operationId": "calcIdealWeight",
        "summary": "ideal-weight",
        "description": "Ideal body weight as a range across seven classic formulas (Hamwi, Devine, Robinson, Miller, Broca, Lorentz, Peterson) — they disagree, and that spread is the honest answer — plus the WHO healthy-weight range (BMI 18.5–24.9). Human-readable page: https://wimsta.com/ideal-weight-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "male"
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 175
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/ffmi": {
      "get": {
        "operationId": "calcFfmi",
        "summary": "ffmi",
        "description": "Fat-Free Mass Index — lean mass for your height — raw and normalized to 1.8 m, with a neutral descriptive band (not a \"natural vs enhanced\" verdict). Needs body-fat %. Human-readable page: https://wimsta.com/ffmi-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male (band only)",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "male"
            }
          },
          {
            "name": "weight_kg",
            "in": "query",
            "required": true,
            "description": "required, 20–350",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 350,
              "example": 80
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 180
            }
          },
          {
            "name": "body_fat_pct",
            "in": "query",
            "required": true,
            "description": "required, 3–65",
            "schema": {
              "type": "number",
              "minimum": 3,
              "maximum": 65,
              "example": 15
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/bsa": {
      "get": {
        "operationId": "calcBsa",
        "summary": "bsa",
        "description": "Body surface area (m²) as a range across eight formulas (Mosteller, Du Bois, Haycock, Gehan–George, Boyd, Fujimoto, Takahira, Schlich). Human-readable page: https://wimsta.com/bsa-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male (Schlich only)",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "female"
            }
          },
          {
            "name": "weight_kg",
            "in": "query",
            "required": true,
            "description": "required, 20–350",
            "schema": {
              "type": "number",
              "minimum": 20,
              "maximum": 350,
              "example": 65
            }
          },
          {
            "name": "height_cm",
            "in": "query",
            "required": true,
            "description": "required, 100–250",
            "schema": {
              "type": "number",
              "minimum": 100,
              "maximum": 250,
              "example": 168
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/body-shape": {
      "get": {
        "operationId": "calcBodyShape",
        "summary": "body-shape",
        "description": "Body-shape type (hourglass, pear, inverted triangle, rectangle, apple) from bust/chest, waist and hip circumference ratios — a descriptive label, not a health verdict. Human-readable page: https://wimsta.com/body-shape-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "bust_cm",
            "in": "query",
            "required": true,
            "description": "required, 60–160 (chest for men)",
            "schema": {
              "type": "number",
              "minimum": 60,
              "maximum": 160,
              "example": 92
            }
          },
          {
            "name": "waist_cm",
            "in": "query",
            "required": true,
            "description": "required, 45–160",
            "schema": {
              "type": "number",
              "minimum": 45,
              "maximum": 160,
              "example": 70
            }
          },
          {
            "name": "hip_cm",
            "in": "query",
            "required": true,
            "description": "required, 60–180",
            "schema": {
              "type": "number",
              "minimum": 60,
              "maximum": 180,
              "example": 96
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalcResponse"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/calc/body-frame": {
      "get": {
        "operationId": "calcBodyFrame",
        "summary": "body-frame",
        "description": "Body-frame size (small / medium / large) from the height ÷ wrist-circumference ratio, using the widely circulated Grant cut points — a rule of thumb, not a clinical measure. Human-readable page: https://wimsta.com/body-frame-size-calculator/",
        "tags": [
          "Calculation"
        ],
        "parameters": [
          {
            "name": "sex",
            "in": "query",
            "required": true,
            "description": "required, female | male",
            "schema": {
              "type": "string",
              "enum": [
                "female",
                "male"
              ],
              "example": "female"
            }


# --- truncated at 32 KB (60 KB total) ---
# Full source: https://artifacts.apis.io/wimsta-com/openapi/_original/wimsta-com-api-openapi.json