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 microdata application programming interface (API) is a data service that allows software developers to access and use Census Bureau microdata within their applications. The service allows users to request results for individual microdata records or create custom statistics.
Like any data from the API, the microdata API is an efficient way to query data directly from Census Bureau servers with many advantages:
Microdata Access on data.census.gov is a prime example of an interactive application powered by the microdata API. All the data in Microdata Access is being requested in real time from the microdata API and fed on your screen in a user-friendly way. This allows you to access the data by navigating an intuitive system rather than making requests directly to the microdata API, which is the focus of this guide. Please visit the Microdata Access Resources page if you would like to learn how to use Microdata Access on data.census.gov.
In comparison to bulk downloads of microdata from the file transfer protocol (FTP) sites, the microdata API and Microdata Access on data.census.gov provide unique benefits. They both allow you to: