Routing APIs

Directions API

Get the route between two or more locations, visited in the order you provide, with the distance, duration, and steps for each leg.

Radar dashboard’s map style editor, recoloring the water layer on a map of Lower Manhattan

Turn-by-turn routes through every stop

Up to 25 stops

Send between 2 and 25 locations, and get one route that visits them in order, broken into legs and steps.

Routes your way

Choose car, truck, foot, bike, or motorbike, and avoid tolls, highways, ferries, or border crossings.

Ready to draw

Get the route shape as a GeoJSON line or an encoded polyline, and add it to a Radar map with one call.

use cases

How teams use the directions API

Delivery

Draw the route on the map

Show customers the path their order will take, or show drivers the way to the next stop, using the route shape from the same response.

Avis car delivery screen with a route to JFK Terminal 1 curbside arrivals, 8 minutes away
A live trip across Williamsburg, Brooklyn with an 8-minute ETA and a dropoff progress tracker
Field teams

Step-by-step routes between jobs

Give drivers and technicians the legs and steps of a route through up to 25 stops, in the order you set.

Built to handle the scale of the world’s most demanding apps

500M+

installed devices

1,000+

installed apps

1B+

API requests per day

Trusted by forward-thinking product teams

“With Radar, we’re seeing more positive customer feedback on delivery accuracy and fewer situations where we can’t deliver. That success has given us more confidence to scale our localization and tracking experience.”

Leona Taylor

Leona Taylor

Director of Product for Digital Ordering Experience

“When a truck is running late and you don’t know where the driver is, geolocation eliminates the need to make that phone call. You know exactly where the driver is at any point during the lifecycle of the shipment.”

Billy Sarracino

Billy Sarracino

CEO

“Radar is the most accurate solution we’ve ever had. By working with them, we’ve avoided the need to build and maintain a geolocation platform in-house, saving us significant time and money.”

Chris O’Malley

Chris O’Malley

CTO

The Radar difference

The most accurate, real-time location data

Radar’s SDKs and APIs collect location, device, and sensor data across GPS, Wi-Fi, IP, and more, giving you the most accurate, real-time signals in the market.

Developer-friendly by design

Modern SDKs and APIs built for fast integration. Connect to your existing stack, integrate with just a few lines of code, and ship in a single sprint.

Enterprise-grade scale and support

1 billion API calls per day and installed on hundreds of millions of devices. SOC 2 and GDPR compliant, backed by a team of location experts who support you at every step.

Cost-effective, all-in-one

Proprietary infrastructure and economies of scale make Radar more cost-effective than legacy solutions or building in-house, so you get more location for less.

Frequently asked questions

What is a directions API?

A directions API calculates a route between locations along the road network and returns it step by step: the distance, the duration, and the instructions for each part of the journey.

What can I do with the directions API?

Draw a driver’s route on a map, show customers how to get to a store, give field workers turn-by-turn instructions between jobs, or calculate the total distance and time of a planned route.

Can Radar choose the best order for my stops?

The directions API visits stops in the order you provide. To let Radar choose the order, use the route optimization API.

Which travel modes are supported?

Car, truck, foot, bike, and motorbike. You can also ask routes to avoid tolls, highways, and ferries, and choose metric or imperial units.

How much does Radar’s directions API cost?

It’s part of Core Maps, which start at $0.50 per 1,000 API calls. Every Core Maps endpoint shares that rate: forward, reverse, and IP geocoding, address autocomplete, static maps, distance, directions, and matrix. Discounts grow with your commitment. See pricing for details.

Which other routing APIs does Radar offer?

Radar’s other routing pages cover the routing API, distance API, distance matrix API, route optimization API, route matching API, map matching API, snap to roads API, truck routing API, and vehicle routing API.

Routing is part of Radar’s maps platform, with geocoding, search, and base maps.

See how much further your maps budget can go