/v1/stock
Fish stocking and pump turnover
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/pond-api/v1/stock" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pond-api/v1/stock", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pond-api/v1/stock");
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/pond-api/v1/stock",
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": "Stocking: about 1 koi per 250 gallons (they grow big and dirty) or 1 goldfish per 20. Circulate the whole pond at least once an hour for koi — pump GPH = gallons ÷ turnover hours, and size up for head height and tubing losses. Under-stock and over-filter for clear water.",
"inputs": {
"gallons": 718,
"turnover_hours": 1
},
"max_koi": 2,
"max_goldfish": 35,
"pump_gph_for_turnover": 718
},
"meta": {
"timestamp": "2026-06-06T15:30:48.383Z",
"request_id": "e0cb4d96-7b22-43ad-8f1d-b8c79e39c6d1"
},
"status": "ok",
"message": "Fish stocking",
"success": true
}