/v1/feeding
Prey size and feeding interval
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/reptile-api/v1/feeding" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/reptile-api/v1/feeding", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/reptile-api/v1/feeding");
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/reptile-api/v1/feeding",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "A meal of roughly 10–15 % of body weight, no wider than the widest part of the animal, every interval shown — younger animals eat smaller meals more often. Power-feeding to grow fast shortens lifespans; a lean, slow-grown reptile is a healthy one. Always provide a warm side for digestion.",
"inputs": {
"life_stage": "adult",
"body_weight_g": 500
},
"prey_weight_max_g": 60,
"prey_weight_min_g": 40,
"feeding_interval_days": 14
},
"meta": {
"timestamp": "2026-06-06T15:30:48.000Z",
"request_id": "0639a817-3c38-4670-b427-1f57abdf4a05"
},
"status": "ok",
"message": "Feeding",
"success": true
}