Location Proximity Analyzer API is a fundamental tool in geospatial computing that enables accurate calculation of the distance between two geographic coordinates on Earth. Combining advanced algorithms with seamless integration capabilities, this API supports a wide range of applications in navigation, logistics and location-based services.
In essence, the API addresses the challenge of measuring spatial separation. Accepting latitude and longitude as inputs, it calculates the distance between two points on the Earth's surface, providing an accurate metric of their physical separation. This functionality is essential for tasks such as route planning, proximity assessments and geospatial decision making.
Thanks to its easy integration, users can incorporate the API into routing systems, logistics platforms and any application that requires accurate distance measurements. Its versatility and reliability make it a valuable asset for leveraging location-based capabilities and improving operational efficiency.
As technological advances continue to drive innovation, the Location Proximity Analyzer API remains indispensable for location-based services. From optimizing navigation systems to supporting urban planning and logistics strategies, it provides accurate and actionable geospatial information, bridging the gap between geographic data and practical applications.
To use this endpoint you must indicate the latitude and longitude of 2 points in the parameters.
Distances - Endpoint Features
| Object | Description |
|---|---|
geolocation1 |
[Required] Indicate the latitude and longitude of the first point |
geolocation2 |
[Required] Indicate the latitude and longitude of the second point |
{"data":{"feet":12912553.741973763,"kilometers":3935.746254609723,"meters":3935746.254609723,"landMiles":2445.558585973098,"nauticalMiles":2125.1329532510513,"yards":4304171.4615037395}}
curl --location --request GET 'https://zylalabs.com/api/5438/location+proximity+analyzer+api/7059/distances?geolocation1=(40.7128,-74.0060)&geolocation2=(34.0522,-118.2437)' --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 the latitude and longitude of 2 points, to obtain the distance in various units of measurement.
The Location Proximity Analyzer API is a tool that calculates the precise distance between two sets of geographic coordinates, usually defined by latitude and longitude points.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The API returns distance measurements between two geographic points in various units, including feet, kilometers, meters, land miles, nautical miles, and yards.
The GET Distances endpoint returns distance measurements between two geographic points in multiple units, including feet, kilometers, meters, land miles, nautical miles, and yards.
The key fields in the response data include "feet," "kilometers," "meters," "landMiles," "nauticalMiles," and "yards," each representing the calculated distance in different units.
The response data is structured in a JSON format, with a "data" object containing various distance measurements as key-value pairs, allowing easy access to each unit of measurement.
The GET Distances endpoint requires two parameters: the latitude and longitude of the two geographic points. Users must provide these coordinates to calculate the distance.
Users can customize their requests by specifying different geographic coordinates for the two points. This allows for flexible distance calculations based on user-defined locations.
Typical use cases include route planning for navigation systems, logistics optimization for delivery services, and proximity assessments for location-based applications.
Data accuracy is maintained through the use of advanced algorithms that calculate distances based on the Earth's curvature, ensuring precise measurements between geographic coordinates.
Users can expect consistent data patterns in the response, with distances provided in all specified units. The values will vary based on the input coordinates, reflecting the actual spatial separation.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
285ms
Service Level:
100%
Response Time:
558ms
Service Level:
100%
Response Time:
77ms
Service Level:
100%
Response Time:
402ms
Service Level:
100%
Response Time:
216ms
Service Level:
100%
Response Time:
245ms
Service Level:
100%
Response Time:
39ms
Service Level:
100%
Response Time:
112ms
Service Level:
100%
Response Time:
2,224ms
Service Level:
100%
Response Time:
123ms
Service Level:
100%
Response Time:
1,309ms
Service Level:
100%
Response Time:
1,188ms
Service Level:
100%
Response Time:
165ms
Service Level:
100%
Response Time:
1,123ms
Service Level:
100%
Response Time:
429ms
Service Level:
100%
Response Time:
132ms
Service Level:
100%
Response Time:
5,233ms
Service Level:
100%
Response Time:
2,698ms
Service Level:
100%
Response Time:
595ms
Service Level:
100%
Response Time:
82ms