Distance Calculator APIs# Distance APIs
## About distance APIs
Quickly calculate walking or driving distances between addresses, cities, airports, or zip codes with distance APIs.
## What is a distance API?
A distance calculator API is a service that provides calculations based on current and forecasted traffic conditions.
Reverse geocoding is a common feature of an API for distance calculating. Geocoding enables users to find an address's longitude and latitude to determine its precise location on a map.
## How does a distance API work?
The application programming interface (API) responds to GET requests to calculate distances and travel time. After a user makes a request, a response is returned in JavaScript Object Notation (JSON) format.
## Who is a distance API for?
The APIs are for new and experienced developers who want to use an API to get the distance between two addresses.
And businesses will find the geocoding feature of an API to calculate distance helpful for marketing purposes. For instance, if they have several locations and want to mail a coupon, they could determine which business address to print on each one. This way, the recipient can visit the nearest store location based on their residential address.
## Why is an API for calculating distances important?
The API distance between two addresses is more accurate than a search engine because typically, search engines do not check if an address is real. With an API to calculate distances, geocodes are generated only on valid addresses.
## What can you expect from distance APIs?
Developers and other API users can look forward to writing less code, discovering the shortest distance routes in real-time, and receiving accurate information from a distance calculator API.
Businesses can expect to find the fastest routes for product deliveries. They can also grow their brand when they strategically mail campaign advertisements to verified addresses.
## Are there examples of distance calculator APIs?
Distance by Distance.to is a freemium API subscription plan available on RapidAPI's Marketplace. The API to calculate distance offers a basic free plan with a monthly quota of 100 requests plus a penny per request. It features all access to geocoding, plus distances and durations for car and foot travel, and airline distance calculations.
Another plan developers may want to try on the RapidAPI Marketplace is Reverse Geocoding and Geolocation Service by Noggle. Users can locate the largest city or one that is closest to a GPS location. The totally free Basic plan comes with unlimited requests.
## Best Distance APIs
1. [Distance Calculator](https://rapidapi.com/ApiOcean/api/distance-calculator)
2. [Distance](https://rapidapi.com/Distance.to/api/distance)
3. [RedLine Zipcode](https://rapidapi.com/redline/api/redline-zipcode)
4. [GeoDB Cities](https://rapidapi.com/wirefreethought/api/geodb-cities)
5. [Reverse Geocoding](https://rapidapi.com/Noggle/api/reverse-geocoding-and-geolocation-service)
6. [Great Circle Mapper](https://rapidapi.com/marcusgoede/api/great-circle-mapper)
## Distance Calculator API SDKs
All distance calculator APIs are supported and made available in multiple developer programming languages and SDKs including:
1. Node.js
2. PHP
3. Python
4. Ruby
5. Objective-C
6. Java (Android)
7. C# (.NET)
8. cURL
Just select your preference from any API endpoints page.
[Sign up today for free on RapidAPI](https://rapidapi.com/signup) to begin using Distance Calculator APIs!
The Zip Code API provides the following functions: Distance Between Zip Code API - The API allows you to quickly and easily figure out the distance between zip codes.Zip Codes in Radius API - You can use this API to find all zip codes within a given radius from another zip code.Zip Code to City and State API and Zip Code to Latitude/Longitude API - The API can convert a zip code to the primary location for the zip code. This includes the city, state, latitude, and longitude for the primary location.City to Zip Code - This API looks up the Zip Code based on the City and State.
Find nearest or largest city information or timezone for any given point location (latitude/longitude). The reverse geocode API back "reverse" codes any GPS location point into nearest or largest readable places with county, city, distance and population. Provides distance information between two locations. Provides additional "Is-On-Water" check for any location.
The Time Zone API provides time offset data for locations on the surface of the earth. You request the time zone information for a specific latitude/longitude pair and date. The API returns the name of that time zone, the time offset from UTC, and the daylight savings offset.