Vai al contenuto
GET /v1/layer-pull

Line pull and speed at a layer

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/winch-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}