The purpose of this guide is to provide an overview of the U.S. Census Bureau’s microdata application programming interface (API) and walk through how to make queries. Through this guide, you will learn what the microdata API is, when to use it, and how to use it to get raw data and custom statistics.
The API provides access to many different types of data, and the API Discovery Tool shows the complete list of datasets in the Census Data API.
When you visit the Discovery Tool, browse the column titled “Dataset Type” (see Figure 1). This will tell you whether an API dataset is:
This user guide describes how to use the microdata API. If the statistics you need are available through an aggregate or timeseries dataset, we recommend using those datasets instead of the microdata API. To learn how to use aggregate and timeseries datasets, please see the API User Guide.