/v1/drag
Drag setting from line strength
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/fishing-api/v1/drag" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fishing-api/v1/drag", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fishing-api/v1/drag");
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/drag",
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": "Set the drag to about 25–33 % of the line's breaking strength — measured at the reel with a scale, with line off the rod tip, not at the spool. That lets a fish run before anything snaps while still tiring it. Braid can take the higher end; a stretchy mono or a fragile knot, the lower. Back off the drag when a big fish is close to the boat.",
"inputs": {
"line_test": 20
},
"percent": 30,
"drag_max": 6.6,
"drag_min": 5,
"drag_at_percent": 6
},
"meta": {
"timestamp": "2026-06-06T15:30:42.228Z",
"request_id": "9d9a655a-10f1-4d07-9816-d06fd4dafd56"
},
"status": "ok",
"message": "Drag setting",
"success": true
}