API Key

An API key must be used with all data queries made to the microdata API. The API key is a security measure that protects both the Census Bureau and data users. The key will be part of your data request URL string.

You can register for an API key, free of charge, by following these steps:

1.       Go to the Developers site

2.       Click on the Request a KEY box on the left side of the page.

3.       Fill out the pop-up window form. Make sure the email address you use to request the key has an extension of .com, .net, .org, .gov, or .edu.

4.       You will receive an email with your key code in the message and a link to register it.

 

Once you have a key, insert &key= followed by your key code at the end of your microdata API calls: &key=your key here

Page Last Revised - May 21, 2026