Mapbox Matrix API elements

The Mapbox Matrix API handles bulk requests of varying sizes so billing is tracked by the number of elements returned instead of requests made. For instance, one request from the Matrix API can be many different origin and destination pairs, so one request from the Matrix API is equal to the number of sources multiplied by the number of destinations (for example: 2 sources x 3 destinations equals 6 elements).

Read more about how the Mapbox Matrix API works on our comprehensive How Directions Works guide.

Was this page helpful?