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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "Idealised, no air resistance or string mass. Default g = 9.81 m/s². The simple-pendulum period is the small-angle limit unless an amplitude is given.",
        "service": "pendulum-api",
        "formulae": {
            "simple": "T = 2π·√(L/g)",
            "conical": "T = 2π·√(L·cosθ/g),  r = L·sinθ,  tension = m·g/cosθ",
            "physical": "T = 2π·√(I/(m·g·d)),  L_eq = I/(m·d)"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/simple": "Simple pendulum period T = 2π√(L/g); solves length from a period; optional large-angle correction.",
            "GET /v1/conical": "Conical pendulum period, circle radius, bob speed and string tension.",
            "GET /v1/physical": "Physical/compound pendulum T = 2π√(I/(m·g·d)) and the equivalent simple-pendulum length."
        },
        "description": "Gravity-driven pendulum calculator: simple, physical (compound) and conical pendulum periods, frequencies and dynamics under constant gravity."
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:37.380Z",
        "request_id": "b516af10-1ae9-413f-abb1-c9e8c2311cba"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}