/v1/water
Daily water requirement
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/petfood-api/v1/water" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/petfood-api/v1/water", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/petfood-api/v1/water");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/petfood-api/v1/water",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Roughly 50–60 ml per kg per day for dogs, ~50 ml/kg for cats, including water from food. More in heat or with activity; wet-food diets supply much of it. Sudden big changes in drinking warrant a vet visit.",
"inputs": {
"unit": "kg",
"weight": 10,
"species": "dog",
"weight_kg": 10
},
"water_ml_per_day": 550,
"water_cups_per_day": 2.32
},
"meta": {
"timestamp": "2026-06-06T07:14:03.882Z",
"request_id": "79e3fc02-ec44-49ce-8539-37b85aade102"
},
"status": "ok",
"message": "Water needs",
"success": true
}