/v1/layer-pull
Line pull and speed at a layer
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}