/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/momentofinertia-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/momentofinertia-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/momentofinertia-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/momentofinertia-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "SI units (kg, m → kg·m²). This is rigid-body rotational inertia; for stored rotational energy and flywheels use a flywheel API.",
"service": "momentofinertia-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/shape": "Moment of inertia and radius of gyration for a named shape.",
"GET /v1/shapes": "Catalog of supported shapes and their formulas.",
"GET /v1/parallel-axis": "Shift a moment of inertia to a parallel axis (I = I_cm + m·d²)."
},
"description": "Moment of inertia of standard rigid bodies, the parallel-axis (Steiner) theorem, and the radius of gyration."
},
"meta": {
"timestamp": "2026-06-05T19:50:31.653Z",
"request_id": "bdd61033-9366-4537-a65a-d67c36e37e9c"
},
"status": "ok",
"message": "Meta",
"success": true
}