Population
Description: Shows population statistics and demographic information for geographic locations.
API Response Structure:
{
"location": {
"name": "New York City",
"type": "City",
"country": "United States
},
"statistics": {
"currentPopulation": "8.4 million",
"lastCensus": "2020",
"growthRate": "0.8%",
"density": "27,012/sq mi",
"ranking": "Most populous city in the US"
},
"demographics": {
ageDistribution": {
"under18": "21%",
"18to65": "66%",
"over65": "13%"
}
},
"type": "instantAnswers",
"configType": "population"
}
Fields:
-
location
(object): Place information-
name
(string): Location name -
type
(string): Geographic type -
country
(string): Country name
-
-
statistics
(object): Population data-
currentPopulation
(string): Current population -
lastCensus
(string): Last census year -
growthRate
(string): Annual growth rate -
density
(string): Population density -
ranking
(string): Population ranking
-
-
demographics
(object): Demographic breakdown -
type
(string): Always "instantAnswers" -
configType
(string): Always "population"