DeveloperAPI » Census API - By FIPS Code
Description
This API finds the geography of a specified geography type by geography id within the entire United States.
Latest data version released jun2012. Previous data versions include jun2011, dec2011.
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}/census/{geographyType}/fips/{geographyId}?format={format}&callback={functionName}
Sample Call
http://www.broadbandmap.gov/broadbandmap/census/state/fips/36?format=json
Required Parameters
geographyType:
specify one of the following geography types: state, county, tract, block, congdistrict, statehouse, statesenate, censusplace, msa, tribal, usf
geographyId
FIPS code (unique identifier)
Optional Parameters
format:
XML, JSON, JSONP (XML is default)
callback:
JSONP callback function name
{ "status":"OK", "responseTime":9, "message":[ ], "Results":{ "state":[ { "envelope":{ "minx":-79.76258999999997, "maxx":-71.77749099999998, "miny":40.477398999999984, "maxy":45.015864999999984 }, "geographyType":"STATE2010", "name":"New York", "fips":"36", "stateCode":"NY" } ] } }
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Response status="OK" responseTime="12"> <Results> <state> <envelope> <maxx>-71.77749099999998</maxx> <maxy>45.015864999999984</maxy> <minx>-79.76258999999997</minx> <miny>40.477398999999984</miny> </envelope> <geographyType>STATE2010</geographyType> <name>New York</name> <fips>36</fips> <stateCode>NY</stateCode> </state> </Results> </Response>