RapidAPI logo

Sign Up

Log In

RedLine Zipcode

FREEMIUM
By redline
Updated 2 months ago
Location
9.4/10
Popularity Score
16ms
Latency
8%
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
GETMultiple Zip Codes to Location Information
POSTMultiple Zip Codes by Radius
Distance
GETDistance Between Zip Codes
GETZip Codes within Radius
Location Info
GETZip Code to Location Information
GETLocation to Zip Code
GETState to Zip Codes
GETMultiple Zip Codes to Location Information

Returns location information for multiple zip codes. This information includes city, state, latitude, longitude, and time zone information. It also contains a list of other acceptable city names for the locations. Each zip code provided will count as a separate request. For example, if you send 5 zip codes, you will be charged for 5 requests.

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-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
zipcodesSTRING
REQUIREDZip Codes (Comma separated) - 100 Max
unitsSTRING
REQUIREDUnits: degrees or radians
Request Snippet
unirest.get("https://redline-redline-zipcode.p.rapidapi.com/rest/multi-info.json/{zipcodes}/{units}")
.header("X-RapidAPI-Host", "undefined")
.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/multi-info.json/{zipcodes}/{units}")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication