Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/anchor-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/anchor-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/anchor-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/anchor-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/anchor-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "notes": "US units (feet, mph, lb). Rode = ratio × (depth + bow height); swing radius = √(rode² − vertical²) + boat length; wind load = 0.00256·Cd·A·V². Estimates — add current, waves and a safety margin; measure depth at high tide.",
        "service": "anchor-api",
        "endpoints": {
            "GET /v1/load": "Wind load on the boat (the holding force needed).",
            "GET /v1/meta": "This document.",
            "GET /v1/scope": "Rode to deploy for a scope ratio over depth + bow height.",
            "GET /v1/swing": "Swing radius and diameter around the anchor."
        },
        "description": "Boat-anchoring maths: the rode (scope) to let out, the swing circle around the anchor, and the wind load the ground tackle must hold."
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:02.077Z",
        "request_id": "a1eb72eb-f9d6-44e0-aad5-b6fa863e5b16"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}