Mapbox Matrix API

The Mapbox Matrix API (formerly the Distance API) calculates travel times between many points in one API request. It’s an API designed specifically for building a distance table or matrix. It works worldwide and is available for the driving, cycling, and walking routing profiles.

The Mapbox Matrix API is available for all plan levels.