/v1/line-capacity
Reel capacity at a new line diameter
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}