DeveloperAPI » Geography Lookup API - By Geography ID
Description
This API allows you to find a geography of a specified geography type by the geography id.
Please note: TimeSeries Fall2010 and Dec2010 are no longer available. Use /jun2011/
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 find a geography of a specified geography type by the geography id.
Review Data Dictionary
JSON XML
API Base
http://www.broadbandmap.gov/broadbandmap/
API Call
{API Base}/geography/{geographyType}/id/{geographyId}?format={format}&callback={functionName}
Sample Call
http://www.broadbandmap.gov/broadbandmap/geography/congdistrict/id/0111101?format=json
Required Parameters
geographyType:
specify either one of the following geography type: county, censusplace, msa, usf, statesenate, statehouse, congdistrict, tribalnation
geographyId:
specify the geography id to search for demographics.
Optional Parameters
format:
XML, JSON, JSONP (XML is default)
callback:
JSONP callback function name
{ "status":"OK", "responseTime":2, "message":[ ], "Results":[ { "geographyId":"0111101", "geographyName":"01", "stateFips":"01", "stateName":"Alabama", "stateAbbreviation":"AL" } ] }
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Response status="OK" responseTime="3"> <Results> <geographyId>0111101</geographyId> <geographyName>01</geographyName> <stateFips>01</stateFips> <stateName>Alabama</stateName> <stateAbbreviation>AL</stateAbbreviation> </Results> </Response>