Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/sailing-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}