Census Microdata API

You can find it in the API Discovery Tool for your dataset.

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.

CFS
  • ACS 1-Year PUMS
  • ACS 5-Year PUMS
  • CPS ASEC
  • CPS
  • CFS
  • VIUS
  • SIPP

CFS

Commodity Flow Survey Public Use Microdata

2017 CFS Public Use Microdata: Destination of Shipments

  • Example Call: api.census.gov/data/2017/cfspum/cfspumdest?get=SHIPMT_ID,SHIPMT_VALUE,SHIPMT_WGHT,RECORD_TYPE,COMM,TEMP_CNTL_YN,EXPORT_YN,HAZMAT&for=state:42&DMODE=02&NAICS2012=311&key=YOUR_KEY_GOES_HERE
  • 2017 CFS Public Use Microdata: Destination of Shipments Variables, Examples, Supported Geography: api.census.gov/data/2017/cfspum/cfspumdest.html

2017 CFS Public Use Microdata: Origin of Shipments

  • Example Call: api.census.gov/data/2017/cfspum/cfspumorig?get=SHIPMT_ID,SHIPMT_VALUE,SHIPMT_WGHT,RECORD_TYPE,COMM,TEMP_CNTL_YN,EXPORT_YN,HAZMAT&for=state:09&DMODE=04&NAICS2012=311&key=YOUR_KEY_GOES_HERE
  • 2017 CFS Public Use Microdata: Origin of Shipments Variables, Examples, Supported Geography: api.census.gov/data/2017/cfspum/cfspumorig.html
Top of Section

2012 CFS Public Use Microdata: Destination of Shipments

  • Example Call: api.census.gov/data/2012/cfspum/cfspumdest?get=SHIPMT_ID,SHIPMT_VALUE,SHIPMT_WGHT,RECORD_TYPE,COMM,TEMP_CNTL_YN,EXPORT_YN,HAZMAT&for=state:01&NAICS2007=311&DMODE=02&key=YOUR_KEY_GOES_HERE
  • 2012 CFS Public Use Microdata: Destination of Shipments Variables [ html | xml | json ]
  • Examples
  • Supported Geography

2012 CFS Public Use Microdata: Origin of Shipments

  • Example Call: api.census.gov/data/2012/cfspum/cfspumorig?get=SHIPMT_ID,SHIPMT_VALUE,SHIPMT_WGHT,RECORD_TYPE,COMM,TEMP_CNTL_YN,EXPORT_YN,HAZMAT&for=state:01&NAICS2007=311&DMODE=05&key=YOUR_KEY_GOES_HERE
  • 2012 CFS Public Use Microdata: Origin of Shipments Variables [ html | xml | json ]
  • Examples
  • Supported Geography
Top of Section
Page Last Revised - May 20, 2026