API de IMC para personas mayores¶
Calcular el IMC y clasificarlo en categorías centradas en las personas mayores (underweight, normal_weight, overweight_obese).
Endpoint¶
GET /api/v1/geriatric-bmiPOST /api/v1/geriatric-bmi/post
Parámetros¶
| Nombre | Tipo | Requerido | In | Descripción |
|---|---|---|---|---|
weight | número | Sí | Consulta/Cuerpo | Peso corporal. |
height | número | Sí | Consulta/Cuerpo | Altura. |
unit | string (metric,imperial) | No | Consulta/Cuerpo | Modo de entrada. Predeterminado metric. |
lang | string | No | Consulta | Idioma de la respuesta (en,es,de,fr,pt,ja,hi,ar). |
¿Por qué utilizar este Endpoint?¶
- Aplicar la interpretación apropiada del IMC para personas mayores.
- Apoyar programas de monitoreo de nutrición y fragilidad en personas mayores.
- Reducir el riesgo de clasificación incorrecta debido a los umbrales generales del IMC.
Ejemplo de solicitud¶
curl -X GET "https://api.hefitapi.com/api/v1/geriatric-bmi?weight=72&height=168&unit=metric&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/geriatric-bmi/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"weight":72,"height":168,"unit":"metric"}'
Ejemplo de respuesta¶
Info
El ejemplo de respuesta a continuación es solo para demostración. Para recibir la estructura JSON completa, en tiempo real y potencialmente más rica, realice una solicitud a este endpoint.
{
"status": "success",
"data": {
"weight": 72.0,
"height": 1.68,
"unit": "metric",
"bmi": 25.5,
"category": "Normal Weight",
"risk_band": "target",
"risk_band_label": "Target",
"risk_signal": "BMI is within geriatric target range.",
"action_plan": ["Maintain current healthy pattern"],
"monitoring_plan": "Review weight trend each month."
},
"_enterprise": {
"client": "Acme Health",
"plan": "pro",
"request_id": "2fa3952b7587d6da",
"quota": 120,
"usage_tracking": true
},
"_api_metadata_": {
"endpoint_name": "geriatric_bmi",
"response_language": "en"
}
}
Valor del producto¶
Ideal para plataformas de atención a personas mayores, telemedicina geriátrica y aplicaciones de bienestar centradas en la edad.
Nota
El endpoint requiere valores de altura y peso positivos; las entradas inválidas devuelven un error HTTP 400.
Endpoints recomendados¶
GET /api/v1/bmi- API de IMCGET /api/v1/bmi_imperial- API de IMC ImperialGET /api/v1/tdee- API de TDEEGET /api/v1/bmr- API de BMRGET /api/v1/protein-calculator- API de Calculadora de ProteínasGET /api/v1/fitness/heart-rate-zones- API de Zonas de Frecuencia Cardíaca