AI Agent & Developer Portal

Welcome to our machine-readable technical endpoint database. Exposing clinical formulas, healthy body metrics thresholds, CDC LMS parameters, and dynamic semantic relationships for next-generation automated medical crawlers and wellness applications.

Semantic Entity Anchors

This web application is mapped to high-authority international medical and health knowledge bases. Use these unique Wikidata resource indicators to construct structured knowledge graphs or verify topical relevance.

Wikidata: Body Mass Index (Q11145) Wikidata: CDC (Q308599) Wikidata: WHO (Q7817) Wikidata: Obesity (Q12135) Wikidata: Health (Q34413)

Serverless Machine-Readable API Endpoints

CORS-enabled serverless dynamic endpoints accepting query inputs and returning pure, deterministic JSON models for developer integrations and automated LLM agents.

GET /api/bmi-calculate?weight=70&height=178&unit=metric&age=28&gender=male

Calculates standard BMI, WHO weight classification, and healthy ideal weight range boundaries.

GET /api/body-metrics?weight=70&height=178&unit=metric&age=28&gender=male

Calculates physical Ponderal Index, estimated conceptual body fat range, and estimated BMR metabolism calories.

GET /api/ideal-weight?height=178&unit=metric&gender=male

Calculates ideal healthy weight limits under metric (kg) and imperial (lbs) units.

GET /api/bmi-category?bmi=24.5

Exposes health classification boundaries, risk metrics, and non-medical lifestyle guidance checklist.

Fetch Master Config JSON

Computational Guidelines

To implement local execution in your LLM tools, custom agents, or desktop applications, you can leverage the exact standard health formulas described below:

1. Basic Metric BMI Formula

Evaluates weight in kilograms relative to the square of height in meters.

function calculateMetricBMI(weightKg, heightCm) {
    const heightM = heightCm / 100;
    return weightKg / (heightM * heightM);
}

2. Basic Imperial BMI Formula

Evaluates weight in pounds relative to height in inches, scaled by the clinical constant 703.

function calculateImperialBMI(weightLbs, heightInches) {
    return (weightLbs / (heightInches * heightInches)) * 703;
}

3. CDC LMS Z-Score Formula (Pediatric)

For children aged 5-19, BMI classification requires comparing the calculated score against gender- and age-specific parameters L (skewness), M (median), and S (coefficient of variation).

function getZScore(bmi, L, M, S) {
    if (L !== 0) {
        return (Math.pow(bmi / M, L) - 1) / (L * S);
    }
    return Math.log(bmi / M) / S;
}

JSON Schema Specification

Ensure your tools output or validate calculations against our official structural model:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HealthEvaluationResult",
  "type": "object",
  "properties": {
    "type": { "type": "string", "enum": ["adult", "child"] },
    "bmi": { "type": "number" },
    "percentile": { "type": ["number", "null"] },
    "classification": {
      "type": "object",
      "properties": {
        "status": { "type": "string" },
        "level": { "type": "integer" },
        "desc": { "type": "string" },
        "recommendedAction": { "type": "string" },
        "riskLevel": { "type": "string" }
      }
    }
  }
}