Zum Inhalt springen
GET /v1/stock

Fish stocking and pump turnover

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/pond-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "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
}