Skip to content
GET /v1/capacity

Rope capacity, layers and turns

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/winch-api

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "note": "The rope a drum holds = the sum, over every full layer, of the turns per layer × π × that layer's mean wrap diameter. Turns per layer = drum width ÷ rope diameter; the number of layers = the flange-to-barrel depth ÷ rope diameter. Each outer layer holds more because its circumference is larger — which is also why the line pulls weaker and faster as it fills (see /v1/layer-pull). Real capacity is a touch less for nesting and freeboard.",
        "inputs": {
            "drum_width_in": 12,
            "rope_diameter_in": 0.5,
            "barrel_diameter_in": 10,
            "flange_diameter_in": 20
        },
        "full_layers": 10,
        "turns_per_layer": 24,
        "rope_capacity_ft": 942.5
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:56.963Z",
        "request_id": "2cf0cc87-9d60-4dca-a240-51986454ced0"
    },
    "status": "ok",
    "message": "Drum capacity",
    "success": true
}