Skip to main content

Routing APIs

Use Radar's routing APIs to calculate travel distances between origins and destinations.

Quickstart#

First, sign up for Radar and get an API key.

Then, call one of the routing APIs below, either directly or using the SDK.

From there, use the APIs to build location features in your app or website, such as store locators, address autocomplete, or delivery tracking.

Endpoints#

Distance#

Use the distance API to calculate the travel distance and duration between an origin and a destination. You can specify one or more travel modes, including foot, bike, and car.

Use cases for this endpoint include calculating the distance and duration of a trip from point A to point B, calculating the ETA for a pickup or delivery, or calculating the walking and driving distance to a nearby store.

See the distance API reference here.

Matrix#

Use the matrix API to calculate travel distances and durations between multiple origins and destinations.

Use cases for this endpoint include calculating the walking or driving distance to multiple nearby stores (e.g., in a store locator) or optimizing routes.

See the matrix API reference here.

Coverage#

Radar's routing APIs incorporate both open and commercial datasets for maximum coverage at an affordable price relative to alternatives.

The following table describes data coverage for routing APIs, by country, for consumer use cases (e.g., store locators) and logistics use cases (e.g., ride sharing, delivery).

Legend#

IconDescription
⬀Great data quality and availability
◐Good data quality and availability
β—―Approximate data quality and availability

Coverage#

Β Distance and matrix
πŸ‡ΊπŸ‡Έ US (consumer)⬀
πŸ‡ΊπŸ‡Έ US (logistics)⬀
πŸ‡¨πŸ‡¦ CA (consumer)⬀
πŸ‡¨πŸ‡¦ CA (logistics)⬀
πŸ‡¬πŸ‡§ UK (consumer)⬀
πŸ‡¬πŸ‡§ UK (logistics)⬀
🌎 Other (consumer)◐
🌎 Other (logistics)◐

Caching#

You can cache API responses for up to 30 days. For more information, see our terms of use here.

Report an issue#

The Radar team is constantly working to improve data coverage for our geocoding, search, and routing APIs. Bad response? Unexpected error? Report it here, and our team will fix it ASAP.

Support#

Have questions? We're here to help! Email us at support@radar.com.