# Pet Care Calc Pet energy needs, food portions, dog age conversions, aquarium volume and weight, water changes and feeding schedules. ## How to pay Machine-payable over x402. USDC on: Base (eip155:8453), Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp), Polygon (eip155:137), Arbitrum One (eip155:42161). No accounts. No API keys. No signup. The paying wallet is the account. ## Machine-readable - OpenAPI: https://pet-calc.x402tookit.com/openapi.json - x402 manifest: https://pet-calc.x402tookit.com/.well-known/x402 - Catalog (free): https://pet-calc.x402tookit.com/catalog - Health (free): https://pet-calc.x402tookit.com/health - Uptime (free): https://pet-calc.x402tookit.com/uptime ## Endpoints (8) ### GET /aquarium-volume — $0.02 Aquarium volume in US gallons and litres from inside dimensions, usable water after substrate, and the water's weight. Params: length: number, width: number, height: number, unit?: string, usablePercent?: number Example: https://pet-calc.x402tookit.com/aquarium-volume?length=30&width=12&height=12&unit=in ### GET /daily-energy — $0.02 Daily calories for a dog or cat from weight, species and life stage (neutered adult, weight loss, working, young). Params: species: string, lifeStage?: string, weight: number, unit?: string Example: https://pet-calc.x402tookit.com/daily-energy?species=dog&lifeStage=neutered-adult&weight=10 ### GET /dog-age — $0.02 Human-equivalent age of a dog by the AVMA 15-9-5 rule and the 2020 epigenetic-clock formula 16 ln(age) + 31. Params: dogYears: number Example: https://pet-calc.x402tookit.com/dog-age?dogYears=7 ### GET /feeding-schedule — $0.02 Split a daily food amount into evenly spaced meals between a first and last feeding time, with 12-hour clock times. Params: dailyAmount: number, meals: integer, firstMealHour?: number, lastMealHour?: number Example: https://pet-calc.x402tookit.com/feeding-schedule?dailyAmount=175&meals=3&firstMealHour=7&lastMealHour=19 ### GET /food-portion — $0.02 Grams, cups and per-meal portions of pet food from daily kcal and the food's kcal per kg or per cup, with a treat allowance. Params: dailyKcal: number, kcalPerKg?: number, kcalPerCup?: number, gramsPerCup?: number, meals?: integer, treatPercent?: number Example: https://pet-calc.x402tookit.com/food-portion?dailyKcal=630&kcalPerKg=3600&gramsPerCup=105&meals=2 ### GET /ideal-weight-bcs — $0.02 Estimate a dog's or cat's ideal weight from current weight and a 1-9 body condition score (10% per point above 5). Params: weight: number, unit?: string, bodyConditionScore: integer Example: https://pet-calc.x402tookit.com/ideal-weight-bcs?weight=25&unit=kg&bodyConditionScore=7 ### GET /resting-energy — $0.02 Resting energy requirement (RER) in kcal/day for a dog or cat from body weight, using 70 x kg^0.75 and the linear shortcut. Params: weight: number, unit?: string Example: https://pet-calc.x402tookit.com/resting-energy?weight=10&unit=kg ### GET /water-change — $0.02 Nitrate left after partial water changes, changes needed to reach a target, and the litres or gallons per change. Params: tankVolume: number, changePercent: number, startPpm: number, targetPpm?: number, changes?: integer, tapPpm?: number Example: https://pet-calc.x402tookit.com/water-change?tankVolume=20&changePercent=25&startPpm=40&targetPpm=20 ## Terms Pet-care arithmetic computed locally from the numbers given, using published veterinary-nutrition formulas, provided as is. These are planning estimates for healthy adult animals and are NOT veterinary advice: pets with illness, pregnancy, growth, obesity or special diets need a veterinarian's plan, and no medication doses are calculated here. Ask your vet before changing a diet.