Back

#pet

2 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

Dog & Cat Age API

Pet-age conversion as an API, computed locally and deterministically. The dog endpoint converts a dog’s age in years to a human-equivalent age three ways: the modern epigenetic model from the 2019 UCSD DNA-methylation study, human = 16·ln(dog_age) + 31 (valid from age 1), which makes a 1-year-old dog about 31, a 4-year-old about 53 and a 10-year-old about 68 human years; the American Kennel Club size-based table for small, medium, large and giant breeds, interpolated between yearly anchor points so a large breed ages faster late in life; and the old ×7 rule of thumb for comparison. The cat endpoint converts a cat’s age, counting 15 human years in the first year, 24 by the second, and four per year after that, so a 10-year-old cat is about 56. Ages are in years and decimals are allowed. Everything is computed locally and deterministically, so it is instant and private. Ideal for pet, veterinary, animal-shelter, pet-insurance and lifestyle app developers, dog-years and pet-profile widgets, and fun tools. These are estimates for general guidance, not veterinary advice. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 2 endpoints. This is pet-to-human age; for human body metrics use a BMI or body-fat API.

api.oanor.com/dogage-api