Sign Up

Log In

RedLine Zipcode

FREEMIUM
By redline
Updated 4 months ago
Location
9.4/10
Popularity Score
18ms
Latency
1%
Success Rate

RedLine Zipcode API Documentation

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.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

Distance
GETDistance Between Zip Codes
GETZip Codes within Radius
Location Info
GETZip Code to Location Information
GETLocation to Zip Code
GETState to Zip Codes
GETDistance Between Zip Codes

Determine the distance between two zip codes.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
zipcode1NUMBER
REQUIREDFirst zip code
unitsSTRING
REQUIREDDistance units: mile or km
zipcode2NUMBER
REQUIREDSecond zip code
Request Snippet
unirest.get("https://redline-redline-zipcode.p.rapidapi.com/rest/distance.json/{zipcode1}/{zipcode2}/{units}")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://redline-redline-zipcode.p.rapidapi.com/rest/distance.json/{zipcode1}/{zipcode2}/{units}")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard