Aller au contenu
GET /v1/casing-volume

Standing water in a casing

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/wellpump-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/wellpump-api/v1/casing-volume" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wellpump-api/v1/casing-volume", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wellpump-api/v1/casing-volume");
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/casing-volume",
    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": "Standing water = gallons per foot × the water column, where gallons per foot = π/4 · diameter² × 12 ÷ 231 (≈ 1.47 gal/ft for a 6-inch casing, 0.65 for a 4-inch). It is what you need for shock-chlorination dosing and to purge a few well volumes before sampling.",
        "inputs": {
            "water_column_ft": 100,
            "casing_diameter_in": 6
        },
        "gallons_per_foot": 1.469,
        "standing_water_gallons": 146.9
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:58.779Z",
        "request_id": "d652c8bc-8e3e-4ec2-9dee-9d904377351e"
    },
    "status": "ok",
    "message": "Casing volume",
    "success": true
}