BMI Calculator

FREEMIUM
Par Navi | Mise à jour 2 days ago | Medical
Popularité

7.9 / 10

Latence

605ms

Niveau de service

96%

Health Check

100%

LISEZ-MOI

API Service Description:

The BMI Calculator API provides accurate and comprehensive Body Mass Index calculations, offering valuable insights into users’ health status. With support for weight, height, age, and gender inputs, it delivers precise BMI values along with related metrics like ideal weight, surface area, and basal metabolic rate. Developers can seamlessly integrate this free API to empower applications with advanced health assessment capabilities, promoting wellness and fitness goals among users.

Endpoint Request Response:

The endpoint processes user inputs including weight, height, age, sex, waist, and hip measurements, generating detailed health metrics including BMI, ideal weight range, basal metabolic rate, and waist-to-hip ratio.

API Usage Guide:

Welcome to the BMI Calculator API! Below is a guide to help you effectively utilize our service:

  1. Authentication:

    • Obtain your API key from RapidAPI to authenticate requests.
  2. Endpoint:

    • Base URL: https://bmi.p.rapidapi.com/v1/mobile/track
    • HTTP Method: POST
    • Input: JSON object containing weight, height, age, sex, waist, and hip measurements.
    • Output: JSON response with comprehensive health metrics.
  3. Request Format:

    • Provide weight in kilograms, height in centimeters, sex (‘m’ for male, ‘f’ for female), age in years, waist and hip measurements.
    • Example:
      {
          "weight": {"value": "85.00", "unit": "kg"},
          "height": {"value": "170.00", "unit": "cm"},
          "sex": "m",
          "age": "24",
          "waist": "34.00",
          "hip": "40.00"
      }
      
  4. Response Format:

    • Analyze the response for BMI value, status, risk, ideal weight range, surface area, basal metabolic rate, waist-to-hip ratio, and waist-to-height ratio.
    • Example:
      {
          "weight": {"kg": "85", "lb": "187.39"},
          "height": {"m": "1.7", "cm": "170", "in": "66.93", "ft-in": "5-6.9"},
          "bmi": {"value": "29.41", "status": "Overweight", "risk": "Moderate risk of developing heart disease, high blood pressure, stroke, diabetes", "prime": "1.28"},
          "ideal_weight": "60.2kg to 73.6kg",
          "surface_area": "1.97",
          "ponderal_index": "17.3",
          "bmr": {"value": "1797.5"},
          "whr": {"value": "0.85", "status": "Low Risk"},
          "whtr": {"value": "50.8", "status": "Healthy, Normal, Attractive Weight"},
          "sex": "m",
          "age": "24",
          "waist": "34",
          "hip": "40"
      }
      
  5. Error Handling:

    • Handle errors gracefully by checking HTTP status codes and error messages in the response.
  6. Integration:

    • Seamlessly integrate our API into your applications to provide users with detailed health assessments.
  7. Data Privacy:

    • Ensure compliance with data privacy regulations while processing user health data.
  8. Documentation:

    • Refer to our comprehensive documentation for detailed information on request parameters, response structure, and error handling.
  9. Support:

    • Reach out to our dedicated support team for any assistance or inquiries.

Start promoting wellness and fitness goals with the BMI Calculator API today!

Abonnés : 597
Créateur d'API :
Rapid account: Navi
Navi
navii
Connectez-vous pour évaluer l'API
Note : 5 - Votes : 1