Ir al contenido
GET /v1/force

Suspension force at an angle

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

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/hammock-api/v1/force" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hammock-api/v1/force", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hammock-api/v1/force");
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/hammock-api/v1/force",
    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": "Each suspension line carries weight ÷ (2 × sin(hang angle)). The classic 30° hang puts about one body weight on each strap; flatten to 15° and it nearly doubles to ~1.9×, which is why a tight, level hang stresses straps, trees and your back. Aim for ~30°.",
        "inputs": {
            "weight": 200,
            "hang_angle_deg": 30
        },
        "force_per_side": 200,
        "total_on_each_tree": 200,
        "multiple_of_body_weight": 1
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:49.038Z",
        "request_id": "ef93194a-88cb-4354-bfe3-26086f17c35d"
    },
    "status": "ok",
    "message": "Suspension force",
    "success": true
}