Census API: Examples for /data/2019/pep/population
Geography HierarchyGeography LevelExample URLNumber
31 examples
us010https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=us:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=us:1&key=YOUR_KEY_GOES_HERE
region020https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=region:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=region:1&key=YOUR_KEY_GOES_HERE
division030https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=division:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=division:1&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=state:01&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=county:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=county:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=county:001&in=state:01&key=YOUR_KEY_GOES_HERE
statecountycounty subdivision061https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=county%20subdivision:*&in=state:09%20county:001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=county%20subdivision:08070&in=state:09%20county:001&key=YOUR_KEY_GOES_HERE
statecountycounty subdivisionplace/balance (or part)071https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place/balance%20(or%20part):*&in=state:09%20county:001%20county%20subdivision:08070&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place/balance%20(or%20part):08000&in=state:09%20county:001%20county%20subdivision:08070&key=YOUR_KEY_GOES_HERE
statecountyplace/balance (or part)157https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place/balance%20(or%20part):*&in=state:01%20county:001&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place/balance%20(or%20part):03220&in=state:01%20county:001&key=YOUR_KEY_GOES_HERE
stateplace162https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place:00124&in=state:01&key=YOUR_KEY_GOES_HERE
stateconsolidated city170https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=consolidated%20city:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=consolidated%20city:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=consolidated%20city:47500&in=state:09&key=YOUR_KEY_GOES_HERE
stateconsolidated cityplace (or part)172https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place%20(or%20part):*&in=state:09%20consolidated%20city:47500&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=place%20(or%20part):47515&in=state:09%20consolidated%20city:47500&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical area310https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:10100&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical areametropolitan division314https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=metropolitan%20division:*&in=metropolitan%20statistical%20area/micropolitan%20statistical%20area:14460&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=metropolitan%20division:14454&in=metropolitan%20statistical%20area/micropolitan%20statistical%20area:14460&key=YOUR_KEY_GOES_HERE
combined statistical area330https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=combined%20statistical%20area:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2019/pep/population?get=NAME,POP&for=combined%20statistical%20area:104&key=YOUR_KEY_GOES_HERE