Travel
Send a replicant somewhere. The nav system figures out the route for you. It can be lonely in the black.
Endpoint
POST /v1/replicants/{code}/travel
Body parameters
| Name | Type | Description |
|---|---|---|
destination | string | A location code. Star, planet, moon, belt, Lagrange point - anything in the location grammar. |
Example
$ curl -X POST https://api.replicant.space/v1/replicants/57F0F6C8/travel \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"destination": "SOL"}' {
"departed_at": "2026-05-10T08:23:45+01:00",
"arrives_at": "2026-05-10T08:55:27+01:00",
"destination": "SOL",
"route": {
"distance_ly": 42.2915,
"from": "PORRAMA-KUIPER",
"to": "SOL-5-L4",
"time_seconds": 1902,
"type": "surge"
},
"status": "travel_initiated"
}