Developer Portal
InsightsPurpleTRACMTI
Podium
Podium
  • Metric I/O
  • Route Optimisation
Other
Other
  • Weather
InsightsPurpleTRACMTI
Podium
Podium
  • Metric I/O
  • Route Optimisation
Other
Other
  • Weather
  1. Voyages
  • Podium Route Optimisation
  • Authentication
    • Sign in
      POST
    • Refresh the access token
      PUT
  • Ports
    • Get ports by name
      GET
    • Get ports near a position
      GET
  • Routing Points
    • Get all routing points
      GET
  • Routes
    • Create a route from waypoints
      POST
    • Create a route between two port names
      POST
    • Create a route between two UN/LOCODEs
      POST
  • Voyages
    • Create a voyage
      POST
    • Get vessel models
      GET
    • Get a voyage
      GET
    • Start the voyage calculation
      GET
    • Get the voyage computation
      GET
    • Get the optimised routes
      GET
    • Export an optimised route
      GET
  • Schemas
    • PodiumRoutesMetaInfo
    • PodiumRoutesError
    • PodiumRoutesAuthError
    • PodiumRoutesValidationProblem
    • PodiumRoutesSignInRequest
    • PodiumRoutesSignInResponse
    • PodiumRoutesRefreshTokenRequest
    • PodiumRoutesRefreshTokenResponse
    • PodiumRoutesPort
    • PodiumRoutesPortByLocation
    • PodiumRoutesRoutingPoint
    • PodiumRoutesRouteLeg
    • PodiumRoutesRoutePoint
    • PodiumRoutesRouteRequest
    • PodiumRoutesRouteByPortRequest
    • PodiumRoutesRouteByUnLocodeRequest
    • PodiumRoutesRouteResponse
    • PodiumRoutesVoyageConstraints
    • PodiumRoutesVoyageFuel
    • PodiumRoutesVoyageTweaks
    • PodiumRoutesVoyageArrivalWindow
    • PodiumRoutesVoyageCustomAreas
    • PodiumRoutesVoyageValidator
    • PodiumRoutesVoyageTimeWindow
    • PodiumRoutesVoyageStops
    • PodiumRoutesVoyageLinkedResource
    • PodiumRoutesVoyageDataFeeds
    • PodiumRoutesVoyageSavings
    • PodiumRoutesVoyageOptions
    • PodiumRoutesVoyageRequest
    • PodiumRoutesVesselPosition
    • PodiumRoutesVoyage
    • PodiumRoutesVoyageResponse
    • PodiumRoutesComputationResponse
    • PodiumRoutesRouteVariant
    • PodiumRoutesRouteFeatures
    • PodiumRoutesComputedRoutesResponse
    • PodiumRoutesVesselModel
    • PodiumRoutesVesselModelsResponse
  1. Voyages

Create a voyage

Production
https://route-api.polestar-production.com
Production
https://route-api.polestar-production.com
POST
https://route-api.polestar-production.com
/v1/voyages
Creates a voyage by binding a route to a vessel model, a departure time and a set of optimisation options.
A voyage is the unit that is calculated; a route on its own is only geography.
Creating a voyage returns a voyage_id straight away but does not start the calculation. To start it, call
GET /v1/voyages/{voyage_id}/start. To fetch the optimised routes once it completes, call
GET /v1/voyages/{voyage_id}/routes.
The checks run in this order, and the first failure is returned as 422:
1.
route_id is set and options is present.
2.
vessel_id is one of the ids returned by GET /v1/voyages/vessel-models.
3.
Speeds:
min_service_speed ≥ 0.
min_service_speed ≤ max_service_speed.
min_service_speed ≤ min_cruise_speed ≤ max_cruise_speed ≤ max_service_speed.
4.
etd_window is between 0 and 48.
5.
fuel is present and daily_rate ≥ 0.
6.
constraints is present:
max_wind_cruise_speed is less than max_wind_service_speed (strictly). Both wind values must be set.
max_wave_cruise_height ≤ max_wave_service_height.
All of them are ≥ 0.
7.
start_time is set.
8.
operational_mode is SOG, STW or PWR. Case does not matter.
9.
If custome_areas is sent, its id is a GUID and properties is present.
Feature permission: create-voyage

Request

Authorization
Body Params application/jsonRequired

Examples

Responses

🟢201Created
application/json
Voyage created.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠422Parameter Error
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://route-api.polestar-production.com/v1/voyages' \
--header 'Content-Type: application/json' \
--data '{
    "route_id": "9e8d7c6b-5a49-4382-a1b0-c9d8e7f6a5b4",
    "vessel_id": "08dcad87-3f97-4e2f-8841-7aa8a079477a",
    "description": "Rotterdam to Singapore, Panamax bulker",
    "start_time": "2026-11-10T08:00:00Z",
    "options": {
        "min_service_speed": 9,
        "max_service_speed": 15,
        "min_cruise_speed": 11,
        "max_cruise_speed": 13,
        "vessel_draft": 12.5,
        "etd_window": 0,
        "navigation_mode": 0,
        "operational_mode": "SOG",
        "use_suez": true,
        "use_panama": false,
        "avoid_piracy": true,
        "land_proximity": 5,
        "daily_rate": 15000,
        "fuel": [
            {
                "type": 0,
                "tag": "LSMGO",
                "cost": 750,
                "nvc": 0
            },
            {
                "type": 1,
                "tag": "VLSFO",
                "cost": 600,
                "nvc": 0
            }
        ],
        "constraints": {
            "max_turning_angle": 30,
            "max_wind_service_speed": 25,
            "max_wind_cruise_speed": 20,
            "max_wave_service_height": 6,
            "max_wave_cruise_height": 4
        }
    }
}'
Response Response Example
201 - Success Example
{
    "meta": {
        "request_id": "4a5b6c7d-8e9f-4a0b-9c1d-2e3f4a5b6c7d",
        "request_timestamp": "2026-11-05T10:20:00.0000000Z"
    },
    "data": {
        "voyage_id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
        "route_id": "9e8d7c6b-5a49-4382-a1b0-c9d8e7f6a5b4",
        "vessel_id": "08dcad87-3f97-4e2f-8841-7aa8a079477a",
        "description": "Rotterdam to Singapore, Panamax bulker",
        "advanced_options": null,
        "start_time": "2026-11-10T08:00:00",
        "status": "",
        "creation_date": "2026-11-05T10:20:00",
        "last_used_date": "2026-11-05T10:20:00",
        "vessel_positions": null,
        "options": {
            "min_service_speed": 9,
            "max_service_speed": 15,
            "min_cruise_speed": 11,
            "max_cruise_speed": 13,
            "operational_mode": "SOG",
            "navigation_mode": 0
        }
    }
}
Modified at 2026-11-16 11:06:47
Previous
Create a route between two UN/LOCODEs
Next
Get vessel models
Built with