Naar de inhoud
GET /v1/ballast

Ballast ratio

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "band": "high (stiff / offshore)",
        "note": "Ballast ratio = ballast ÷ displacement × 100, a rough proxy for stiffness (sail-carrying power). Most cruisers sit near 35–45 %; it ignores keel depth and hull form, which also drive stability.",
        "inputs": {
            "ballast_lb": 4000,
            "displacement_lb": 10000
        },
        "ballast_ratio_percent": 40
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:04.523Z",
        "request_id": "3700ea0a-c5af-4f6f-937c-df03f776d7fa"
    },
    "status": "ok",
    "message": "Ballast ratio",
    "success": true
}