Routific Engine API
The ultimate solution to your routing problems.
Whether you deliver groceries, route on-demand couriers, or pick up laundry — any Vehicle Routing Problem for that matter — we’ve got your back.
curl https://routific.com/demo.json | \
curl https://api.routific.com/v1/vrp \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI1MzEzZDZiYTNiMDBkMzA4MDA2ZTliOGEiLCJpYXQiOjEzOTM4MDkwODJ9.PR5qTHsqPogeIIe0NyH2oheaGR-SJXDsxPTcUQNq90E" \
-d @-Get our npm module on Github:
npm install routificThe following is an example on how to use the npm module:
var Routific = require("routific");
// Load the demo data. https://routific.com/demo.json
var data = require('./demo.json');
var demoToken = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiI1MzEzZDZiYTNiMDBkMzA4MDA2ZTliOGEiLCJpYXQiOjEzOTM4MDkwODJ9.PR5qTHsqPogeIIe0NyH2oheaGR-SJXDsxPTcUQNq90E";
var client = new Routific.Client({token: demoToken});
var vrp = new Routific.Vrp();
// Insert all visits from the demo.json
for (var visitID in data.visits) {
vrp.addVisit(visitID, data.visits[visitID]);
}
// Insert all vehicles from the demo.json
for (var vehicleID in data.fleet) {
vrp.addVehicle(vehicleID, data.fleet[vehicleID]);
}
// Process the route
client.route(vrp, function(error, solution) {
if (error) throw error
console.log(JSON.stringify(solution, null, 2));
});Get our gem on Github:
gem install routificThe following is an example on how to use the gem:
require 'routific'
require 'json'
# Fetch the demo data and parse it to JSON
file = File.read('demo.json')
data = JSON.parse(file)
# Set the Routific API token
Routific.setToken('YOUR_API_TOKEN')
# Get the route
route = Routific.getRoute(data)Built for Developers
No more manual routing!
Routific eliminates the headache of manually routing and scheduling your fleet. On top of that, our algorithms generate routes that can be up to 37% shorter so you can save fuel and spend less time on the road.
Easy to implement
The Routific Engine API allows you to use our proprietary algorithms in your application. Simply send a POST request with your data, and we will respond with the optimized schedule in JSON format.
Increase revenues
Serve more customers with your current fleet and grow your business with an exceptional delivery experience.

