/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}