Ir al contenido
GET /v1/angle

4:1 setup angle and reach

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

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/ladder-api/v1/angle" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ladder-api/v1/angle", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ladder-api/v1/angle");
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/ladder-api/v1/angle",
    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": "The 4:1 rule sets the base out one foot for every four feet of working length, which lands the ladder at about 75.5° — steep enough not to tip back, shallow enough not to slide out. A 24-foot ladder sits 6 feet from the wall and reaches ~23 feet up. An easy check: stand at the base, arms straight out, and your palms should just touch a rung.",
        "inputs": {
            "ladder_length_ft": 24
        },
        "angle_deg": 75.5,
        "base_distance_ft": 6,
        "vertical_height_ft": 23.24
    },
    "meta": {
        "timestamp": "2026-06-06T23:53:59.880Z",
        "request_id": "eab647c6-44d9-4e08-9274-d7ffa7bf10b0"
    },
    "status": "ok",
    "message": "Setup angle",
    "success": true
}