/v1/feed
Daily ration and feed for gain
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/aquaculture-api/v1/feed" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aquaculture-api/v1/feed", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aquaculture-api/v1/feed");
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/aquaculture-api/v1/feed",
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": {
"fcr": 1.2,
"note": "Daily ration = biomass × the feeding rate (% of body weight/day) — smaller, warmer fish eat a higher percentage, large fish less. To reach a target gain, feed = gain × FCR (feed conversion ratio): a good pellet diet runs an FCR around 1.0–1.5, so it takes ~1.2 kg of feed per kg of fish grown. Overfeeding wastes money and fouls the water.",
"inputs": {
"biomass_kg": 300,
"feed_rate_pct": 2
},
"daily_feed_kg": 6,
"feed_for_gain_kg": 120
},
"meta": {
"timestamp": "2026-06-06T15:30:42.653Z",
"request_id": "60d5130a-9ddf-442f-82a4-1058724088f4"
},
"status": "ok",
"message": "Feed",
"success": true
}