ZioMark's HUB | API Documentation
DiscordAbout Me
  • 🔳Introduction
    • 🔐Authentication
  • 🔲GET Endpoints
    • ▫️Dec to Hex
    • ▫️Hex to Dec
    • ▫️Timetamp to Date
    • ▫️CFX
    • ▫️Date
    • ▫️Date & Time Formatter
    • ▫️Text over Image
    • ▫️Image over Image
    • ▫️Weather
    • ▫️Translate
    • ▫️Convert Currency
    • ▫️Geolocation
    • ▫️QR Code Generator
    • ▫️Image Format Converter
    • ▫️Key Generator
    • 🌐Bored
    • ▫️BMI Calculator
    • ▫️VAT Calculator
    • ▫️SEO Analyzer
    • ▫️Local Time
    • ▫️Discount Calculator
    • ▫️Discount Discover
  • 🔲POST Endpoints
    • ▫️HTML to PDF
    • ▫️Loan Calculator
    • ▫️Excel to CSV
Powered by GitBook
On this page
  • /calculate-bmi
  • Query Parameters
  • Response
  1. GET Endpoints

BMI Calculator

/calculate-bmi

This endpoint calculates the Body Mass Index (BMI) of an individual based on the provided weight, height, age, and unit system. It returns the calculated BMI along with the BMI category, which is determined based on age. If any of the parameters are missing or invalid, it returns a 400 error with a corresponding message.

Query Parameters

Parameter
Type
Description

weight

number

Weight of the individual in kilograms or pounds (based on unit).

height

number

Height of the individual in centimeters or inches (based on unit).

age

number

Age of the individual in years.

unit

string

The unit system used for weight and height. Options: "metric" (default), "us".

Response

{
    "age": "number",
    "bmi": "string",
    "bmiCategory": "string"
}

PreviousBoredNextVAT Calculator

Last updated 1 year ago

🔲
▫️