Go to example tasks

Optimize the order of delivery stops (route optimization)

A delivery round from Melbourne GPO via Werribee, Dandenong, Frankston, Ringwood, Sunbury and Craigieburn and back. The Actor picks the shortest visiting order, depot first and last, and returns optimizedOrder with the route and legs in that order. One route ($0.003) plus the place-name lookups.

Try for free
Directions, Routing & Distance Matrix API — no API key
Directions, Routing & Distance Matrix API — no API keydavidar/openstreetmap-directions-api
ID
Kind
Status
Profile
+8 fields
Text
Number
Boolean
List
Object

Input

Routes
id:melbourne-delivery-round
locations
profile:car
optimize:true
Turn-by-turn steps:none

Output fields

ID
Kind
Status
Profile
Distance (m)
Duration (s)
Tolls
Ferry
Line length (m)
Climb (m)
Descent (m)
Geocode query

How it works

Sign up on Apify01

Create your Apify account to access the Directions, Routing & Distance Matrix API — no API key.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay