/v1/ballast
Ballast ratio
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}