Ir al contenido
GET /v1/pump-setting

Pump setting depth

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/wellpump-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

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