/v1/stocking
Fish count from biomass density
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/aquaculture-api/v1/stocking" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aquaculture-api/v1/stocking", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aquaculture-api/v1/stocking");
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/stocking",
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": "Stock count = target biomass ÷ average fish weight, where biomass = density × volume. Safe density depends on species and system — flow-through and pond systems run lighter, a well-oxygenated RAS far heavier (trout 40–80 kg/m³). Stock to the HARVEST weight, not the fingerling weight, or the tank overloads as they grow.",
"inputs": {
"volume_m3": 10,
"avg_weight_g": 250,
"density_kg_m3": 30
},
"fish_count": 1200,
"max_biomass_kg": 300
},
"meta": {
"timestamp": "2026-06-06T15:30:42.827Z",
"request_id": "1f509ebf-6dc2-4894-89f2-2039b8ceb2c3"
},
"status": "ok",
"message": "Stocking",
"success": true
}