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. Routes
  • 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. Routes

Create a route from waypoints

Production
https://route-api.polestar-production.com
Production
https://route-api.polestar-production.com
POST
https://route-api.polestar-production.com
/v1/routes
Creates a route from an ordered list of waypoints. Use this endpoint when you need precise control over
the path: for example, to reproduce an existing route, set custom waypoints through difficult straits, or
build a route that a routing algorithm would not generate.
To create a route between two ports more simply, use POST /v1/routes/by-port or
POST /v1/routes/by-unlocode.
The response returns the full route with a generated route_id. Store it: you pass it to
POST /v1/voyages to optimise the route for a vessel and departure time.
Rules:
route_points must not be empty.
Every point needs latitude (-90 to 90) and longitude (-180 to 180).
A point's type is soft (the default) or hard.
A point's tag, if present, must be a GUID.
leg.type is Loxodrome (rhumb line) or Orthodrome (great circle). It is allowed only when verified
is true.
Feature permission: create-route

Request

Authorization
Body Params application/jsonRequired

Examples

Responses

🟢201Created
application/json
Route 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/routes' \
--header 'Content-Type: application/json' \
--data '{
    "description": "Rotterdam to Singapore via Suez",
    "verified": true,
    "route_points": [
        {
            "position": 0,
            "latitude": 51.95,
            "longitude": 4.14,
            "type": "hard",
            "leg": {
                "type": "Loxodrome"
            }
        },
        {
            "position": 1,
            "latitude": 36,
            "longitude": -5.6,
            "type": "soft",
            "leg": {
                "type": "Orthodrome"
            }
        },
        {
            "position": 2,
            "latitude": 1.26,
            "longitude": 103.84,
            "type": "hard"
        }
    ]
}'
Response Response Example
201 - Success Example
{
    "meta": {
        "request_id": "2f6b1c7e-9a3d-4e58-b1f2-6c7d8e9f0a1b",
        "request_timestamp": "2026-11-05T10:15:30.1234567Z"
    },
    "data": {
        "route_id": "9e8d7c6b-5a49-4382-a1b0-c9d8e7f6a5b4",
        "description": "Rotterdam to Singapore via Suez",
        "verified": true,
        "tag": null,
        "route_points": [
            {
                "latitude": 51.95,
                "longitude": 4.14,
                "position": 0,
                "leg": {
                    "type": "Loxodrome"
                },
                "tag": null,
                "port_codes": null,
                "type": "hard"
            },
            {
                "latitude": 36,
                "longitude": -5.6,
                "position": 1,
                "leg": {
                    "type": "Orthodrome"
                },
                "tag": null,
                "port_codes": null,
                "type": "soft"
            },
            {
                "latitude": 1.26,
                "longitude": 103.84,
                "position": 2,
                "leg": null,
                "tag": null,
                "port_codes": null,
                "type": "hard"
            }
        ]
    }
}
Modified at 2026-11-16 11:06:47
Previous
Get all routing points
Next
Create a route between two port names
Built with