/v1/force
Suspension force at an angle
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
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_..."}
)
Example response
A real response from this endpoint, captured by the latest 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
}