PHPackages                             apiverve/bmicalculator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. apiverve/bmicalculator

ActiveLibrary[API Development](/categories/api)

apiverve/bmicalculator
======================

BMI Calculator computes Body Mass Index along with ideal weight ranges, BMR (Basal Metabolic Rate), TDEE (Total Daily Energy Expenditure), calorie targets, and macronutrient recommendations for fitness and health applications.

00C#

Since Jul 16Pushed 1mo agoCompare

[ Source](https://github.com/apiverve/bmicalculator-api)[ Packagist](https://packagist.org/packages/apiverve/bmicalculator)[ RSS](/packages/apiverve-bmicalculator/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[BMI Calculator API](https://apiverve.com/marketplace/bmicalculator?utm_source=github&utm_medium=readme)
========================================================================================================

[](#bmi-calculator-api)

BMI Calculator computes Body Mass Index along with ideal weight ranges, BMR (Basal Metabolic Rate), TDEE (Total Daily Energy Expenditure), calorie targets, and macronutrient recommendations for fitness and health applications.

The BMI Calculator API provides a simple, reliable way to integrate bmi calculator functionality into your applications. Built for developers who need production-ready bmi calculator capabilities without the complexity of building from scratch.

**[View API Details →](https://apiverve.com/marketplace/bmicalculator?utm_source=github&utm_medium=readme)**

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![API Status](https://camo.githubusercontent.com/15e99b75bf27d82ce61696f6ed2bc677c3dbb56b0902a69b0afa0860c95e3aac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374617475732d4163746976652d677265656e2e737667)](https://apiverve.com/marketplace/bmicalculator?utm_source=github&utm_medium=readme)[![Method](https://camo.githubusercontent.com/a2b7cddd4cb12b1e821f02341ecb69a22571a98b2069d832d9c5f106ea07102a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6574686f642d4745542d626c75652e737667)](#)[![Platform](https://camo.githubusercontent.com/baa862d10fe7a5ffd0d064b1e3d41f4034cf5747a1ef289496ef606b53554456/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506c6174666f726d2d4d756c74692d2d506c6174666f726d2d6f72616e67652e737667)](#installation)

**Available on:**[![npm](https://camo.githubusercontent.com/60c9e8e39546f97cdc6b7d10d0eb0f29b7ef81ad8a1332eee806680cc80697f3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e706d2d4342333833373f7374796c653d666c6174266c6f676f3d6e706d266c6f676f436f6c6f723d7768697465)](https://www.npmjs.com/package/@apiverve/bmicalculator)[![NuGet](https://camo.githubusercontent.com/272fcec5c03b95ec239b9bd3abf7e66481ada718e198ca4a59f41c0b366af6b0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e754765742d3030343838303f7374796c653d666c6174266c6f676f3d6e75676574266c6f676f436f6c6f723d7768697465)](https://www.nuget.org/packages/APIVerve.API.BMICalculator)[![PyPI](https://camo.githubusercontent.com/4bc6211075d1c11d9c07f962783fee71f5f3cc70e04c4ec9d57d4e761a7dd113/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507950492d3337373641423f7374796c653d666c6174266c6f676f3d707974686f6e266c6f676f436f6c6f723d7768697465)](https://pypi.org/project/apiverve-bmicalculator/)[![RubyGems](https://camo.githubusercontent.com/71716e070a00057e5feb5a93d39119c1ce4279183edc35e7384bef3e804b68ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5275627947656d732d4539353733463f7374796c653d666c6174266c6f676f3d7275627967656d73266c6f676f436f6c6f723d7768697465)](https://rubygems.org/gems/apiverve_bmicalculator)[![Packagist](https://camo.githubusercontent.com/5c7bb7fb77c5df98a7cc98b925a011394a30fb20f6d381b951a4e87aa8f03c45/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b61676973742d4632384431413f7374796c653d666c6174266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/apiverve/bmicalculator)[![Go](https://camo.githubusercontent.com/2c54290f2057e36a55a985ab1cd61b80b4a5a732160a50fcd707b7b6b0086460/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476f2d3030414444383f7374796c653d666c6174266c6f676f3d676f266c6f676f436f6c6f723d7768697465)](#-go)[![Dart](https://camo.githubusercontent.com/dca235ce2ec52c7dacbbd19ee2d738caf995db81745395b17c9d3b6152d28966/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446172742d3031373543323f7374796c653d666c6174266c6f676f3d64617274266c6f676f436f6c6f723d7768697465)](https://pub.dev/packages/apiverve_bmicalculator)[![JitPack](https://camo.githubusercontent.com/946962aac9fad35d0daf16fc430fd16553165a78db28c01fa09b656467c33824/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a69745061636b2d3245374433323f7374796c653d666c6174266c6f676f3d616e64726f6964266c6f676f436f6c6f723d7768697465)](#-android-jitpack)

---

Quick Start
-----------

[](#quick-start)

### Using JavaScript

[](#using-javascript)

```
async function callBMICalculatorAPI() {
    try {
        const params = new URLSearchParams({
            weight: 180,
            height: 70,
            unit: 'imperial',
            age: 30,
            gender: 'male',
            activityLevel: 'moderate'
        });

        const response = await fetch(`https://api.apiverve.com/v1/bmicalculator?${params}`, {
            method: 'GET',
            headers: {
                'x-api-key': 'YOUR_API_KEY_HERE'
            }
        });

        const data = await response.json();
        console.log(data);
    } catch (error) {
        console.error('Error:', error);
    }
}

callBMICalculatorAPI();
```

### Using cURL

[](#using-curl)

```
curl -X GET "https://api.apiverve.com/v1/bmicalculator?weight=180&height=70&unit=imperial&age=30&gender=male&activityLevel=moderate" \
  -H "x-api-key: YOUR_API_KEY_HERE"
```

**Get your API key:**

**📁 For more examples, see the [examples folder](./examples/)**

---

Installation
------------

[](#installation)

Choose your preferred programming language:

### 📦 NPM (JavaScript/Node.js)

[](#-npm-javascriptnodejs)

```
npm install @apiverve/bmicalculator
```

[**View NPM Package →**](https://www.npmjs.com/package/@apiverve/bmicalculator) | [**Package Code →**](./npm/)

---

### 🔷 NuGet (.NET/C#)

[](#-nuget-netc)

```
dotnet add package APIVerve.API.BMICalculator
```

[**View NuGet Package →**](https://www.nuget.org/packages/APIVerve.API.BMICalculator) | [**Package Code →**](./nuget/)

---

### 🐍 Python (PyPI)

[](#-python-pypi)

```
pip install apiverve-bmicalculator
```

[**View PyPI Package →**](https://pypi.org/project/apiverve-bmicalculator/) | [**Package Code →**](./python/)

---

### 💎 Ruby (RubyGems)

[](#-ruby-rubygems)

```
gem install apiverve_bmicalculator
```

[**View RubyGems Package →**](https://rubygems.org/gems/apiverve_bmicalculator) | [**Package Code →**](./ruby/)

---

### 🐘 PHP (Packagist)

[](#-php-packagist)

```
composer require apiverve/bmicalculator
```

[**View Packagist Package →**](https://packagist.org/packages/apiverve/bmicalculator) | [**Package Code →**](./php/)

---

### 🎯 Dart (pub.dev)

[](#-dart-pubdev)

```
dart pub add apiverve_bmicalculator
```

[**View pub.dev Package →**](https://pub.dev/packages/apiverve_bmicalculator) | [**Package Code →**](./dart/)

---

### 🤖 Android (JitPack)

[](#-android-jitpack)

```
implementation 'com.github.apiverve:bmicalculator-api:1.0.0'
```

[**Package Code →**](./android/)

---

### 🐹 Go

[](#-go)

```
go get github.com/apiverve/bmicalculator-api/go
```

[**Package Code →**](./go/)

---

Why Use This API?
-----------------

[](#why-use-this-api)

FeatureBenefit**Multi-language SDKs**Native packages for JavaScript, Python, C#, Go, and Android**Simple Integration**Single API key authentication, consistent response format**Production Ready**99.9% uptime SLA, served from 24 global regions**Comprehensive Docs**Full examples, OpenAPI spec, and dedicated support---

Documentation
-------------

[](#documentation)

- 🏠 **API Home:** [BMI Calculator API](https://apiverve.com/marketplace/bmicalculator?utm_source=github&utm_medium=readme)
- 📚 **API Reference:** [docs.apiverve.com/ref/bmicalculator](https://docs.apiverve.com/ref/bmicalculator)
- 📖 **OpenAPI Spec:** [openapi.yaml](./openapi.yaml)
- 💡 **Examples:** [examples/](./examples/)

---

What Can You Build?
-------------------

[](#what-can-you-build)

The BMI Calculator API is commonly used for:

- **Web Applications** - Add bmi calculator features to your frontend or backend
- **Mobile Apps** - Native SDKs for Android development
- **Automation** - Integrate with n8n, Zapier, or custom workflows
- **SaaS Products** - Enhance your product with bmi calculator capabilities
- **Data Pipelines** - Process and analyze data at scale

---

API Reference
-------------

[](#api-reference)

### Authentication

[](#authentication)

All requests require an API key in the header:

```
x-api-key: YOUR_API_KEY_HERE

```

Get your API key:

### Response Format

[](#response-format)

Every APIVerve endpoint returns the same envelope — check `status`, then read `data`:

```
{
  "status": "ok",
  "error": null,
  "data": { ... }
}
```

### Example Response

[](#example-response)

A real response from the BMI Calculator API:

```
{
  "status": "ok",
  "error": null,
  "data": {
    "height": "170 cm",
    "weight": "70 kg",
    "bmi": 24.221453287197235,
    "risk": "Low risk",
    "summary": "This weight is normal and you are healthy.",
    "recommendation": "A BMI between 18.5 and 24.9 falls within the 'normal' weight range according to the World Health Organization. This range is associated with the lowest health risk for conditions such as heart disease, diabetes, and certain cancers. However, it's important to note that BMI is not a perfect measure as it does not account for muscle mass, bone density, overall body composition, and racial and sex differences. Therefore, while it's a useful starting point, it should not be the only measure of one's health."
  }
}
```

---

Support &amp; Community
-----------------------

[](#support--community)

- 🏠 **API Home**: [BMI Calculator API](https://apiverve.com/marketplace/bmicalculator?utm_source=github&utm_medium=readme)
- 💬 **Support**:
- 🐛 **Issues**: [GitHub Issues](../../issues)
- 📖 **Documentation**:
- 🌐 **Website**:

---

Contributing
------------

[](#contributing)

We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

---

Security
--------

[](#security)

For security concerns, please review our [Security Policy](SECURITY.md).

---

License
-------

[](#license)

This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.

---

Acknowledgments
---------------

[](#acknowledgments)

Built with ❤️ by [APIVerve](https://apiverve.com)

Copyright © 2026 APIVerve. All rights reserved.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4d2e1d9263acab05f6a553dfdd4884a1efb8e6d76bd276a50996b3a41e1d6e5?d=identicon)[APIVerve](/maintainers/APIVerve)

---

Tags

android-libraryapiapivervebmicalculatordotnethealth-wellnessjavanodejsnpm-packagenuget-packagepythonpython-packagerest-api

### Embed Badge

![Health badge](/badges/apiverve-bmicalculator/health.svg)

```
[![Health](https://phpackages.com/badges/apiverve-bmicalculator/health.svg)](https://phpackages.com/packages/apiverve-bmicalculator)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

710215.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

316188.8k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
