Physical Metrics Calculation Library
  1. Body Fat Scale Body Data Parsing
Physical Metrics Calculation Library
  • Quick Start
  • Body Fat Scale Body Data Parsing
    • Err Error Codes
    • Get Temporary Token Based on AppKey
      POST
    • Alternating Current Four-Electrode Algorithm
      GET
    • Direct Current Four-Electrode Algorithm
      GET
    • Dual-frequency AC four-electrode
      GET
    • Alternating Current eight-electrode algorithm
      GET
  1. Body Fat Scale Body Data Parsing

Alternating Current Four-Electrode Algorithm

GET
/openapi-bodydata/bodyData/getAcLfBodyData
乐福体脂秤身体数据解析(新版)

Request

Query Params
age
string 
optional
Age
Example:
23
heartRate
string 
optional
Heart rate
Example:
89
height
string 
optional
Height (in cm)
Example:
173
impedance
string 
optional
Impedance (encrypted)
Example:
16479600
peopleType
string 
optional
People classification 0 (non-athlete) 1 (athlete)
Example:
0
sex
string 
optional
Gender 0 (female) 1 (male)
Example:
1
weightKg
string 
optional
Weight (in kg)
Example:
67.9
customized
integer 
optional
Body fat rate fine-tuning parameter, which can range from 1 to 10. The larger the value, the greater the body fat rate.
Example:
1
Header Params
token
string 
required
token,获取方式参考快速引导文档
Accept-Language
string 
optional
语言,默认中文zh,英文使用en
Example:
zh

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://uniquehealth.lefuenergy.com/openapi-bodydata/bodyData/getAcLfBodyData?age= 23&heartRate= 89&height= 173&impedance= 16479600&peopleType= 0&sex= 1&weightKg= 67.9&customized=1' \
--header 'token;' \
--header 'Accept-Language: zh'

Responses

