ZeqTrajectory — Multi-Body Optimization
Multi-body trajectory optimization using RK4 solver with gravitational operator coupling. Compute optimal transfer orbits between planets.
| Endpoint | POST /api/space/trajectory/optimize |
| Auth | api-key |
| Rate limit | 10/min |
| Category | space |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
origin | string | Yes | Departure body. |
destination | string | Yes | Target body. |
departureWindow | number | No | Search window in days. Default: 365. |
payloadKg | number | No | Payload mass. |
Returns
{ optimalLaunchDate, totalDeltaV, flightTimeDays, trajectory: [{ t, x, y, z }], fuelMassKg }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"origin": "<origin>",
"destination": "<destination>",
"departureWindow": 365,
"payloadKg": 1000
}' \
"https://zeqsdk.com/api/space/trajectory/optimize"
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-trajectory.