osrmroute

OSRM Route Optimization API

Premium

Hosted OSRM (Open Source Routing Machine) — a production API without self-hosting.

Handle complex logistics and turn your fleet's toughest routing tasks into efficient delivery plans. Work with time windows, driver skills and custom vehicle constraints.

POST/api/1/vrp

Overview

The Route Optimization API turns a fleet's toughest planning problems into efficient delivery plans. Give it a set of vehicles and stops and it solves the Vehicle Routing Problem (VRP) — assigning stops to vehicles and ordering them to minimise total drive time and cost. It handles capacity, time windows and multiple depots, so dispatchers stop planning routes by hand and couriers drive fewer kilometres.

Time windows
Capacity constraints
Driver working-hour limits
Road-network route calculation

API reference

POST/api/1/vrp
ParameterTypeStatus
vehiclesarrayOptional
servicesarrayOptional
shipmentsarrayOptional
profilestringOptional

Example request

Credit cost: 10 credits + 1 per stop
curl -X POST "https://osrmroute.com/api/1/vrp?key=YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"vehicles":[{"vehicle_id":"v1","start":[49.85,40.37]}],"services":[{"id":10,"location":[49.86,40.40]}]}'

Other services

OSRMRoute Support

Talk directly to our team

HERE TO HELP

How can we help?

Send a message. Ticket replies are also sent to your verified email.

Your chats

Your chats will appear here.