🟢200成功
application/json
Body
code
integer 
响应码,详情见错误码
required
msg
string 
响应说明
required
data
object 
required
version
null 
算法版本号
required
errorType
string 
错误类型,未计算出体脂等指标的原因
required
lefuBodyData
array [object {8}] 
身体数据详情
required
Example
{
    "code": 200,
    "msg": "操作成功",
    "data": {
        "version": null,
        "errorType": "PP_ERROR_TYPE_NONE",
        "lefuBodyData": [
            {
                "bodyParamName": "体重",
                "bodyParamKey": "ppWeightKg",
                "introduction": "体重body weight为裸体或穿着已知重量的工作衣,称量得到的身体重量。",
                "standardArray": [
                    45.6,
                    58.6,
                    71.6,
                    84.6
                ],
                "currentValue": 67.9,
                "standardTitle": "标准",
                "standeEvaluation": "体重相当健康,记得三餐要按时哦~恭喜您~体重已经达到零设定的目标,注意保持哦!",
                "standSuggestion": "--",
                "unit": "kg"
            },
            {
                "bodyParamName": "BMI",
                "bodyParamKey": "ppBMI",
                "introduction": "BMI(Body Mass Index)是国际上用于衡量人体胖瘦程度的标准。亚洲地区的BMI水平整体上低于欧洲国家,因此我们使用的是适用于亚洲人体质的标准。",
                "standardArray": [
                    13.0,
                    18.5,
                    25.0,
                    30.0,
                    35.0
                ],
                "currentValue": 22.6,
                "standardTitle": "标准",
                "standeEvaluation": "目前BMI指数正常,身材指数完美,要继续保持哦!",
                "standSuggestion": "保持规律的生活方式,少熬夜多运动,每周安排2-3次运动可以保持身体的基础代谢,使身体的循环能力增强。运动后记得拉伸放松哦。",
                "unit": ""
            },
            {
                "bodyParamName": "BMR",
                "bodyParamKey": "ppBMR",
                "introduction": "BMR指人体在清醒又极端安静的状态下,不受肌肉活动、环境温度、食物及精神紧张等影响时的能量代谢率。 ",
                "standardArray": [
                    0.0,
                    1602.4,
                    3204.9
                ],
                "currentValue": 1558.0,
                "standardTitle": "偏低",
                "standeEvaluation": "BMR未达标!节食、熬夜、缺乏运动均会导致BMR偏低,脂肪不易被消耗,稍微吃多一点就容易发胖哦~",
                "standSuggestion": "力量训练可提高基础代谢,增加能耗。饮食上可摄入富含蛋白质的食物如鸡胸肉、鸡蛋白等。蛋白质耗能比碳水化合物和脂肪多,身体消耗蛋白质也会消耗热量。",
                "unit": ""
            },
            {
                "bodyParamName": "体脂率",
                "bodyParamKey": "ppFat",
                "introduction": "体脂率是指人体内的脂肪组织占体重的百分比。体重高不等于胖,但脂肪率高则是肥胖的信号,减肥的根本是减脂。",
                "standardArray": [
                    0.0,
                    11.0,
                    17.0,
                    22.0,
                    27.0,
                    32.0
                ],
                "currentValue": 15.4,
                "standardTitle": "标准",
                "standeEvaluation": "恭喜你,体脂率为正常水准,要继续保持哦!",
                "standSuggestion": "注意保持锻炼,合理饮食!坚持运动可以提高基础代谢,有助于消除工作带来的疲劳,劳逸结合可以使工作的效率更高哦!",
                "unit": "%"
            },
            {
                "bodyParamName": "健康评估",
                "bodyParamKey": "ppBodyHealth",
                "introduction": "",
                "standardArray": [
                    0.0,
                    1.0,
                    2.0,
                    3.0,
                    4.0
                ],
                "currentValue": 4.0,
                "standardTitle": "良好",
                "standeEvaluation": "您的数据整体处于标准范围,有可能会出现免疫力降低、贫血等问题,脂肪率偏低,容易引起生理机能失调。",
                "standSuggestion": "建议摄入优质的碳水和蛋白质,运动有氧+无氧的效果会更好。",
                "unit": ""
            },
            {
                "bodyParamName": "身体得分",
                "bodyParamKey": "ppBodyScore",
                "introduction": "有了好的身体,才能有好的成绩。",
                "standardArray": [
                    60.0,
                    70.0,
                    80.0,
                    90.0,
                    100.0
                ],
                "currentValue": 94.0,
                "standardTitle": "非常好",
                "standeEvaluation": "身体状态非常好,保持生活状态。",
                "standSuggestion": "您的身体得分非常好,请继续保持。",
                "unit": ""
            },
            {
                "bodyParamName": "骨骼肌率",
                "bodyParamKey": "ppBodySkeletal",
                "introduction": "人体的肌肉由构成心脏的心肌、内脏的平滑肌、以及骨骼肌组成。我们常说的肌肉,就是骨骼肌。",
                "standardArray": [
                    5.0,
                    20.0,
                    35.0,
                    50.0
                ],
                "currentValue": 42.27,
                "standardTitle": "优秀",
                "standeEvaluation": "您的骨骼肌发达,对身体是非常有益的。",
                "standSuggestion": "您的肌肉发达,请继续保持良好的饮食(饮食均衡)和运动习惯(适量运动)。",
                "unit": "kg"
            },
            {
                "bodyParamName": "皮下脂肪率",
                "bodyParamKey": "ppBodyFatSubCutPercentage",
                "introduction": "皮下脂肪率是指储存在皮下的脂肪组织与体重的比率。它可以作为判断人体胖瘦程度的一个指标。皮下脂肪位于在真皮层以下,筋膜层以上,主要功能是保持体温和储存能量。皮下脂肪过多时,容易堆积在腹部、臀部、大腿的部位,使身材走样、显得臃肿肥胖,且会对健康产生不利的影响。",
                "standardArray": [
                    10.3,
                    18.5,
                    26.7,
                    34.9
                ],
                "currentValue": 10.27,
                "standardTitle": "不足",
                "standeEvaluation": "您的皮下脂肪率较正常值偏低。是由于身体瘦弱,体脂率过低造成的。如果身体过于消瘦,并伴有全身乏力、疼痛、皮肤无光泽等症状,应考虑营养不良的可能性,要及时补充营养,并积极锻炼身体。",
                "standSuggestion": "合理的皮下脂肪可以保护内脏、骨骼的健康,注意不要节食,保持营养均衡,摄入足够的热量。",
                "unit": "kg"
            },
            {
                "bodyParamName": "骨量",
                "bodyParamKey": "ppBoneKg",
                "introduction": "骨量指人体成分中骨组织的重量,代表骨骼健康的情况。骨组织由细胞、纤维和基质构成,纤维为骨胶纤维,基质含有大量的固体无机盐。",
                "standardArray": [
                    2.6,
                    2.8,
                    3.0,
                    3.2
                ],
                "currentValue": 2.8,
                "standardTitle": "标准",
                "standeEvaluation": "您的骨量水平标准。骨量在短期内不会出现明显的变化,您只要保持健康的饮食和适当的锻炼,就可以维持健康的骨量水平啦。",
                "standSuggestion": "人体对钙的吸收率很低,您需要摄入更多钙含量较高的食物。长期以车代步、过度防晒也会造成骨量逐渐流失,每天午饭后可以步行10分钟,补充钙质又能保持身材~",
                "unit": "kg"
            },
            {
                "bodyParamName": "肥胖等级",
                "bodyParamKey": "ppFatGrade",
                "introduction": "肥胖是世界卫生组织确定的十大慢性疾病之一。肥胖不但影响形体的美观,而且肥胖的人比正常体重的人更易患糖尿病、心脏病、血管疾患、肝脏脂质沉积综合征、关节炎等疾病。",
                "standardArray": [
                    0.0,
                    18.5,
                    25.0,
                    30.0,
                    35.0,
                    40.0,
                    50.0
                ],
                "currentValue": 1.0,
                "standardTitle": "偏瘦",
                "standeEvaluation": "体重偏轻不利于健康。在排除甲状腺、消化系统疾病、糖尿病等疾病因素引起的消瘦后,应增加各种营养物质的摄入量,适量运动,循序渐进的使体重增加到正常范围。",
                "standSuggestion": "注意饮食营养均衡,摄入足够的热量,运动方面多进行力量训练,比如俯卧撑、引体向上、杠铃、哑铃等等。",
                "unit": ""
            },
            {
                "bodyParamName": "心率",
                "bodyParamKey": "ppHeartRate",
                "introduction": "正常人安静状态下每分钟心跳的次数,也叫安静心率",
                "standardArray": [
                    0.0,
                    40.0,
                    60.0,
                    100.0,
                    160.0,
                    180.0
                ],
                "currentValue": 89.0,
                "standardTitle": "正常",
                "standeEvaluation": "心率正常",
                "standSuggestion": "请继续保持健康良好的生活习惯,合理饮食,适量运动,以及充足的睡眠",
                "unit": "次/分"
            },
            {
                "bodyParamName": "肌肉率",
                "bodyParamKey": "ppMusclePercentage",
                "introduction": "指人体成分中占体重的百分比。肌肉率越高,BMR越大,消耗的热量越多,就不容易发胖。",
                "standardArray": [
                    39.4,
                    49.4,
                    59.4,
                    69.4
                ],
                "currentValue": 77.6,
                "standardTitle": "优秀",
                "standeEvaluation": "肌肉是您身体消耗能量的主力军。增加肌肉能量让您更快地消耗热量,以最健康的方式减掉多余的脂肪和体重。",
                "standSuggestion": "目前您的肌肉量比较充足,请继续保持适当的运动量和合理的饮食。",
                "unit": "%"
            },
            {
                "bodyParamName": "身体年龄",
                "bodyParamKey": "ppBodyAge",
                "introduction": "身体年龄指一BMR为基础,综合体重、身高、脂肪、肌肉等指数得出的数值,主要取决于生活方式和健康状况。",
                "standardArray": [
                    0.0,
                    23.0,
                    46.0
                ],
                "currentValue": 19.0,
                "standardTitle": "身体年龄年轻",
                "standeEvaluation": "身体年龄年轻,表明体内的各项机能正常,要继续保持哦!",
                "standSuggestion": "继续健康的生活方式,坚持运动,保持合理作息和营养膳食,让身体一直保持活力和年轻!",
                "unit": "岁"
            },
            {
                "bodyParamName": "蛋白质",
                "bodyParamKey": "ppProteinPercentage",
                "introduction": "蛋白质是组成人体细胞、组织的重要成分,约占人体全部质量的18%。机体所有重要的组成部分都需要蛋白质的参与,它是生命活动的主要承担者。",
                "standardArray": [
                    14.0,
                    16.0,
                    18.0,
                    20.0
                ],
                "currentValue": 17.1,
                "standardTitle": "标准",
                "standeEvaluation": "您的蛋白质含量正常,建议您:平衡膳食,经常运动。",
                "standSuggestion": "缺乏蛋白质会引起免疫力下降、肌肉无力和贫血。不过分节食维持稳定的蛋白质水平即可。",
                "unit": "%"
            },
            {
                "bodyParamName": "内脏脂肪",
                "bodyParamKey": "ppVisceralFat",
                "introduction": "内脏脂肪是人体脂肪的一种,与皮下脂肪不同,主要存在于腹腔内,围绕人脏器。一定的脂肪可以起到支撑、稳定、保护内脏的作用。",
                "standardArray": [
                    0.0,
                    10.0,
                    15.0,
                    25.0
                ],
                "currentValue": 8.0,
                "standardTitle": "标准",
                "standeEvaluation": "内脏脂肪水平正常,适当的内脏脂肪可以大幅度降低心脑血管疾病的发病危险哦!",
                "standSuggestion": "均衡膳食,拒绝高热量的食物,保持规律的作息,健康会一直陪伴你哒!",
                "unit": "kg"
            },
            {
                "bodyParamName": "水分率",
                "bodyParamKey": "ppWaterPercentage",
                "introduction": "水分是指人体成分中占体重的百分比。充足的水分可以促进体内的新陈代谢。",
                "standardArray": [
                    45.0,
                    55.0,
                    65.0,
                    75.0
                ],
                "currentValue": 55.9,
                "standardTitle": "标准",
                "standeEvaluation": "恭喜你水分达标,注意保持哦~",
                "standSuggestion": "保持规律的饮食和作息,每天八杯水就能保持正常水平啦!如有进行运动锻炼,请注意补充水分,弥补出汗过多导致的水分流失。",
                "unit": "%"
            },
            {
                "bodyParamName": "肌肉量",
                "bodyParamKey": "ppMuscleKg",
                "introduction": "指人体成分中占体重的百分比。肌肉率越高,BMR越大,消耗的热量越多,就不容易发胖。",
                "standardArray": [],
                "currentValue": 52.75,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            },
            {
                "bodyParamName": "身体类型",
                "bodyParamKey": "ppBodyType",
                "introduction": "人体形状的总体描述和评定",
                "standardArray": [],
                "currentValue": "标准型",
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": ""
            },
            {
                "bodyParamName": "脂肪量",
                "bodyParamKey": "ppBodyfatKg",
                "introduction": "脂肪量是指人体脂肪的总重量,包括皮下脂肪与内脏脂肪。脂肪是人体重要的储能组织,是有氧运动的主要能量来源,同时具有保暖、隔热和保护内脏器官、参与激素合成等作用。脂肪量维持在标准值范围内,是保证身体健康的重要前提。",
                "standardArray": [],
                "currentValue": 10.46,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            },
            {
                "bodyParamName": "去脂体重",
                "bodyParamKey": "ppLoseFatWeightKg",
                "introduction": "去脂体重又称瘦体重,是指除脂肪以外身体其他成分的重量,由身体细胞重量、细胞外水分和去脂的固体部分组成,其主要成分是骨骼与肌肉。去脂体重与身体运动能力正相关,去脂体重占总体重的比例越大,运动能力相对越强,运动员通常都拥有较大的去脂体重。",
                "standardArray": [],
                "currentValue": 55.5,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            },
            {
                "bodyParamName": "体重控制",
                "bodyParamKey": "ppControlWeightKg",
                "introduction": "以标准体重以及BMI为依据,推荐您的体重控制标准。",
                "standardArray": [],
                "currentValue": 2.8,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            },
            {
                "bodyParamName": "肌肉控制量",
                "bodyParamKey": "ppBodyMuscleControl",
                "introduction": "保持身体健康需要控制的肌肉量",
                "standardArray": [],
                "currentValue": 0.87,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            },
            {
                "bodyParamName": "标准体重",
                "bodyParamKey": "ppBodyStandardWeightKg",
                "introduction": "标准体重是反映和衡量一个人健康状况的重要标志之一。过胖和过瘦都不利于健康,也不会给人以健美感。",
                "standardArray": [],
                "currentValue": 65.1,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            },
            {
                "bodyParamName": "脂肪控制量",
                "bodyParamKey": "ppFatControlKg",
                "introduction": "保持身体健康需要控制的脂肪量",
                "standardArray": [],
                "currentValue": 1.66,
                "standardTitle": "",
                "standeEvaluation": "",
                "standSuggestion": "",
                "unit": "kg"
            }
        ]
    },
    "errorCode": null,
    "text": null
}
🟠400调用次数达到上限
🟠400token不能为空
Previous
Get Temporary Token Based on AppKey
Next
Direct Current Four-Electrode Algorithm
Built with