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/wormgear-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Metric (mm, °, %). ratio = teeth/starts; lead = starts·π·module; lead angle = atan(lead/(π·d)); efficiency = tan λ / tan(λ+φ), φ = atan μ; self-locking when λ ≤ φ. For spur gears use a spur-gear API; for a general ratio a gear-ratio API.",
        "service": "wormgear-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/ratio": "Gear ratio from worm starts and wheel teeth.",
            "GET /v1/geometry": "Lead, lead angle and self-locking from the worm geometry.",
            "GET /v1/efficiency": "Mesh efficiency (worm driving) from lead angle and friction."
        },
        "description": "Worm-gear maths: gear ratio, lead angle and self-locking test, and mesh efficiency."
    },
    "meta": {
        "timestamp": "2026-06-07T08:18:08.289Z",
        "request_id": "f7ab9973-e609-4207-907d-6e77a27f5edc"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}