The following are available API datasets for Decennial Census.
All queries to the Census Data API now require an API key. Please cut and paste the API Calls, Example Calls, Variables, Examples, and Supported Geography below into your web browser and replace YOUR_KEY_GOES_HERE with your personal API Key.
If you do not have an API Key, request one here.
api.census.gov/data/2020/dec/sdhc?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/ddhcb?get=NAME,POPGROUP_LABEL&POPGROUP=1002&for=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/ddhca?get=NAME,POPGROUP_LABEL&POPGROUP=1002&for=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/dhc?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/dp?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/pl?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/pes?get=NAME&for=us:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/dhcas?get=NAME&for=county%20subdivision:*&in=state:60&in=county:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/dpas?get=NAME&for=state:60&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/crosstabas?get=NAME&for=state:60&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/cd119?get=NAME&for=congressional%20district:*&in=state:*&key=YOUR_KEY_GOES_HERE
api.census.gov/data/2020/dec/cd118?get=NAME&for=congressional%20district:*&in=state:*&key=YOUR_KEY_GOES_HERE