Skip to main content

Get detailed route information with waypoints

GET 

/company/minimal/route

Retrieves detailed geographical and temporal information for a freight transport route, including intermediate points for map visualization and journey planning.

Objective

To provide complete route data for GPS navigation, map rendering, and logistics planning systems.

Use Cases

  • Display routes on map interfaces for drivers and managers
  • Calculate accurate ETA (Estimated Time of Arrival)
  • Plan rest stops and refueling points along the route
  • Visualize alternative routes in logistics planning tools
  • Generate turn-by-turn navigation instructions
  • Track driver progress against the planned route

Response Information

  • distance: Total route distance in meters
  • duration: Estimated travel time in seconds
  • points: Array of GPS coordinates defining the route path
  • tolls: Toll information when with_tolls=true
  • departure/arrival: Estimated departure and arrival timestamps

Parameter Priority

Location identifier priority (same as in /co2):

  1. id (auction_id): Use the auction's addresses
  2. idEtl/idEtd: Address IDs from the database
  3. zipcodeStart/zipcodeEnd: Search by postal code
  4. coordsStart/coordsEnd: GPS coordinates
  5. countryOrigin/countryDestiny: Country codes

Error Responses

  • 400: Invalid parameters or missing location identifiers
  • 404: Addresses or auction not found
  • 500: External routing service error

Request

Responses

Route information obtained successfully.