Ir al contenido
GET /v1/period

Kepler period ↔ semi-major axis

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/orbital-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "gm": 398600441800000,
        "mode": "period_to_axis",
        "note": "For Earth (T = 86164 s, one sidereal day) this gives the geostationary radius (~42,164 km).",
        "formula": "a = (GM·T² / 4π²)^(1/3).",
        "altitude": {
            "m": 35793140.1,
            "km": 35793.14
        },
        "central_body": "earth",
        "orbital_period": {
            "days": 0.997269,
            "hours": 23.93444,
            "minutes": 1436.0667,
            "seconds": 86164
        },
        "semi_major_axis": {
            "m": 42164140.1,
            "km": 42164.14
        }
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:02.072Z",
        "request_id": "f38c5a41-a0d9-4e84-b21c-8950da182ff8"
    },
    "status": "ok",
    "message": "Kepler period <-> semi-major axis",
    "success": true
}