Skip to content
GET /v1/tension

Line tension from sag and load

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/slackline-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/slackline-api/v1/tension" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slackline-api/v1/tension", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slackline-api/v1/tension");
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/slackline-api/v1/tension",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "A person at mid-span pulls the line into a shallow V; vertical balance gives 2·T·sin(angle) = the body weight, so the flatter the line (smaller sag angle) the more the tension blows up — pulling a slackline drum-tight to kill the sag is exactly what loads the anchors to many times body weight. The anchor's horizontal pull is T·cos(angle), nearly the full tension on a tight line. This is point-load statics, not a self-weight catenary.",
        "inputs": {
            "sag_m": 1.5,
            "load_kg": 80,
            "line_length_m": 25
        },
        "tension_kgf": 335.7,
        "load_force_n": 784.53,
        "sag_angle_deg": 6.843,
        "line_tension_n": 3292.3,
        "anchor_horizontal_n": 3268.9
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:55.966Z",
        "request_id": "1d762a05-0296-4ee3-86fe-3d7ee9c41c50"
    },
    "status": "ok",
    "message": "Line tension",
    "success": true
}