Back

#nutrition

6 APIs with this tag

Fruit Nutrition API

Fruit nutrition and botanical taxonomy as an API, built on the open Fruityvice dataset. Get every fruit with its scientific classification — family, genus and order — and its per-100g nutrition: calories, sugar, carbohydrates, protein and fat. Look up a single fruit by name, list every fruit in a botanical family (e.g. Rosaceae), genus (e.g. Prunus) or order (e.g. Rosales), or filter the whole catalogue by a nutrient range — for example all fruits with under 5g of sugar, sorted lowest first. Real data, no key needed upstream. Ideal for nutrition and diet apps, smoothie and recipe tools, health trackers and educational projects.

api.oanor.com/fruit-api

Pet Food & Calorie API

Pet-nutrition maths as an API, computed locally and deterministically — the calorie, portion and water numbers a dog or cat owner, breeder or pet app feeds an animal by. The calories endpoint uses the standard veterinary formula: resting energy RER = 70 × (body weight in kg)^0.75, then daily maintenance MER = RER × a lifestage factor — 1.6 for a neutered adult dog, 1.2 for a neutered cat, 1.0 or 0.8 for weight loss, 2–3 for puppies and 2.5 for kittens — so a 10 kg neutered dog needs about 394 kcal at rest and 630 kcal a day, and a 5 kg neutered cat about 234 and 281. Weight takes kg or pounds, and a custom factor overrides the table. The portion endpoint turns that calorie need into food: daily grams = calories ÷ the food’s energy density (kcal per 100 g, often 350–450 for dry kibble) or cups ÷ kcal per cup, split across meals — so 630 kcal of a 375-kcal/100 g kibble is about 168 g a day, 84 g per meal. The water endpoint gives the daily requirement, roughly 50–60 ml per kg for dogs and 50 for cats. Everything is computed locally and deterministically, so it is instant and private. Ideal for pet-care, veterinary, pet-food, dog- and cat-app developers, feeding-calculator and pet-health tools, and breeder software. Pure local computation — no key, no third-party service, instant. Educational estimates, not veterinary advice. Live, nothing stored. 3 compute endpoints. For dog-age conversion use a different API.

api.oanor.com/petfood-api

BMR & Calorie API

Energy-expenditure and nutrition maths as an API, computed locally and deterministically. The bmr endpoint computes the basal metabolic rate — the calories the body burns at rest — from weight, height, age and sex, using the modern Mifflin-St Jeor equation (BMR = 10·kg + 6.25·cm − 5·age + 5 for men, −161 for women) and reporting the classic revised Harris-Benedict value alongside for comparison. The tdee endpoint computes the total daily energy expenditure, TDEE = BMR × an activity factor from sedentary (1.2) to very active (1.9), and the goal calories for maintenance, mild and standard weight loss and weight gain — a 500 kcal/day deficit or surplus is about 0.45 kg per week. The macros endpoint splits a calorie target into protein, fat and carbohydrate grams, with protein set per kilogram of bodyweight (4 kcal/g protein and carbs, 9 kcal/g fat). Everything is computed locally and deterministically, so it is instant and private. Ideal for fitness, nutrition and health-app developers, diet and meal-planning tools, gym and coaching apps, and wellness dashboards. Pure local computation — no key, no third-party service, instant. Live, nothing stored. Estimates only, not medical advice. 3 endpoints. This is metabolic-rate and calorie maths; for body-mass-index use a BMI calculator.

api.oanor.com/bmr-api

Health Calculator API

A complete health & fitness calculator suite in one API: Body Mass Index with category and healthy-weight range, Basal Metabolic Rate (Mifflin-St Jeor and Harris-Benedict), Total Daily Energy Expenditure with weight-loss/gain calorie targets, macronutrient splits (balanced, low-carb, high-protein, keto, endurance) with fibre, U.S. Navy body-fat percentage, ideal body weight across four classic formulas (Devine, Robinson, Miller, Hamwi), and daily water intake. Every endpoint accepts GET query parameters or a JSON POST body and works in both metric and imperial units. All computation is done locally with established public-domain equations, so responses are instant and the service is always available. Ideal for fitness trackers, nutrition apps, telehealth and wellness dashboards.

api.oanor.com/healthcalc-api

Food & Nutrition API

Look up packaged food products by barcode (EAN/UPC/GTIN) and get the product name, brand, ingredients, allergens, Nutri-Score, NOVA group, Eco-Score and per-100g nutrition facts — or search the catalogue by name. Backed by the Open Food Facts database. Ideal for nutrition trackers, diet and fitness apps, grocery and retail tools.

api.oanor.com/food-api

Recipes API

Search thousands of recipes with full cooking instructions and measured ingredients, fetch random meals, browse categories and filter by category, cuisine or main ingredient. Each recipe includes a photo, tags, YouTube tutorial and source link.

api.oanor.com/recipes-api