Census API: Examples for /data/2021/acs/acs5/cprofile
Geography HierarchyGeography LevelExample URLNumber
15 examples
us010https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=us:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=us:1&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=state:06&key=YOUR_KEY_GOES_HERE
statecounty050https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=county:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=county:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=county:037&in=state:06&key=YOUR_KEY_GOES_HERE
stateplace160https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=place:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=place:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=place:51000&in=state:36&key=YOUR_KEY_GOES_HERE
metropolitan statistical area/micropolitan statistical area310https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=metropolitan%20statistical%20area/micropolitan%20statistical%20area:35620&key=YOUR_KEY_GOES_HERE
statecongressional district500https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=congressional%20district:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=congressional%20district:*&in=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2021/acs/acs5/cprofile?get=NAME,CP02_2021_001E&for=congressional%20district:00&in=state:30&key=YOUR_KEY_GOES_HERE