Naar de inhoud
GET /v1/conical

Conical pendulum

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}