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
    • Schemas
      • Schemas
        • BaseResult«GetBodyDataDto»
        • OpenR«LefuBody«PPBodyDetailInfoModelH4240»»
        • BaseResult«List«StandardBodyData»»
        • LefuBody«PPBodyDetailInfoModelH4240»
        • GenTable
        • PPBodyDetailInfoModelH4240
        • AcWeightDataVo
        • OpenApiKeyVo
        • FoodSearchZhDetail
        • GetBodyDataDto
        • WeightPoint
        • GenTableColumn
        • DcWeightDataVo
        • OpenApiTokenVo
        • FoodZhPart
        • OpenR
        • GetBodyDataVo
        • LefuBody
        • FoodZhTwPart
        • Link
        • RegisterBody
        • ImpedanceVO
        • ModelAndView
        • R«OpenApiTokenVo»
        • BaseResult
        • BaseResult«List«GetDataLazeDto»»
        • PPBodyDetailInfoModel
        • SendEmailCodeVO
        • OpenR«FoodSearchZhDetail»
        • GetDataLazeDto
        • R
        • OpenR«PageVo«FoodZhPart»»
        • R«LefuBody»
        • WebLoginBody
        • OpenR«PageVo«FoodZhTwPart»»
        • CommonDTO
        • SysJob
        • PageVo«FoodZhPart»
        • TableDataInfo
        • PageVo«FoodZhTwPart»
        • View
        • TorreConfigVO
        • TorreRecordVO
        • WifiResult«CommonDTO»
        • TorreRegisterVO
        • WifiResult«WifiNewVersion»
        • TorreWeightDataVO
        • WifiWeightDTO
      • ScaleRXinmiaoDeviceHistoryData
      • Object
      • BatchRecordVO
      • ScaleRMapObject
      • V2RecordVO
      • ScaleRWifiNewVersion
      • XinmiaoDeviceHistoryData
      • TorreVersionUrl
      • ScaleRListTorreVersionUrl
      • TorreCheckForUpdateVO
      • WifiDTO
      • WifiNewVersion

    Quick Start

    Welcome to Lefu Open Platform#

    This document mainly introduces how to use (call) the Love API interface

    1. User registration#

    1.
    👉Visit
    2.
    If you are not registered, please fill in the user information as required. Email and mobile phone number verification code registration is supported.
    image.png
    3.
    Already registered, log in directly
    image.png

    2. Get AppKey and AppSecret#

    Some functions require AppKey and AppSecret to access. Follow the steps below to obtain your AppKey and AppSecret.
    image.png
    Complete the required data as prompted and click Submit
    After the submission is completed, refresh the page and you will get your AppKey and AppSecret. Click Copy
    image.png

    3. Obtain authorization for the body fat calculation interface#

    Send an email with the AppKey to the sales consultant, lidonglin@lefu.cc, and cc to oujialing@lefu.cc (no sales consultant will result in non-processing), and indicate the Bluetooth name and device model of the device you intend to use. If there is no response for an extended period, please contact your sales consultant

    4. Understand the Product corresponding to your device, where NA indicates that this field is not required#

    InterfaceProductEquipment Model (Series)Algorithm Description
    AC Four-Electrode AlgorithmAC Four-Electrode AlgorithmNANA
    DC Four-Electrode Algorithm - v2.0DC Four-Electrode Algorithm - v2.0 NANA
    AC eight-electrode algorithmAC Eight-Electrode Algorithm 1CF577Used in the old version
    7CF610
    3CF586
    4CF597Used in the old version
    5CF577_N1Torre series uses this by default
    6CF597_NCF597 series uses this by default
    Dual-frequency AC four-electrodeDual-frequency AC four-electrodeNANA

    5. Document Center#

    Interface call#

    1.
    Use the AppKey and AppSecret request interfaces obtained previously to obtain the token.
    image.png
    **Note that when calling Api in a specific business, you must first obtain a temporary token. The token has a short validity period, so you need to cache it yourself and ensure that the token is filled in correctly when calling other APIs. **
    2.
    Fill in the token obtained in the previous step into the request header of the interface call, fill in the complete request parameters, and click Send
    image.png
    Modified at 2026-06-23 02:41:02
    Next
    Body Fat Scale Body Data Parsing
    Built with