Skip to main content

ZeqOrbit — Orbital Mechanics

Orbital mechanics computation using gravitational physics operators. Hohmann transfers, orbital elements, period, velocity — all synced to Zeqond time.

EndpointPOST /api/space/orbit/compute
Authapi-key
Rate limit20/min
Categoryspace

Parameters

NameTypeRequiredDescription
centralBodystringNo'earth', 'mars', 'moon', 'sun', 'jupiter'. Default: 'earth'.
altitudeKmnumberYesOrbital altitude in km.
inclinationnumberNoOrbital inclination (degrees). Default: 0.

Returns

{ period, velocityMs, semiMajorAxis, eccentricity, hohmannDeltaV, orbitalElements }

Example

curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"centralBody": "earth",
"altitudeKm": 0,
"inclination": 0
}' \
"https://zeqsdk.com/api/space/orbit/compute"

This protocol is a named building block — one of the operations you compose inside a state contract. Call it directly with the request above, or invoke it from a contract that fires on your machine's clock. Browse the whole library at GET /api/protocols; fetch this one at GET /api/protocols/zeq-orbit.