boundaries-io

PAID
By VanitySoft
Updated 2 hours ago
Location
9.3/10
Popularity Score
257ms
Latency
54%
Success Rate

boundaries-io API Documentation

US Zipcode, County, City, and State Boundaries API:

A simple & very fast API that will allow you to integrate multiple GeoJson US boundaries results into your apps and systems.

This API is designed to be used programatically for optimal performance. When using the MashApe UI for queries expect significant latency issues on large result sets!

View API Details
GETQuery by Location
Retrieve US GeoJson Boundaries
GETRetrieve US Zipcode Boundaries
GETQuery by Radius(in miles)
GETSearch Postal codes by a Bounding box
GETQuery by a FIPS
Carrier Routes
GETQuery by multiple carrier routes and zipcodes
GETSearch Postal codes by a Bounding box

Search Postal codes by a Bounding box

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
north-eastNUMBER
REQUIREDnorth east coordinates example: north-east=40,-120
south-westNUMBER
REQUIREDsouth west coordinates example: south-west=41,-121
Optional Parameters
showDetailsBOOLEAN
OPTIONALShow State & County FIPS
Code Snippet
unirest.get("https://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary/boundingbox")
.header("X-RapidAPI-Host", "vanitysoft-boundaries-io-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary/boundingbox
Request Method: GET
Response Headers
Response Body

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://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary/boundingbox")
.header("X-RapidAPI-Host", "vanitysoft-boundaries-io-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication