Sign Up

Log In

boundaries-io

PAID
By VanitySoft
Updated 3 months ago
Location
9.3/10
Popularity Score
122ms
Latency
94%
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

Supercharge your App

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

Retrieve US GeoJson Boundaries
GETRetrieve US Zipcode Boundaries
GETQuery by Radius(in miles)
GETSearch Postal codes by a Bounding box
GETQuery by a FIPS
GETRetrieve US Zipcode Boundaries

Get US State,Zipcode, or City boundaries in GeoJson Formats. The MashAPI UI cannot handle large results(we default to 30 zipcode limit), this API is meant to be used programatically. Thanks. Copy & paste results: http://geojsonlint.com for a quick view.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
zipcodeNUMBER
OPTIONALQuery by zipcodes(e.g 20037,20002)
citySTRING
OPTIONALQuery by cities. for example 'Richmond"
stateSTRING
OPTIONALQuery by multiple states(for example "DC,VA"). please execute programmatically. the Mashape UI cannot handle the amount of zipcodes returned and will hang.
andBOOLEAN
OPTIONALPerform and "AND"(true), "OR"(false) query on request parameters...DEFAULT IS FALSE.
countySTRING
OPTIONALQuery by multiple counties. (for example 'Worcester County' use 'Worcester')
includepostalBOOLEAN
OPTIONALInclude postal or unique zipcode Points in the geoJson response.
limitSTRING
OPTIONALnumber of zipcode to include in the resulting geoJson. This is an optional parameter.
showDetailsBOOLEAN
OPTIONALShow County & State FIPS
showCenterBOOLEAN
OPTIONALCenter lat/long of each polygon that makes up zipcode.
combineBOOLEAN
OPTIONALCombine adjacent Zipcode boundaries.
Request Snippet
unirest.get("https://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary?zipcode=undefined&city=undefined&state=undefined&and=undefined&county=undefined&includepostal=undefined&limit=undefined&showDetails=undefined&showCenter=undefined&combine=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://vanitysoft-boundaries-io-v1.p.rapidapi.com/reaperfire/rest/v1/public/boundary?zipcode=undefined&city=undefined&state=undefined&and=undefined&county=undefined&includepostal=undefined&limit=undefined&showDetails=undefined&showCenter=undefined&combine=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
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