Census API: Examples for /data/2020/dec/dhcmp
Geography HierarchyGeography LevelExample URLNumber
46 examples
state040https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=state:69&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county:120&in=state:69&key=YOUR_KEY_GOES_HERE
statecountycounty subdivision060https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20subdivision:*&in=state:69&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20subdivision:*&in=state:69&in=county:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20subdivision:14270&in=state:69%20county:120&key=YOUR_KEY_GOES_HERE
statecountycounty subdivisionplace/remainder (or part)070https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place/remainder%20(or%20part):*&in=state:69%20county:120%20county%20subdivision:14270&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place/remainder%20(or%20part):89300&in=state:69%20county:120%20county%20subdivision:14270&key=YOUR_KEY_GOES_HERE
statecountycounty subdivisionplace/remainder (or part)tract (or part)080https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=tract%20(or%20part):*&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=tract%20(or%20part):950202&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300&key=YOUR_KEY_GOES_HERE
statecountycounty subdivisionplace/remainder (or part)tract (or part)urban/rural085https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=urban/rural:*&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300%20tract%20(or%20part):950202&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=urban/rural:R&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300%20tract%20(or%20part):950202&key=YOUR_KEY_GOES_HERE
statecountycounty subdivisionplace/remainder (or part)tract (or part)block group (or part)urban/rural090https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=urban/rural:*&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300%20tract%20(or%20part):950202%20block%20group%20(or%20part):2&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=urban/rural:R&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300%20tract%20(or%20part):950202%20block%20group%20(or%20part):2&key=YOUR_KEY_GOES_HERE
statecountycounty subdivisionplace/remainder (or part)tract (or part)block group (or part)091https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block%20group%20(or%20part):*&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300%20tract%20(or%20part):950202&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block%20group%20(or%20part):2&in=state:69%20county:120%20county%20subdivision:14270%20place/remainder%20(or%20part):89300%20tract%20(or%20part):950202&key=YOUR_KEY_GOES_HERE
statecountytractblock100https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block:*&in=state:69%20county:120&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block:*&in=state:69&in=county:*&in=tract:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block:*&in=state:69&in=county:120&in=tract:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block:0003&in=state:69%20county:120%20tract:990000&key=YOUR_KEY_GOES_HERE
statecountytract140https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=tract:*&in=state:69&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=tract:*&in=state:69&in=county:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=tract:990000&in=state:69%20county:120&key=YOUR_KEY_GOES_HERE
statecountytractblock group150https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block%20group:*&in=state:69%20county:120&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block%20group:*&in=state:69&in=county:*&in=tract:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block%20group:*&in=state:69&in=county:120&in=tract:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=block%20group:0&in=state:69%20county:120%20tract:990000&key=YOUR_KEY_GOES_HERE
stateplacecounty (or part)155https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20(or%20part):*&in=state:69%20place:89300&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20(or%20part):120&in=state:69%20place:89300&key=YOUR_KEY_GOES_HERE
stateplace160https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place:89300&in=state:69&key=YOUR_KEY_GOES_HERE
stateurban area (or part)420https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=urban%20area%20(or%20part):*&in=state:69&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=urban%20area%20(or%20part):32506&in=state:69&key=YOUR_KEY_GOES_HERE
stateurban area (or part)county (or part)431https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20(or%20part):*&in=state:69%20urban%20area%20(or%20part):32506&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20(or%20part):110&in=state:69%20urban%20area%20(or%20part):32506&key=YOUR_KEY_GOES_HERE
stateurban area (or part)county (or part)county subdivision (or part)441https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20subdivision%20(or%20part):*&in=state:69%20urban%20area%20(or%20part):32506%20county%20(or%20part):110&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20subdivision%20(or%20part):14200&in=state:69%20urban%20area%20(or%20part):32506%20county%20(or%20part):110&key=YOUR_KEY_GOES_HERE
stateurban area (or part)county (or part)county subdivision (or part)place/remainder (or part)451https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place/remainder%20(or%20part):*&in=state:69%20urban%20area%20(or%20part):32506%20county%20(or%20part):110%20county%20subdivision%20(or%20part):14200&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=place/remainder%20(or%20part):59000&in=state:69%20urban%20area%20(or%20part):32506%20county%20(or%20part):110%20county%20subdivision%20(or%20part):14200&key=YOUR_KEY_GOES_HERE
statezip code tabulation area (or part)871https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=zip%20code%20tabulation%20area%20(or%20part):*&in=state:69&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=zip%20code%20tabulation%20area%20(or%20part):96952&in=state:69&key=YOUR_KEY_GOES_HERE
statezip code tabulation area (or part)county (or part)881https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20(or%20part):*&in=state:69%20zip%20code%20tabulation%20area%20(or%20part):96952&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/dhcmp?get=NAME&for=county%20(or%20part):120&in=state:69%20zip%20code%20tabulation%20area%20(or%20part):96952&key=YOUR_KEY_GOES_HERE