API Reference
How to make requests against Distance API v2 endpoints
Last updated
How to make requests against Distance API v2 endpoints
Last updated
Follow the how to setup your and get your API credentials.
X-Billing-Token
<your API key>
200
Valid request and all locations or waypoints could be geocoded.
400
Invalid request with information about validation.
404
Valid request but not all locations or waypoints could be geocoded.
429
Load balancer rejected the request because too many request in parallel or your usage limits exceeded.
All distances are given in kilometers. To convert distances into miles, they must be multiplied by 0.621371. Maritime distances are also given in nautical miles.
The travel duration for car routing is given in seconds. For maritime routes, which are given in hours duration
is calculated with a speed of 20 knots. 20 knots = 20 NM / hour.