Data.gov Sites

Federal open data, one key

🔑 API key

Checking…

One free key from api.data.gov/signup works for every site above (1,000 calls an hour). The server checks a new key with api.data.gov before saving it, keeps it in data\datagov.db, and never sends it back to a browser — you only ever see its length and last four characters. Pasting the key that is already loaded just tells you so.

A plain text box on purpose, so the browser does not offer to store the key in its password manager.

🗄️ Cache & connection

Saved answers on this server, and a live test of every API from this machine.

Every answer is kept in data\datagov.db: weather alerts for 5 minutes, recalls for 6 hours, fuel stations a day, colleges a week, foods and school data a month, a past day’s space picture forever. When an API fails, the last saved copy is shown and labelled. A source that times out is left alone for 10 minutes so it cannot freeze the server.

 

Backed by apps\datagov (/datagov/api/). Data from the U.S. Department of Education and NCES, FDA, the National Laboratory of the Rockies (formerly NREL), USDA, NASA, USGS and the National Weather Service via their public APIs. Not endorsed by any of them.