/v1/ratios
SA/D and DLR ratios
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/sailing-api/v1/ratios" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sailing-api/v1/ratios", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sailing-api/v1/ratios");
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/ratios",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "SA/D = sail area ÷ (displaced volume in ft³)^(2/3); ~16–18 is a typical cruiser, 20+ is sporty. DLR = (displacement in long tons) ÷ (0.01 × LWL)³; under 200 is light, over 300 heavy.",
"inputs": {
"lwl_ft": 25,
"sail_area_sqft": 400,
"displacement_lb": 10000
},
"dlr_class": "moderate",
"sad_class": "cruiser",
"displaced_volume_cuft": 156.25,
"displacement_length_ratio": 285.7,
"sail_area_displacement_ratio": 13.79
},
"meta": {
"timestamp": "2026-06-06T07:14:04.703Z",
"request_id": "4db20b9e-a972-4c27-a7ed-5950f19d0d59"
},
"status": "ok",
"message": "Design ratios",
"success": true
}