/v1/stock
Fish stocking and pump turnover
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/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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}