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