Naar de inhoud
GET /v1/sink-time

Lure countdown to a depth

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/fishing-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Countdown time = depth ÷ sink rate. Cast, let the lure sink while you count, then retrieve at that depth — a typical countdown minnow sinks about a foot a second, so a 'count of ten' fishes around ten feet. Sink rate drops with line drag, current and lighter line; calibrate by counting until you tick bottom at a known depth.",
        "inputs": {
            "depth": 30,
            "sink_rate": 1.5
        },
        "sink_seconds": 20
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:42.422Z",
        "request_id": "4b822322-0712-4064-9330-7747d34291e2"
    },
    "status": "ok",
    "message": "Sink time",
    "success": true
}