The Distance Mapping Data API is a powerful solution designed to calculate and provide travel distances and durations between multiple starting points and destinations. It is an invaluable tool for users looking to integrate geographic data into their applications, enhancing decision-making in logistics, trip planning, and transportation services.
By using the Distance Mapping Data API, users can input various parameters, such as origin and destination addresses. The API processes these inputs and generates a structured response that includes essential details about the route between the specified locations. This output typically provides an array of origin and destination addresses, presenting route information clearly.
In conclusion, whether for personal use or within applications, the Distance Mapping Data API simplifies route planning and journey time estimation. Its comprehensive, structured results make it an essential resource for integrating geographic data into systems, enhancing functionality and overall user experience in today’s connected world.
{
"destination_addresses" :
[
"100 Universal City Plaza, Universal City, CA 91608, USA"
],
"origin_addresses" :
[
"Anaheim, CA 92802, USA"
],
"rows" :
[
{
"elements" :
[
{
"distance" :
{
"text" : "57.0 km",
"value" : 57035
},
"duration" :
{
"text" : "47 mins",
"value" : 2796
},
"status" : "OK"
}
]
}
],
"status" : "OK"
}
curl --location --request GET 'https://zylalabs.com/api/5451/distance+mapping+data+api/7075/get+distance?destinations=100 Universal City Plaza, Universal City, CA 91608, USA&origins=Anaheim, CA 92802, USA' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
To use this API users must indicate 2 locations to measure the distance.
The Distance Mapping Data API calculates and monitors the distance between two or more locations, providing real-time updates on travel time, distance covered, and estimated arrival, enhancing logistics and travel management.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
Receives origin and destination inputs and provides calculated distance, travel time, and status between specified locations efficiently.
Besides the number of API calls per month, there are no other limitations.
The API returns travel distance, duration, and status between specified origin and destination locations. It provides detailed route information, including the distance in both text and numeric formats, as well as estimated travel time.
Key fields in the response include "origin_addresses," "destination_addresses," "distance" (with "text" and "value"), "duration" (with "text" and "value"), and "status." These fields provide essential information about the route and travel metrics.
The response data is structured in a JSON format, with arrays for origin and destination addresses, and a "rows" array containing "elements" that detail distance and duration. This organization allows for easy parsing and access to specific data points.
The endpoint provides information on travel distance, estimated travel time, and the status of the route. It allows users to assess the feasibility of trips and plan logistics effectively.
Users must provide two parameters: the origin and destination locations. These can be specified as addresses or geographic coordinates, allowing for flexibility in input formats.
Users can extract distance and duration values to estimate travel times for logistics or trip planning. The structured response allows for integration into applications, enabling features like route optimization and travel time predictions.
The API sources its data from reliable geographic and mapping services, ensuring accurate distance and travel time calculations based on real-world conditions and routes.
Typical use cases include logistics planning, trip itinerary creation, delivery route optimization, and transportation service management, helping users make informed decisions based on travel metrics.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
173ms
Service Level:
100%
Response Time:
2,429ms
Service Level:
100%
Response Time:
17ms
Service Level:
100%
Response Time:
105ms
Service Level:
100%
Response Time:
3,869ms
Service Level:
100%
Response Time:
299ms
Service Level:
100%
Response Time:
219ms
Service Level:
100%
Response Time:
935ms
Service Level:
100%
Response Time:
546ms
Service Level:
100%
Response Time:
83ms