Search routes

This endpoint allows you to create a new route by providing details such as type, from location, to location, mode of transport, and departure date.

Request Body

  • type (string, required): Specifies the type of route, e.g. historical.
  • from (string, required): The location code of the departure point.
  • to (string, required): The location code of the destination.
  • mode (string, required): The mode of transport, e.g. sea.
  • departureDate (string, required): The date of departure in the format YYYY-MM-DD.

Response

The response will be a JSON array containing details of the created route, including the object id, type, from and to locations, departure and arrival details, duration, carriers, distance, legs, and asset information.

Language
Credentials
Header
Click Try It! to start a request and see the response here!