Back

#dog

1 APIs with this tag

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