DeveloperAPI » Demographics API - Nation
Description
This API allows the user to search for the demographic information for the whole nation.
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 and return demographic information for the Nation.
Review Data Dictionary
JSON XML
API Base
http://www.broadbandmap.gov/broadbandmap/
API Call
{API Base}/demographic/{dataVersion}/nation?format={format}&callback={functionName}
Sample Call
http://www.broadbandmap.gov/broadbandmap/demographic/jun2011/nation?format=json
Required Parameters
dataVersion:
specify the data version jun2011 (only)
latitude:
latitude of a point.
longitude:
longitude of a point.
Optional Parameters
format:
XML, JSON, JSONP (XML is default)
callback:
JSONP callback function name
{ "status":"OK", "responseTime":11, "message":[ ], "Results":[ { "geographyName":"NATIONAL", "landArea":3856162.93520000, "population":316673646, "households":134418705, "raceWhite":0.70820, "raceBlack":0.12410, "raceHispanic":0.10860, "raceAsian":0.04790, "raceNativeAmerican":0.00930, "incomeBelowPoverty":0.15880, "medianIncome":54838.35940, "incomeLessThan25":0.28620, "incomeBetween25to50":0.28990, "incomeBetween50to100":0.29970, "incomeBetween100to200":0.10050, "incomeGreater200":0.02360, "educationHighSchoolGraduate":0.79640, "educationBachelorOrGreater":0.24630, "ageUnder5":0.05290, "ageBetween5to19":0.20070, "ageBetween20to34":0.19460, "ageBetween35to59":0.33130, "ageGreaterThan60":0.22050, "myAreaIndicator":false } ] }
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Response status="OK" responseTime="12"> <Results myAreaIndicator="false"> <landArea>3856162.93520000</landArea> <population>316673646</population> <households>134418705</households> <raceWhite>0.70820</raceWhite> <raceBlack>0.12410</raceBlack> <raceHispanic>0.10860</raceHispanic> <raceAsian>0.04790</raceAsian> <raceNativeAmerican>0.00930</raceNativeAmerican> <incomeBelowPoverty>0.15880</incomeBelowPoverty> <medianIncome>54838.35940</medianIncome> <incomeLessThan25>0.28620</incomeLessThan25> <incomeBetween25to50>0.28990</incomeBetween25to50> <incomeBetween50to100>0.29970</incomeBetween50to100> <incomeBetween100to200>0.10050</incomeBetween100to200> <incomeGreater200>0.02360</incomeGreater200> <educationHighSchoolGraduate>0.79640</educationHighSchoolGraduate> <educationBachelorOrGreater>0.24630</educationBachelorOrGreater> <ageUnder5>0.05290</ageUnder5> <ageBetween5to19>0.20070</ageBetween5to19> <ageBetween20to34>0.19460</ageBetween20to34> <ageBetween35to59>0.33130</ageBetween35to59> <ageGreaterThan60>0.22050</ageGreaterThan60> <geographyName>NATIONAL</geographyName> </Results> </Response>