/v1/layer-pull
Line pull and speed at a layer
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/winch-api/v1/layer-pull" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/winch-api/v1/layer-pull", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/winch-api/v1/layer-pull");
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/winch-api/v1/layer-pull",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "A winch's rated pull is for the first (bare-drum) layer; as rope piles on, the effective lever arm grows, so the line pull falls and the line speed rises in the same ratio — pull × (first-layer diameter ÷ this layer's diameter). On a deep drum the top layer can pull barely half the bottom-layer rating, which is why you spool off to the bare drum for a hard pull, or add a snatch block.",
"inputs": {
"layer": 5,
"rope_diameter_in": 0.5,
"bare_drum_pull_lb": 10000,
"barrel_diameter_in": 10
},
"line_speed_factor": 1.381,
"effective_line_pull_lb": 7241.4,
"layer_mean_diameter_in": 14.5
},
"meta": {
"timestamp": "2026-06-07T08:17:57.071Z",
"request_id": "38ee8458-d033-4f1f-b82a-76262e800d8e"
},
"status": "ok",
"message": "Layer pull",
"success": true
}