Developer

API » Geography Lookup API - By Geography Type And Geography Name


Description
This API returns geographies by name of a specific geography type.

Why We Provide It
We are providing this API to increase the value of the transparency of the National Broadband Map. With this API users can search for any US Census geography type and name and get back the list of those geographies with their Census codes.

Review Data Dictionary

JSON   XML

API Base
https://www.broadbandmap.gov/broadbandmap/

API Call
{API Base}/geography/{geographyType}/name/{geographyName}?maxresults={maxResults}&all={all}&format={format}&callback={functionName}

Sample Call
https://www.broadbandmap.gov/broadbandmap/geography/censusplace/name/sei?format=json

Required Parameters
geographyType:
specify either one of the following geography type: state, county, censusplace, msa, usf, statesenate, statehouse, congdistrict, tribalnation

geographyName:
specify the geography name with at least 3 leading characters

maxResults:
specify the maximum results to be returned. defaulted to 100.

all:
if true returns the complete set of results.

Optional Parameters
format:
XML, JSON, JSONP (XML is default)

callback:
JSONP callback function name

Response

JSON   XML

{
 "status":"OK",
 "responseTime":5,
 "message":[
  
 ],
 "Results":[
  {
   "geographyId":"0869040",
   "geographyName":"Seibert",
   "stateFips":"08"
  },
  {
   "geographyId":"4066250",
   "geographyName":"Seiling",
   "stateFips":"40"
  }
 ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Response status="OK" responseTime="4">
  <Results>
    <geographyId>0869040</geographyId>
    <geographyName>Seibert</geographyName>
    <stateFips>08</stateFips>
 </Results>
 <Results>
   <geographyId>4066250</geographyId>
   <geographyName>Seiling</geographyName>
   <stateFips>40</stateFips>
</Results>
</Response>




Back to Top

You are automatically leaving the National Broadband Map site press escape key to cancel

You're leaving the National Broadband Map Website

You are now leaving the National Broadband Map web site, and will be automatically forwarded to the following site:

%url%

This link is provided for informational purposes only. We do not endorse any other product or service, and are not responsible for the content of other websites, including their accuracy, completeness, or timeliness.