Ir al contenido
GET /v1/liner

Liner size to fit a pond

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/pond-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/pond-api/v1/liner" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pond-api/v1/liner", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pond-api/v1/liner");
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/liner",
    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": "Liner length = pond length + 2 × max depth + 2 × overlap (same for width). The depth wraps up both sides and you need ~1 ft of overlap each edge to anchor under stone. Add underlayment of the same size to protect against punctures.",
        "inputs": {
            "width_ft": 6,
            "length_ft": 8,
            "overlap_ft": 1,
            "max_depth_ft": 2
        },
        "liner_width_ft": 12,
        "liner_area_sqft": 168,
        "liner_length_ft": 14
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:48.284Z",
        "request_id": "438d2215-bacb-4483-97b7-7bb145e951c3"
    },
    "status": "ok",
    "message": "Liner size",
    "success": true
}