/v1/simple
Simple pendulum
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/simple" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pendulum-api/v1/simple", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pendulum-api/v1/simple");
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/simple",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "Small-angle (θ→0) period. Pass an 'amplitude' in degrees for the large-angle correction.",
"inputs": {
"length": 1,
"gravity": 9.81,
"amplitude_deg": 0
},
"period_s": 2.006067,
"solved_for": null,
"frequency_hz": 0.498488,
"angular_frequency": 3.132092,
"large_angle_period_s": 2.006067,
"large_angle_correction_factor": 1
},
"meta": {
"timestamp": "2026-06-04T10:18:37.255Z",
"request_id": "c568febb-7005-4197-891d-a273dac0dd5a"
},
"status": "ok",
"message": "Simple pendulum",
"success": true
}