Introduction
This integration leverages Mapbox's Directions API to calculate the distance and estimated travel duration between two specified locations. By utilizing Mapbox's mapping and navigation services, Clay users can efficiently obtain accurate route information. The integration supports various transportation modes and provides essential data for location-based decision-making and analysis within Clay's workflow.
Provider: https://mapbox.com
โAPI Documentation: https://docs.mapbox.com/api/navigation/directions/
Input
Name | Is Optional | Description | Type |
Starting Location | text | ||
Ending Location | text | ||
Mode of Transport | true | The mode of transportation to use when calculating the distance and duration between the two locations. Defaults to driving. | text |
Output
Name | Type |
Starting Point | object |
Ending Point | object |
Mode Of Transport | text |
Distance In Meters | number |
Distance In Miles | number |
Duration In Seconds | number |
Duration Formatted | text |