/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/petfood-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/petfood-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/petfood-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "RER = 70 × kg^0.75; MER = RER × lifestage factor. Weight in kg or lb. Energy density from the food label (kcal/100g or kcal/cup). Educational estimates — consult a veterinarian for medical or weight plans.",
"service": "petfood-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/water": "Daily water requirement for a dog or cat.",
"GET /v1/portion": "Daily and per-meal food amount from the calorie need and the food's kcal density.",
"GET /v1/calories": "Resting (RER) and maintenance (MER) daily calories by species, weight and lifestage."
},
"description": "Pet-nutrition maths: daily caloric needs (RER/MER), food portion from energy density, and water requirement for dogs and cats."
},
"meta": {
"timestamp": "2026-06-06T07:14:03.969Z",
"request_id": "e32add6a-af3a-4a38-a5c8-86c108447bd9"
},
"status": "ok",
"message": "Meta",
"success": true
}