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. Route Optimisation
  • 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. Route Optimisation

Podium Route Optimisation

Route Optimisation plans a route for a vessel and returns optimised variants of it. It takes weather, vessel performance and your operating limits into account. It comes with a subscription to the Podium Voyage module.
Every endpoint is on https://route-api.polestar-production.com and takes a bearer token from sign-in. See Podium Authentication.

The workflow#

StepCallKeep
1. Sign inPOST /v1/auth/signinaccess_token, refresh_token
2. Pick a vessel modelGET /v1/voyages/vessel-modelsthe model's id, as vessel_id
3. Create a routePOST /v1/routes/by-unlocode, POST /v1/routes/by-port or POST /v1/routesroute_id
4. Create a voyagePOST /v1/voyagesvoyage_id
5. Start the calculationGET /v1/voyages/{voyage_id}/start
6. Wait for itGET /v1/voyages/{voyage_id}status
7. Fetch the resultsGET /v1/voyages/{voyage_id}/routes
8. Export a routeGET /v1/voyages/{voyage_id}/{type}/{format}/exportthe file

Creating a route#

The quickest route is between two UN/LOCODEs.
Use POST /v1/routes/by-port to name the ports instead, and POST /v1/routes to send your own waypoints.

Canals and straits#

GET /v1/routingPoints lists the canals, straits and passages a route can use, each open or closed by default. Pass their codes in routing_points_to_open or routing_points_to_close. A list you send replaces the default set for that list.
Opening a point that is closed by default
To open a point that is closed by default, such as KIE, also send routing_points_to_close with every other default-closed point. If you leave the close list out, the point ends up in both lists. To close a point that is open by default, such as SUZ, send the open list the same way.

Creating a voyage#

A voyage binds a route to a vessel model, a departure time and your optimisation options. Creating it does not start the calculation.
The options use these units.
OptionsUnit
Service and cruise speedsknots
Wind limits (max_wind_service_speed, max_wind_cruise_speed)metres per second
Wave height limits, vessel_draftmetres
max_turning_angledegrees
etd_windowhours, 0 to 48
daily_rateper day, in your chosen currency
Fuel costper tonne, in the same currency
Wind limits are not in knots
Speeds are in knots, but the wind limits are in metres per second. A wind limit sent in knots is almost twice as permissive as you meant.
fuel takes one entry for the low-sulphur fuel burned inside Emission Control Areas (type 0) and one for the fuel oil burned outside them (type 1).

Running the calculation#

GET /v1/voyages/{voyage_id}/start starts the optimisation. This GET changes state: call it once per voyage, and never prefetch or retry it automatically.
A calculation usually takes 10 to 15 minutes. Poll GET /v1/voyages/{voyage_id} every one to two minutes until status contains completed (done) or error (failed). Stop after about 30 minutes.
statusMeaning
emptyCreated, not started
state.enqueuedStarted and queued
state.task.completedFinished. The routes are ready
error.task.failedFailed
Other in-progress values may appear, so test for completed and error rather than matching exact values.
A computation is not a result
GET /v1/voyages/{voyage_id}/computations returns when a computation started. A 200 there does not mean the results are ready. Use the voyage status.

Reading the results#

GET /v1/voyages/{voyage_id}/routes returns one variant per objective.
VariantOptimised for
foaThe baseline (first-order approximation)
min_timeMinimum time
min_fuelMinimum fuel
best_tceThe cheapest voyage: lowest time-charter equivalent cost
best_dtaBest fit to the desired arrival time. Only when the voyage has dta, and it can't be exported
Each variant carries its waypoints and a features block of totals:
TotalUnit
distancedistance_unit, nautical miles by default
timehours (consumption.time is the same in days)
fuelOil, fuelLowSulfur, cO2tonnes
expenses, tceIn the currency of daily_rate and fuel cost. tce is the time-charter equivalent cost: fuel plus days at daily_rate. Lower is cheaper
savingspercent better than foa. Negative is worse
Everything inside routes is camelCase (creationDate, cO2, fuelLowSulfur), unlike the rest of the API. Ignore fields you don't recognise: more may be added.
Export one variant as Rtz, Csv, Txt or Json (zipped) with GET /v1/voyages/{voyage_id}/{type}/{format}/export.

Errors#

Errors carry status, title, detail and usually field. A missing or invalid value returns 422. A body that is not valid JSON returns 400. Quote meta.request_id from a response when you contact support.

Related#

Podium Authentication
Signing in, refreshing the token, and permissions.
Podium
What the Podium section covers.
Podium Metric I/O
Sensor and report timelines for your vessels.
Modified at 2026-11-16 11:07:02
Next
Sign in
Built with