Zum Inhalt springen
GET /v1/line-capacity

Reel capacity at a new line diameter

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/fishing-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Line lies on the spool by cross-sectional area, so capacity scales with the inverse square of diameter: new capacity = rated × (rated diameter ÷ new diameter)². A thinner line packs more on, a thicker one less. Use the same unit for both diameters (mm or inches) and the capacity comes out in the rated unit (yards or metres).",
        "inputs": {
            "new_diameter": 0.35,
            "rated_capacity": 100,
            "rated_diameter": 0.3
        },
        "new_capacity": 73.5,
        "capacity_ratio": 0.735
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:42.322Z",
        "request_id": "f9ff79fd-516a-4614-9f7b-ea6612150a1d"
    },
    "status": "ok",
    "message": "Line capacity",
    "success": true
}