Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/sailing-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}