Decennial Census (2020, 2010, 2000)

The following are available API datasets for Decennial Census.

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. For more information: Watch Video.

2020
  • 2020
  • 2010
  • 2000

2020

For more information on the 2020 Decennial data, please visit this Page or HERE.

Supplemental Demographic and Housing Characteristics File (S-DHC)

  • API Call: api.census.gov/data/2020/dec/sdhc
  • Example for data that has an assigned key inserted: 

api.census.gov/data/2020/dec/sdhc?get=NAME&for=state:*&key=YOUR_KEY_GOES_HERE

Detailed Demographic and Housing Characteristics File B (Detailed DHC-B)

  • API Call: api.census.gov/data/2020/dec/ddhcb
  • Example for data that has an assigned key inserted: 

api.census.gov/data/2020/dec/ddhcb?get=NAME,POPGROUP_LABEL&POPGROUP=1002&for=state:*&key=YOUR_KEY_GOES_HERE

Detailed Demographic and Housing Characteristics File A (Detailed DHC-A)

  • API Call: api.census.gov/data/2020/dec/ddhca
  • Example for data that has an assigned key inserted: 

api.census.gov/data/2020/dec/ddhca?get=NAME,POPGROUP_LABEL&POPGROUP=1002&for=state:*&key=YOUR_KEY_GOES_HERE

Demographic and Housing Characteristics File (DHC)

Demographic Profile

 

Redistricting Data (PL 94-171)

Decennial Post-Enumeration Survey

Island Areas Demographic and Housing Characteristics File (DHC)

  • API Call
    • American Samoa: api.census.gov/data/2020/dec/dhcas
    • Commonwealth of the Northern Mariana Islands: api.census.gov/data/2020/dec/dhcmp
    • Guam: api.census.gov/data/2020/dec/dhcgu
    • U.S. Virgin Islands: api.census.gov/data/2020/dec/dhcvi
  • Example for data that has an assigned key inserted: 

    api.census.gov/data/2020/dec/dhcas?get=NAME&for=county%20subdivision:*&in=state:60&in=county:*&key=YOUR_KEY_GOES_HERE

  • 2020 Island Areas Demographic and Housing Characteristics File API Variables
  • 2020 Island Areas Demographic and Housing Characteristics File Examples and Supported Geography

Island Areas Demographic Profile

  • API Call
    • American Samoa: api.census.gov/data/2020/dec/dpas
    • Commonwealth of the Northern Mariana Islands: api.census.gov/data/2020/dec/dpmp
    • Guam: api.census.gov/data/2020/dec/dpgu
    • U.S. Virgin Islands: api.census.gov/data/2020/dec/dpvi
  • Example for data that has an assigned key inserted: 

    api.census.gov/data/2020/dec/dpas?get=NAME&for=state:60&key=YOUR_KEY_GOES_HERE

  • 2020 Island Areas Demographic Profile API Variables
  • 2020 Island Areas Demographic Profile Examples and Supported Geography

Island Areas Detailed Crosstabulations

  • API Call
    • American Samoa: api.census.gov/data/2020/dec/crosstabas
    • Commonwealth of the Northern Mariana Islands: api.census.gov/data/2020/dec/crosstabmp
    • Guam: api.census.gov/data/2020/dec/crosstabgu
    • U.S. Virgin Islands: api.census.gov/data/2020/dec/crosstabvi
  • Example for data that has an assigned key inserted: 

    api.census.gov/data/2020/dec/crosstabas?get=NAME&for=state:60&key=YOUR_KEY_GOES_HERE

  • 2020 Island Areas Demographic Profile API Variables
  • 2020 Island Areas Demographic Profile Examples and Supported Geography

Congressional Districts

119th Congressional District Summary File
  • API Call: api.census.gov/data/2020/dec/cd119
  • Example for data that has an assigned key inserted: 

    api.census.gov/data/2020/dec/cd119?get=NAME&for=congressional%20district:*&in=state:*&key=YOUR_KEY_GOES_HERE

  • 2020 CD119 API Variables [ html | xml | json ]
  • 2020 CD119 Examples and Supported Geography
118th Congressional District Summary File
  • API Call: api.census.gov/data/2020/dec/cd118
  • Example for data that has an assigned key inserted: 

    api.census.gov/data/2020/dec/cd118?get=NAME&for=congressional%20district:*&in=state:*&key=YOUR_KEY_GOES_HERE

  • 2020 CD118 API Variables [ html | xml | json ]
  • 2020 CD118 Examples and Supported Geography

Related Information

Page Last Revised - May 20, 2026