Vai al contenuto
GET /v1/water

Daily water requirement

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/petfood-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}