- Home
- Products
Distance and routing APIs
Distance API
Send an origin and a destination, get back driving distance in meters and miles and an estimated drive time — computed on the actual road network, in milliseconds.
GET /v1/distanceDistance Matrix API
Pass a list of origins and destinations and get every road distance and drive time back in a single request — the building block for dispatch, delivery zones and nearest-driver matching.
POST /v1/matrixRouting API
Turn an origin, a destination and optional waypoints into a full driving route: total distance and time, per-leg breakdowns, turn-by-turn steps and a polyline or GeoJSON line to draw on your map.
GET or POST /v1/routeBatch Distance API
Send an ordered list of points — a rep’s check-ins, a driver’s stops — and get the road distance and drive time for every consecutive leg plus the totals, in one request.
POST /v1/distance/batchSnap to Roads API
Send a coordinate, get the nearest point on the drivable road network, the road name when available, and how far the original point was from the road.
GET /v1/nearestGoogle-compatible Distance Matrix API
Keep your existing Distance Matrix parsing code. Our /maps/api/distancematrix/json endpoint returns the same JSON structure, so migrating is mostly a base-URL and API-key change.
GET /maps/api/distancematrix/jsonGeocoding API
Send the text a user typed (a street, a neighborhood, a shop or a landmark) and get back ranked places with coordinates, a structured address and the administrative areas around it, ready to feed into distance and routing calls.
GET /v1/geocodeReverse Geocoding API
Send a lat,lng from a phone's GPS or a pin on a map and get the nearest address or place, plus the administrative areas that contain it. Label check-ins, deliveries and trips with names people understand.
GET /v1/reverse-geocodeStatic Maps API
Send a route polyline and your stops, get back a crisp PNG or WebP map: the road path, numbered markers and the OpenStreetMap credit, ready for reports, emails and app screens.
GET or POST /v1/staticmapRoute Optimization API
Send a start point and a list of stops. Wayline returns the visiting order with the least total drive time, plus the road distance and time of every leg, so a rep, technician or rider knows exactly where to go next.
POST /v1/optimize
Start building in minutes
Create an account, grab a test key and make your first request in under five minutes.