RapidAPI logo

boundaries-io

FREEMIUM
By VanitySoft
Updated 14 days ago
Location
9.1/10
Popularity Score
208ms
Latency
86%
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
GETQuery by Location

Search for a zipcode that intersect a location.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
latitudeNUMBER
REQUIREDlatitude
longitudeNUMBER
REQUIREDlongitude
Optional Parameters
showwithinpointSTRING
OPTIONALShow the location(lat,long) used as a GeoJsonPoint in results.
Code Snippet
unirest.get("https://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary/within?showwithinpoint=showWithinPoint")
.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/within
Request Method: GET
Response Headers
Response Body
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://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary/within?showwithinpoint=showWithinPoint")
.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