Zum Inhalt springen
GET /v1/conical

Conical pendulum

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

Beispiel-Response

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

{
    "data": {
        "note": "Bob swinging in a horizontal circle; the string traces a cone at the given angle from vertical.",
        "inputs": {
            "mass": 1,
            "length": 1,
            "gravity": 9.81,
            "angle_deg": 30
        },
        "period_s": 1.866855,
        "bob_speed": 1.682826,
        "frequency_hz": 0.53566,
        "circle_radius_m": 0.5,
        "angular_velocity": 3.365652,
        "string_tension_n": 11.327612,
        "centripetal_force_n": 5.663806
    },
    "meta": {
        "timestamp": "2026-06-04T10:18:37.027Z",
        "request_id": "ee6419bc-7d9b-4184-a861-0d18bca982eb"
    },
    "status": "ok",
    "message": "Conical pendulum",
    "success": true
}