/v1/meta
Spec
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/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sailing-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sailing-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "Imperial units (feet, pounds, ft²). Hull speed = 1.34 × √LWL knots. SA/D uses displaced volume = displacement ÷ 64 lb/ft³ (seawater). DLR uses long tons. These are design-ratio estimates, not a VPP. For weather routing use a different API.",
"service": "sailing-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/ratios": "SA/D and DLR performance ratios from sail area, displacement and LWL.",
"GET /v1/ballast": "Ballast ratio from ballast and displacement weights.",
"GET /v1/hullspeed": "Theoretical displacement hull speed from waterline length."
},
"description": "Sailing / naval-architecture maths: hull speed, sail-area/displacement & displacement/length ratios, and ballast ratio."
},
"meta": {
"timestamp": "2026-06-06T07:14:04.787Z",
"request_id": "fdd50eb6-d707-41cd-aecd-ec90189471ea"
},
"status": "ok",
"message": "Meta",
"success": true
}