Census API: Examples for /data/2020/dec/pes

All data queries to the Census Data API now require an API key.
Please cut and paste the Example Calls 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
Geography HierarchyGeography LevelExample URLNumber
6 examples
us010https://api.census.gov/data/2020/dec/pes?get=NAME&for=us:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/pes?get=NAME&for=us:1&key=YOUR_KEY_GOES_HERE
region020https://api.census.gov/data/2020/dec/pes?get=NAME&for=region:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/pes?get=NAME&for=region:3&key=YOUR_KEY_GOES_HERE
state040https://api.census.gov/data/2020/dec/pes?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE
https://api.census.gov/data/2020/dec/pes?get=NAME&for=state:06&key=YOUR_KEY_GOES_HERE