Vai al contenuto
GET /v1/pump-setting

Pump setting depth

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/wellpump-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/wellpump-api/v1/pump-setting" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wellpump-api/v1/pump-setting", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wellpump-api/v1/pump-setting");
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/wellpump-api/v1/pump-setting",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Set the pump below the pumping water level (static level + drawdown) with enough submergence — usually 10–20 ft — so it never breaks suction and air-locks as the level draws down. Keep it above the screen and the bottom sediment, and leave room for a dry season dropping the static level further.",
        "inputs": {
            "drawdown_ft": 30,
            "submergence_ft": 20,
            "static_water_level_ft": 50
        },
        "pump_setting_depth_ft": 100,
        "pumping_water_level_ft": 80,
        "clearance_above_bottom_ft": 20
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:58.847Z",
        "request_id": "9ce26b27-ed08-4acb-94b7-d1b84fa59d6a"
    },
    "status": "ok",
    "message": "Pump setting",
    "success": true
}