Naar de inhoud
GET /v1/force

Suspension force at an angle

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/hammock-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

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